Test: /ext/ereg/tests/split_basic_002.phpt - Version 5.6.19RC1    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
112+ array(1) {
113+ [0]=>
114+ string(52) "\`^.[$()|*+?{' |1| \`^.[$()|*+?{' |2| \`^.[$()|*+?{'"
115+ }
116+
117+ --> Pattern: '\a'; match: 'a'
118+
119+ Deprecated: Function split() is deprecated in %s/split_basic_002.php on line 19
123- --> Pattern: '\a'; match: 'a'
126- array(4) {
130- string(5) " |1| "
131+ --> Pattern: '[0-9][^0-9]'; match: '2a'
132- string(5) " |2| "
134+ array(6) {
137- --> Pattern: '[0-9][^0-9]'; match: '2a'
138+ string(2) " |"
140+ string(1) " "
140- array(6) {
142+ string(2) " |"
143+ [4]=>
144+ string(1) " "
145+ [5]=>
144- string(2) " |"
146- string(1) " "
147- [3]=>
148- string(2) " |"
149- [4]=>
150- string(1) " "
151- [5]=>
152- string(0) ""
149+ --> Pattern: '^[[:alnum:]]{62,62}$'; match: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
152+ array(1) {
154+ string(196) "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ |1| 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ |2| 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
155+ }
156+
157+ --> Pattern: '^[[:digit:]]{5}'; match: '0123456789'
158+
159+ Deprecated: Function split() is deprecated in %s/split_basic_002.php on line 19
160+ array(3) {
161+ [0]=>
155- --> Pattern: '^[[:alnum:]]{62,62}$'; match: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
158- array(1) {
160- string(196) "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ |1| 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ |2| 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
163- --> Pattern: '^[[:digit:]]{5}'; match: '0123456789'
164+ string(0) ""
166+ string(30) " |1| 0123456789 |2| 0123456789"
166- array(3) {
168- string(0) ""
169+ --> Pattern: '[[:digit:]]{5}$'; match: '0123456789'
171- [2]=>
172- string(30) " |1| 0123456789 |2| 0123456789"
172+ array(2) {
174+ string(35) "0123456789 |1| 0123456789 |2| 01234"
175+ [1]=>
176+ string(0) ""
175- --> Pattern: '[[:digit:]]{5}$'; match: '0123456789'
178- array(2) {
179+ --> Pattern: '[[:blank:]]{1,10}'; match: '
180+ '
180- string(35) "0123456789 |1| 0123456789 |2| 01234"
183+ array(6) {
184-
185+ string(1) "
186+ "
188+ string(3) "|1|"
189+ [2]=>
190+ string(1) "
191+ "
192+ [3]=>
193+ string(3) "|2|"
194+ [4]=>
195+ string(1) "
196+ "
197+ [5]=>
201+ --> Pattern: '[[:print:]]{3}'; match: ' a '
204+ array(7) {
206+ string(0) ""
209+ [2]=>
210+ string(0) ""
211+ [3]=>
212+ string(0) ""
213+ [4]=>
214+ string(0) ""
215+ [5]=>
216+ string(0) ""
217+ [6]=>
218+ string(1) " "
220+ Done
185- --> Pattern: '[[:blank:]]{1,10}'; match: '
186- '
187-
188- Deprecated: Function split() is deprecated in %s on line %d
189- array(6) {
190- [0]=>
191- string(1) "
192- "
193- [1]=>
194- string(3) "|1|"
195- [2]=>
196- string(1) "
197- "
198- [3]=>
199- string(3) "|2|"
200- [4]=>
201- string(1) "
202- "
203- [5]=>
204- string(0) ""
205- }
206-
207- --> Pattern: '[[:print:]]{3}'; match: ' a '
208-
209- Deprecated: Function split() is deprecated in %s on line %d
210- array(7) {
211- [0]=>
212- string(0) ""
213- [1]=>
214- string(0) ""
215- [2]=>
216- string(0) ""
217- [3]=>
218- string(0) ""
219- [4]=>
220- string(0) ""
221- [5]=>
222- string(0) ""
223- [6]=>
224- string(1) " "
225- }
226- Done