mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
fix tests
This commit is contained in:
parent
890b19a709
commit
12a2d02b99
3 changed files with 185 additions and 0 deletions
|
@ -144,3 +144,135 @@ array(1) {
|
||||||
string(1) "e"
|
string(1) "e"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
--UEXPECTF--
|
||||||
|
Warning: array_chunk(): Size parameter expected to be greater than 0 in %s on line %d
|
||||||
|
NULL
|
||||||
|
|
||||||
|
Warning: array_chunk(): Size parameter expected to be greater than 0 in %s on line %d
|
||||||
|
NULL
|
||||||
|
array(5) {
|
||||||
|
[0]=>
|
||||||
|
array(1) {
|
||||||
|
[0]=>
|
||||||
|
unicode(1) "a"
|
||||||
|
}
|
||||||
|
[1]=>
|
||||||
|
array(1) {
|
||||||
|
[0]=>
|
||||||
|
unicode(1) "b"
|
||||||
|
}
|
||||||
|
[2]=>
|
||||||
|
array(1) {
|
||||||
|
[0]=>
|
||||||
|
unicode(1) "c"
|
||||||
|
}
|
||||||
|
[3]=>
|
||||||
|
array(1) {
|
||||||
|
[0]=>
|
||||||
|
unicode(1) "d"
|
||||||
|
}
|
||||||
|
[4]=>
|
||||||
|
array(1) {
|
||||||
|
[0]=>
|
||||||
|
unicode(1) "e"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
array(5) {
|
||||||
|
[0]=>
|
||||||
|
array(1) {
|
||||||
|
[0]=>
|
||||||
|
unicode(1) "a"
|
||||||
|
}
|
||||||
|
[1]=>
|
||||||
|
array(1) {
|
||||||
|
[1]=>
|
||||||
|
unicode(1) "b"
|
||||||
|
}
|
||||||
|
[2]=>
|
||||||
|
array(1) {
|
||||||
|
[2]=>
|
||||||
|
unicode(1) "c"
|
||||||
|
}
|
||||||
|
[3]=>
|
||||||
|
array(1) {
|
||||||
|
[3]=>
|
||||||
|
unicode(1) "d"
|
||||||
|
}
|
||||||
|
[4]=>
|
||||||
|
array(1) {
|
||||||
|
[4]=>
|
||||||
|
unicode(1) "e"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
array(3) {
|
||||||
|
[0]=>
|
||||||
|
array(2) {
|
||||||
|
[0]=>
|
||||||
|
unicode(1) "a"
|
||||||
|
[1]=>
|
||||||
|
unicode(1) "b"
|
||||||
|
}
|
||||||
|
[1]=>
|
||||||
|
array(2) {
|
||||||
|
[0]=>
|
||||||
|
unicode(1) "c"
|
||||||
|
[1]=>
|
||||||
|
unicode(1) "d"
|
||||||
|
}
|
||||||
|
[2]=>
|
||||||
|
array(1) {
|
||||||
|
[0]=>
|
||||||
|
unicode(1) "e"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
array(3) {
|
||||||
|
[0]=>
|
||||||
|
array(2) {
|
||||||
|
[0]=>
|
||||||
|
unicode(1) "a"
|
||||||
|
[1]=>
|
||||||
|
unicode(1) "b"
|
||||||
|
}
|
||||||
|
[1]=>
|
||||||
|
array(2) {
|
||||||
|
[2]=>
|
||||||
|
unicode(1) "c"
|
||||||
|
[3]=>
|
||||||
|
unicode(1) "d"
|
||||||
|
}
|
||||||
|
[2]=>
|
||||||
|
array(1) {
|
||||||
|
[4]=>
|
||||||
|
unicode(1) "e"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
array(1) {
|
||||||
|
[0]=>
|
||||||
|
array(5) {
|
||||||
|
[0]=>
|
||||||
|
unicode(1) "a"
|
||||||
|
[1]=>
|
||||||
|
unicode(1) "b"
|
||||||
|
[2]=>
|
||||||
|
unicode(1) "c"
|
||||||
|
[3]=>
|
||||||
|
unicode(1) "d"
|
||||||
|
[4]=>
|
||||||
|
unicode(1) "e"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
array(1) {
|
||||||
|
[0]=>
|
||||||
|
array(5) {
|
||||||
|
[0]=>
|
||||||
|
unicode(1) "a"
|
||||||
|
[1]=>
|
||||||
|
unicode(1) "b"
|
||||||
|
[2]=>
|
||||||
|
unicode(1) "c"
|
||||||
|
[3]=>
|
||||||
|
unicode(1) "d"
|
||||||
|
[4]=>
|
||||||
|
unicode(1) "e"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -41,3 +41,27 @@ array(8) {
|
||||||
[0]=>
|
[0]=>
|
||||||
int(1)
|
int(1)
|
||||||
}
|
}
|
||||||
|
--UEXPECTF--
|
||||||
|
Warning: array_count_values(): Can only count STRING and INTEGER values! in %s on line %d
|
||||||
|
|
||||||
|
Warning: array_count_values(): Can only count STRING and INTEGER values! in %s on line %d
|
||||||
|
|
||||||
|
Warning: array_count_values(): Can only count STRING and INTEGER values! in %s on line %d
|
||||||
|
array(8) {
|
||||||
|
[1]=>
|
||||||
|
int(2)
|
||||||
|
[u"hello"]=>
|
||||||
|
int(2)
|
||||||
|
[u"world"]=>
|
||||||
|
int(1)
|
||||||
|
[u""]=>
|
||||||
|
int(1)
|
||||||
|
[u"rabbit"]=>
|
||||||
|
int(1)
|
||||||
|
[u"foo"]=>
|
||||||
|
int(1)
|
||||||
|
[u"Foo"]=>
|
||||||
|
int(1)
|
||||||
|
[0]=>
|
||||||
|
int(1)
|
||||||
|
}
|
||||||
|
|
|
@ -42,3 +42,32 @@ array(4) {
|
||||||
string(4) "blue"
|
string(4) "blue"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
--UEXPECTF--
|
||||||
|
array(4) {
|
||||||
|
[0]=>
|
||||||
|
array(2) {
|
||||||
|
[u"b"]=>
|
||||||
|
unicode(5) "brown"
|
||||||
|
[u"c"]=>
|
||||||
|
unicode(4) "blue"
|
||||||
|
}
|
||||||
|
[1]=>
|
||||||
|
array(2) {
|
||||||
|
[u"b"]=>
|
||||||
|
unicode(5) "brown"
|
||||||
|
[u"c"]=>
|
||||||
|
unicode(4) "blue"
|
||||||
|
}
|
||||||
|
[2]=>
|
||||||
|
array(1) {
|
||||||
|
[2]=>
|
||||||
|
bool(true)
|
||||||
|
}
|
||||||
|
[3]=>
|
||||||
|
array(2) {
|
||||||
|
[u"b"]=>
|
||||||
|
unicode(5) "brown"
|
||||||
|
[u"c"]=>
|
||||||
|
unicode(4) "blue"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue