Home
last modified time | relevance | path

Searched refs:array (Results 51 – 75 of 6726) sorted by path

12345678910>>...270

/php-src/Zend/tests/
H A Darray_merge_recursive_next_key_overflow.phpt24 Cannot add element to the array as the next element is already occupied
25 Cannot add element to the array as the next element is already occupied
H A Darray_multisort_exception.phpt5 $array = [1 => new DateTime(), 0 => new DateTime()];
6 array_multisort($array, SORT_STRING);
H A Darray_offset.phpt14 Warning: Undefined array key -1 in %s on line %d
18 Warning: Undefined array key -1 in %s on line %d
20 Warning: Undefined array key -1 in %s on line %d
24 Warning: Undefined array key -1 in %s on line %d
H A Darray_offset_002.phpt2 Capturing array in user error handler during index conversion
17 array(0) {
H A Darray_splice_empty_ht_iter_removal.phpt2 HT iterator should be destroyed if array becomes empty during array_splice
H A Darray_unpack_string_keys.phpt2 Using array unpacking in an array literal that also has string keys (OSS-Fuzz #17965)
11 array(4) {
H A Darray_unshift_COW.phpt2 Tests that array unshift code is correctly dealing with copy on write and splitting on reference
5 $a=array();
13 array(1) {
H A Darray_with_refs_identical.phpt2 Identical comparison of array with references
H A Dassign_coalesce_001.phpt87 array(2) {
96 array(2) {
H A Dassign_coalesce_002.phpt77 array(0) {
H A Dassign_coalesce_006.phpt9 array(1) {
H A Dassign_coalesce_007.phpt10 array(1) {
H A Dassign_coalesce_008.phpt50 array(1) {
/php-src/Zend/tests/array_unpack/
H A Dalready_occupied.phpt2 Appending to an array via unpack may fail
31 Cannot add element to the array as the next element is already occupied
32 Cannot add element to the array as the next element is already occupied
33 Cannot add element to the array as the next element is already occupied
H A Dbasic.phpt2 Basic array unpacking
5 $array = [1, 2, 3];
25 var_dump([0, ...$array, ...$array, 'end']);
29 array(0) {
31 array(3) {
39 array(3) {
47 array(2) {
53 array(4) {
63 array(3) {
71 array(15) {
[all …]
H A Dclasses.phpt27 array(5) {
39 array(3) {
H A Dnon_integer_keys.phpt18 Exception: Keys must be of type int|string during array unpacking
H A Dref1.phpt7 $b = [&$a]; //array (0 => (refcount=2, is_ref=1)=1)
9 unset($a); //array (0 => (refcount=1, is_ref=1)=1)
11 var_dump([...$b]); //array (0 => (refcount=0, is_ref=0)=1)
15 array(1) {
H A Dstring_keys.phpt7 $array = [1, 2, "foo" => 3, 4];
8 var_dump([...$array]);
34 array(4) {
44 array(4) {
54 array(1) {
58 array(1) {
62 array(1) {
66 array(1) {
H A Dundef_var.phpt2 array unpacking with undefined variable
H A Dunpack_invalid_type_compile_time.phpt2 Unpacking non-array/Traversable detected at compile-time
H A Dunpack_string_keys_compile_time.phpt12 array(1) {
16 array(1) {
20 array(1) {
/php-src/Zend/tests/arrow_functions/
H A D006.phpt23 $varargs = fn(?int... $args): array => $args;
36 array(3) {
/php-src/Zend/tests/assert/
H A Dexpect_007.phpt9 $data = array(
H A Dexpect_015.phpt27 assert(0 && ($a = function &(array &$a, ?X $b = null) use ($c,&$d) : ?X {
76 assert(0 && ($a = function &(array &$a, X $b = null, int|float $c) use ($c,&$d) : X {
112 assert(0 && ($a = function &(?array &$a, X $b = null) use ($c,&$d) : X {
128 assert(0 && ($a = function &(array &...$a) {
190 assert(0 && ($a = function &(array &$a, ?X $b = null) use($c, &$d): ?X {
234 assert(0 && ($a = function &(array &$a, X $b = null, int|float $c) use($c, &$d): X {
273 assert(0 && ($a = function &(?array &$a, X $b = null) use($c, &$d): X {
285 assert(0 && ($a = function &(array &...$a) {

Completed in 31 milliseconds

12345678910>>...270