Home
last modified time | relevance | path

Searched refs:keys (Results 51 – 75 of 302) sorted by relevance

12345678910>>...13

/PHP-7.4/ext/standard/tests/array/
H A Darray_merge_variation6.phpt2 Test array_merge() function : usage variations - string keys
11 * Pass array_merge arrays with string keys to test behaviour.
17 //string keys
H A Darray_fill_keys_variation2.phpt5 /* Prototype : proto array array_fill_keys(array keys, mixed val)
6 …* Description: Create an array using the elements of the first parameter as keys each initialized …
33 echo "\n-- Testing array_fill_keys() function with reference keys --\n";
60 -- Testing array_fill_keys() function with reference keys --
H A Darray_diff_ukey_variation5.phpt6keys which are not present in any of the others arguments. User supplied function is used for comp…
H A Darray_merge_recursive_basic1.phpt2 Test array_merge_recursive() function : basic functionality - array with default keys
10 echo "*** Testing array_merge_recursive() : array with default keys ***\n";
33 *** Testing array_merge_recursive() : array with default keys ***
H A Darray_filter_variation10.phpt2 Test array_filter() function : usage variations - using the array keys inside 'callback'
11 * Using array keys as an argument to the 'callback'
14 echo "*** Testing array_filter() : usage variations - using array keys in 'callback' ***\n";
56 *** Testing array_filter() : usage variations - using array keys in 'callback' ***
H A Darray_rand_variation6.phpt6 * Description: Return key/keys for random entry/entries in the array
11 * Test behaviour of array_rand() when keys of the 'input' array is heredoc string
14 echo "*** Testing array_rand() : with keys of input array as heredoc strings ***\n";
70 \*\*\* Testing array_rand\(\) : with keys of input array as heredoc strings \*\*\*
H A Darray_chunk_basic1.phpt15 // array with default keys - numeric values
18 // array with default keys - string values
27 // array containing elements with/witout keys
H A Darray_unshift_variation4.phpt2 Test array_unshift() function : usage variations - assoc. array with diff. keys for 'array' argument
12 * associative arrays having different possible keys to $array argument.
16 echo "*** Testing array_unshift() : associative array with different keys ***\n";
47 // arrays with integer keys
52 // arrays with float keys
58 // arrays with string keys
68 // array with mixed keys
102 *** Testing array_unshift() : associative array with different keys ***
H A Darray_diff_assoc_variation4.phpt2 Test array_diff_assoc() function : usage variations - arrays with different data types as keys
7 * in any of the others arguments but do additional checks whether the keys are equal
13 * as keys
29 //Different data types as keys to be passed to $arr1 argument
H A Darray_intersect_assoc_variation3.phpt51 /*1*/ array(1, 2), // with default keys and numeric values
52 array(1.1, 2.2), // with default keys & float values
53 array(false,true), // with default keys and boolean values
61 /*9*/ array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values
62 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values
63 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values
74 // array with repetative keys
H A Darray_intersect_assoc_variation4.phpt60 /*1*/ array(1, 2), // array with default keys and numeric values
61 array(1.1, 1.2, 1.3), // array with default keys & float values
62 array(false,true), // array with default keys and boolean values
70 /*9*/ array(1 => "one", 2 => "two", 6 => "six"), // explicit numeric keys, string values
71 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values
72 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values
83 // array with repetative keys
H A Dshuffle_variation5.phpt55 // defining array with keys as heredoc strings
71 // test shuffle() with array containing heredoc strings as its keys
72 echo "\n-- with array having heredoc strings as keys --\n";
101 -- with array having heredoc strings as keys --
H A Darray_combine_variation5.phpt5 /* Prototype : array array_combine(array $keys, array $values)
6 * Description: Creates an array by using the elements of the first parameter as keys
13 * associative arrays having different possible values to $keys argument and
17 echo "*** Testing array_combine() : assoc array with diff values to both \$keys and \$values argume…
83 *** Testing array_combine() : assoc array with diff values to both $keys and $values argument ***
H A Darray_unique_variation2.phpt49 /*1*/ array(1, 2, 2, 1), // with default keys and numeric values
50 array(1.1, 2.2, 1.1), // with default keys & float values
51 array(false, true, false), // with default keys and boolean values
59 /*9*/ array(1 => "one", 2 => "two", 2 => "two"), // explicit numeric keys, string values
60 array("one" => 1, "two" => 2, "1" => 1 ), // string keys & numeric values
61 array( 1 => 10, 2 => 20, 4 => 40, 5 => 10), // explicit numeric keys and numeric values
H A Darray_intersect_variation3.phpt50 /*1*/ array(1, 2), // array with default keys and numeric values
51 array(1.1, 2.2), // array with default keys & float values
52 array(false,true), // array with default keys and boolean values
60 /*9*/ array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values
61 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values
62 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values
73 // array with repetative keys
H A Darray_intersect_variation4.phpt59 /*1*/ array(1, 2), // array with default keys and numeric values
60 array(1.1, 2.2), // array with default keys & float values
61 array(false,true), // array with default keys and boolean values
69 /*9*/ array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values
70 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values
71 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values
82 // array with repetative keys
H A Darray_merge_recursive_variation4.phpt2 Test array_merge_recursive() function : usage variations - associative array with different keys
12 * associative arrays having different keys to $arr1 argument.
15 echo "*** Testing array_merge_recursive() : assoc. array with diff. keys to \$arr1 argument ***\n";
39 /*1*/ // arrays with integer keys
43 // arrays with float keys
47 // arrays with string keys
81 *** Testing array_merge_recursive() : assoc. array with diff. keys to $arr1 argument ***
H A Darray_chunk_basic2.phpt15 // array with default keys - numeric values
18 // array with default keys - string values
27 // array containing elements with/without keys
H A Darray_multisort_basic2.phpt11 echo "*** Testing array_multisort() : basic functionality - renumbering of numeric keys ***\n";
24 *** Testing array_multisort() : basic functionality - renumbering of numeric keys ***
H A Dvar_export2.phpt2 var_export() and empty array keys
H A Darray_flip_basic.phpt12 // array with default keys - numeric values
16 // array with default keys - string values
/PHP-7.4/ext/spl/tests/
H A Dbug73209.phpt15 echo "Expect to see all keys in ->props here: \n";
23 Expect to see all keys in ->props here:
/PHP-7.4/ext/standard/tests/strings/
H A Dstr_replace_array_refs2.phpt5 $closure = function (array $array, array $keys, $value)
8 foreach ($keys as $key)
/PHP-7.4/Zend/tests/
H A Dbug69893.phpt2 Bug #69893: Strict comparison between integer and empty string keys crashes
/PHP-7.4/ext/sockets/
H A Dconversions.c73 zend_llist keys, member
81 zend_llist keys; member
140 zend_llist *keys, in do_from_to_zval_err() argument
235 zend_llist_remove_tail(&ctx->keys); in from_array_iterate()
270 zend_llist_remove_tail(&ctx->keys); in from_zval_write_aggregation()
302 zend_llist_remove_tail(&ctx->keys); in to_zval_read_aggregation()
729 zend_llist_remove_tail(&ctx->keys); in from_zval_write_sockaddr_aux()
962 zend_llist_remove_tail(&ctx->keys); in from_zval_write_control_array()
1037 zend_llist_remove_tail(&ctx->keys); in to_zval_read_control_array()
1485 zend_llist_destroy(&ctx.keys); in from_zval_run_conversions()
[all …]

Completed in 94 milliseconds

12345678910>>...13