Test: /ext/pcre/tests/bug70232.phpt - Version 7.2.19        

Bug #70232 Incorrect bump-along behavior with \K and empty string match
Submitted: 2015-08-11 04:57:15 Modified: 2015-08-13 11:29:28
From: nhahtdh Assigned: cmb
Status: Closed Package: PCRE related
PHP Version: 5.6.12 OS:

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
003+ array(0) {
004+ }
005+ }
006+ string(25) "123 a123 1234567 b123 123"
007+ array(1) {
008+ [0]=>
009+ string(25) "123 a123 1234567 b123 123"
010+ }
003- array(10) {
004- [0]=>
005- string(0) ""
006- [1]=>
007- string(0) ""
008- [2]=>
009- string(0) ""
010- [3]=>
011- string(0) ""
012- [4]=>
013- string(0) ""
014- [5]=>
015- string(0) ""
016- [6]=>
017- string(0) ""
018- [7]=>
019- string(0) ""
020- [8]=>
021- string(0) ""
022- [9]=>
023- string(0) ""
024- }
025- }
026- string(35) "1*2*3 a123 1*2*3*4*5*6*7 b123 1*2*3"
027- array(11) {
028- [0]=>
029- string(1) "1"
030- [1]=>
031- string(1) "2"
032- [2]=>
033- string(8) "3 a123 1"
034- [3]=>
035- string(1) "2"
036- [4]=>
037- string(1) "3"
038- [5]=>
039- string(1) "4"
040- [6]=>
041- string(1) "5"
042- [7]=>
043- string(1) "6"
044- [8]=>
045- string(8) "7 b123 1"
046- [9]=>
047- string(1) "2"
048- [10]=>
049- string(1) "3"
050- }