Home
last modified time | relevance | path

Searched refs:keys (Results 76 – 100 of 328) sorted by relevance

12345678910>>...14

/PHP-7.0/ext/standard/tests/array/
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_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_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_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_combine_variation2.phpt5 /* Prototype : array array_combine(array $keys, array $values)
6 * Description: Creates an array by using the elements of the first parameter as keys
14 * The $keys argument passed is a fixed array.
19 // Initialize $keys array
20 $keys = array(1, 2);
94 var_dump( array_combine($keys,$values) );
H A Darray_unshift_variation3.phpt22 /*1*/ array(1, 2), // array with default keys and numeric values
23 array(1.1, 2.2), // array with default keys & float values
25 array(false,true), // array with default keys and boolean values
31 /*8*/ array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values
32 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values
33 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values
44 // array with repetative 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 Dshuffle_basic1.phpt2 Test shuffle() function : basic functionality - array with default keys
11 * Test behaviour of shuffle when an array with default keys
17 echo "*** Testing shuffle() : with arrays having default keys ***\n";
54 *** Testing shuffle() : with arrays having default keys ***
H A Darray_flip_basic.phpt12 // array with default keys - numeric values
16 // array with default keys - string values
H A Darray_diff_assoc_variation8.phpt2 Test array_diff_assoc() function : usage variations - array containing duplicate keys and values
8 * the keys are equal
H A Darray_reverse_basic1.phpt23 var_dump( array_reverse($array, true) ); // expects the keys to be preserved
24 var_dump( array_reverse($array, false) ); // expects the keys not to be preserved
H A Darray_reverse_basic2.phpt23 var_dump( array_reverse($array, true) ); // expects the keys to be preserved
24 var_dump( array_reverse($array, false) ); // expects the keys not to be preserved
H A Dvar_export2.phpt2 var_export() and empty array keys
H A Darray_change_key_case_variation6.phpt6 * Description: Retuns an array with all string keys lowercased [or uppercased]
11 * Test how array_change_key_case() converts keys in multi-dimensional arrays
H A Dprev_basic.phpt27 echo "\n*** Testing an array with differing values/keys ***\n";
46 *** Testing an array with differing values/keys ***
H A Dbug25758.phpt2 Bug #25758 (var_export does not escape ' & \ inside array keys)
H A Darray_unshift_basic1.phpt2 Test array_unshift() function : basic functionality - array with default keys for 'array' argument
11 * Testing array_unshift() by giving array with default keys for $array argument
H A Darray_change_key_case_variation3.phpt2 Test array_change_key_case() function : usage variations - different data types as keys
6 * Description: Retuns an array with all string keys lowercased [or uppercased]
11 * Pass arrays with different data types as keys to array_change_key_case()
/PHP-7.0/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()
714 zend_llist_remove_tail(&ctx->keys); in from_zval_write_sockaddr_aux()
947 zend_llist_remove_tail(&ctx->keys); in from_zval_write_control_array()
1029 zend_llist_remove_tail(&ctx->keys); in to_zval_read_control_array()
1481 zend_llist_destroy(&ctx.keys); in from_zval_run_conversions()
[all …]
/PHP-7.0/Zend/tests/
H A Dbug69893.phpt2 Bug #69893: Strict comparison between integer and empty string keys crashes
/PHP-7.0/Zend/tests/generators/
H A Dyield_array_key.phpt2 Array keys can be yielded from generators
/PHP-7.0/tests/lang/
H A DforeachLoop.017.phpt2 Ensure foreach works with arrays with Binary keys.
/PHP-7.0/ext/intl/tests/
H A Dcollator_get_sort_key_variant6.phpt10 * Get sort keys using various locales
32 // Regular strings keys
/PHP-7.0/ext/wddx/tests/
H A Dbug34306.phpt2 #34306 (wddx_serialize_value() crashes with long array keys)

Completed in 48 milliseconds

12345678910>>...14