/php-src/ext/standard/tests/array/ |
H A D | array_merge_recursive_basic1.phpt | 2 Test array_merge_recursive() function : basic functionality - array with default keys 5 echo "*** Testing array_merge_recursive() : array with default keys ***\n"; 28 *** Testing array_merge_recursive() : array with default keys ***
|
H A D | array_chunk_basic1.phpt | 9 // array with default keys - numeric values 12 // array with default keys - string values 21 // array containing elements with/without keys
|
H A D | array_unshift_variation4.phpt | 2 Test array_unshift() function : usage variations - assoc. array with diff. keys for 'array' argument 7 * associative arrays having different possible keys to $array argument. 11 echo "*** Testing array_unshift() : associative array with different keys ***\n"; 42 // arrays with integer keys 47 // arrays with string keys 57 // array with mixed keys 91 *** Testing array_unshift() : associative array with different keys ***
|
H A D | array_intersect_assoc_variation3.phpt | 45 /*1*/ array(1, 2), // with default keys and numeric values 46 array(1.1, 2.2), // with default keys & float values 47 array(false,true), // with default keys and boolean values 55 /*9*/ array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values 56 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values 57 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values 68 // array with repetitive keys
|
H A D | shuffle_variation5.phpt | 50 // defining array with keys as heredoc strings 66 // test shuffle() with array containing heredoc strings as its keys 67 echo "\n-- with array having heredoc strings as keys --\n"; 96 -- with array having heredoc strings as keys --
|
H A D | array_multisort_basic2.phpt | 5 echo "*** Testing array_multisort() : basic functionality - renumbering of numeric keys ***\n"; 17 *** Testing array_multisort() : basic functionality - renumbering of numeric keys ***
|
H A D | array_unique_variation2.phpt | 44 /*1*/ array(1, 2, 2, 1), // with default keys and numeric values 45 array(1.1, 2.2, 1.1), // with default keys & float values 46 array(false, true, false), // with default keys and boolean values 54 /*9*/ array(1 => "one", 2 => "two", 2 => "two"), // explicit numeric keys, string values 55 array("one" => 1, "two" => 2, "1" => 1 ), // string keys & numeric values 56 array( 1 => 10, 2 => 20, 4 => 40, 5 => 10), // explicit numeric keys and numeric values
|
H A D | array_intersect_assoc_variation4.phpt | 54 /*1*/ array(1, 2), // array with default keys and numeric values 55 array(1.1, 1.2, 1.3), // array with default keys & float values 56 array(false,true), // array with default keys and boolean values 64 /*9*/ array(1 => "one", 2 => "two", 6 => "six"), // explicit numeric keys, string values 65 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values 66 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values 77 // array with repetitive keys
|
H A D | array_merge_recursive_variation4.phpt | 2 Test array_merge_recursive() function : usage variations - associative array with different keys 7 * associative arrays having different keys to $arr1 argument. 10 echo "*** Testing array_merge_recursive() : assoc. array with diff. keys to \$arr1 argument ***\n"; 34 /*1*/ // arrays with integer keys 38 // arrays with string keys 72 *** Testing array_merge_recursive() : assoc. array with diff. keys to $arr1 argument ***
|
H A D | array_chunk_basic2.phpt | 9 // array with default keys - numeric values 12 // array with default keys - string values 21 // array containing elements with/without keys
|
H A D | array_diff_assoc_variation4.phpt | 2 Test array_diff_assoc() function : usage variations - arrays with different data types as keys 7 * as keys 23 //Different data types as keys to be passed to $arr1 argument
|
H A D | array_intersect_variation3.phpt | 45 /*1*/ array(1, 2), // array with default keys and numeric values 46 array(1.1, 2.2), // array with default keys & float values 47 array(false,true), // array with default keys and boolean values 55 /*9*/ array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values 56 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values 57 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values 68 // array with repetitive keys
|
H A D | array_intersect_variation4.phpt | 54 /*1*/ array(1, 2), // array with default keys and numeric values 55 array(1.1, 2.2), // array with default keys & float values 56 array(false,true), // array with default keys and boolean values 64 /*9*/ array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values 65 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values 66 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values 77 // array with repetitive keys
|
H A D | array_reverse_basic2.phpt | 18 var_dump( array_reverse($array, true) ); // expects the keys to be preserved 19 var_dump( array_reverse($array, false) ); // expects the keys not to be preserved
|
H A D | array_rand_variation6.phpt | 6 * Test behaviour of array_rand() when keys of the 'input' array is heredoc string 9 echo "*** Testing array_rand() : with keys of input array as heredoc strings ***\n"; 65 \*\*\* Testing array_rand\(\) : with keys of input array as heredoc strings \*\*\*
|
H A D | array_reverse_basic1.phpt | 18 var_dump( array_reverse($array, true) ); // expects the keys to be preserved 19 var_dump( array_reverse($array, false) ); // expects the keys not to be preserved
|
H A D | prev_basic.phpt | 22 echo "\n*** Testing an array with differing values/keys ***\n"; 40 *** Testing an array with differing values/keys ***
|
H A D | array_flip_basic.phpt | 7 // array with default keys - numeric values 11 // array with default keys - string values
|
H A D | array_unshift_variation3.phpt | 17 /*1*/ array(1, 2), // array with default keys and numeric values 18 array(1.1, 2.2), // array with default keys & float values 20 array(false,true), // array with default keys and boolean values 26 /*8*/ array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values 27 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values 28 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values 39 // array with repetitive keys
|
/php-src/ext/spl/tests/ |
H A D | bug73209.phpt | 15 echo "Expect to see all keys in ->props here: \n"; 23 Expect to see all keys in ->props here:
|
/php-src/Zend/tests/ |
H A D | gh11222.phpt | 2 GH-11222: foreach by-ref may jump over keys during a rehash 16 // observe the iteration jumping from key 1 to key 6, skipping keys 2 and 3
|
/php-src/ext/standard/tests/strings/ |
H A D | str_replace_array_refs2.phpt | 5 $closure = function (array $array, array $keys, $value) 8 foreach ($keys as $key)
|
/php-src/ext/standard/tests/network/ |
H A D | setcookie_array_option_error.phpt | 10 // Unrecognized key and no valid keys 16 // Numeric key and no valid keys 65 setcookie(): option array cannot have numeric keys
|
/php-src/ext/dba/tests/ |
H A D | dba_array_keys_inifile.phpt | 2 DBA check behaviour of array keys (inifile version) 20 var_dump(dba_insert(['', ''], 'Empty keys', $db));
|
/php-src/ext/sockets/ |
H A D | conversions.c | 74 zend_llist keys, member 82 zend_llist keys; member 141 zend_llist *keys, in do_from_to_zval_err() argument 236 zend_llist_remove_tail(&ctx->keys); in from_array_iterate() 271 zend_llist_remove_tail(&ctx->keys); in from_zval_write_aggregation() 303 zend_llist_remove_tail(&ctx->keys); in to_zval_read_aggregation() 731 zend_llist_remove_tail(&ctx->keys); in from_zval_write_sockaddr_aux() 968 zend_llist_remove_tail(&ctx->keys); in from_zval_write_control_array() 1043 zend_llist_remove_tail(&ctx->keys); in to_zval_read_control_array() 1516 zend_llist_destroy(&ctx.keys); in from_zval_run_conversions() [all …]
|