Test: /ext/ereg/tests/spliti_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 spliti() is deprecated in %s/spliti_basic_002.php on line 19
120+ array(1) {
112- array(4) {
116- string(5) " |1| "
118- string(5) " |2| "
122+ string(13) "a |1| a |2| a"
123+ }
124+
125+ --> Pattern: '[0-9][^0-9]'; match: '2a'
126+
127+ Deprecated: Function spliti() is deprecated in %s/spliti_basic_002.php on line 19
128+ array(6) {
129+ [0]=>
123- --> Pattern: '\a'; match: 'a'
126- array(4) {
130- string(5) " |1| "
132+ string(2) " |"
132- string(5) " |2| "
133- [3]=>
134- string(0) ""
134+ string(1) " "
136+ string(2) " |"
137+ [4]=>
138+ string(1) " "
139+ [5]=>
137- --> Pattern: '[0-9][^0-9]'; match: '2a'
142- string(0) ""
143+ --> Pattern: '^[[:alnum:]]{62,62}$'; match: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
144- string(2) " |"
146+ array(1) {
146- string(1) " "
148+ string(196) "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ |1| 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ |2| 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
149+ }
150+
151+ --> Pattern: '^[[:digit:]]{5}'; match: '0123456789'
152+
153+ Deprecated: Function spliti() is deprecated in %s/spliti_basic_002.php on line 19
154+ array(3) {
155+ [0]=>
148- string(2) " |"
150- string(1) " "
155- --> Pattern: '^[[:alnum:]]{62,62}$'; match: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
158+ string(0) ""
158- array(1) {
160+ string(30) " |1| 0123456789 |2| 0123456789"
160- string(196) "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ |1| 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ |2| 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
161- }
162-
163- --> Pattern: '^[[:digit:]]{5}'; match: '0123456789'
164-
165- Deprecated: Function spliti() is deprecated in %s on line %d
166- array(3) {
167- [0]=>
163+ --> Pattern: '[[:digit:]]{5}$'; match: '0123456789'
166+ array(2) {
167+ [0]=>
168+ string(35) "0123456789 |1| 0123456789 |2| 01234"
169+ [1]=>
170+ string(0) ""
171+ }
172+
173+ --> Pattern: '[[:blank:]]{1,10}'; match: '
174+ '
175+
176+ Deprecated: Function spliti() is deprecated in %s/spliti_basic_002.php on line 19
169- [1]=>
171- [2]=>
172- string(30) " |1| 0123456789 |2| 0123456789"
174-
179+ string(1) "
180+ "
182+ string(3) "|1|"
184+ string(1) "
185+ "
187+ string(3) "|2|"
189+ string(1) "
190+ "
195+ --> Pattern: '[[:print:]]{3}'; match: ' a '
198+ array(7) {
200+ string(0) ""
201+ [1]=>
203+ [2]=>
204+ string(0) ""
205+ [3]=>
206+ string(0) ""
207+ [4]=>
209+ [5]=>
210+ string(0) ""
211+ [6]=>
212+ string(1) " "
214+ Done
175- --> Pattern: '[[:digit:]]{5}$'; match: '0123456789'
176-
177- Deprecated: Function spliti() is deprecated in %s on line %d
178- array(2) {
179- [0]=>
180- string(35) "0123456789 |1| 0123456789 |2| 01234"
181- [1]=>
182- string(0) ""
183- }
184-
185- --> Pattern: '[[:blank:]]{1,10}'; match: '
186- '
187-
188- Deprecated: Function spliti() 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 spliti() 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