Home
last modified time | relevance | path

Searched refs:array_keys (Results 1 – 25 of 30) sorted by relevance

12

/PHP-5.3/ext/standard/tests/array/
H A Darray_keys_error.phpt2 Test array_keys() function (error conditions)
7 var_dump(array_keys(100));
8 var_dump(array_keys("string"));
9 var_dump(array_keys(new stdclass)); // object
10 var_dump(array_keys()); // Zero arguments
11 var_dump(array_keys(array(), "", TRUE, 100)); // args > expected
12 var_dump(array_keys(array(1,2,3, array() => array()))); // (W)illegal offset
18 Warning: array_keys() expects parameter 1 to be array, integer given in %s on line %d
21 Warning: array_keys() expects parameter 1 to be array, string given in %s on line %d
27 Warning: array_keys() expects at least 1 parameter, 0 given in %s on line %d
[all …]
H A Darray_keys_variation_002_64bit.phpt2 Test array_keys() function (variation - 2)
10 echo "\n*** Testing array_keys() on range of values ***\n";
20 var_dump(array_keys($arr_range));
22 echo "\n*** Testing array_keys() on an array created on the fly ***\n";
23 var_dump(array_keys(array("a" => 1, "b" => 2, "c" => 3)));
24 var_dump(array_keys(array())); // null array
29 *** Testing array_keys() on range of values ***
45 *** Testing array_keys() on an array created on the fly ***
H A Darray_keys_variation_002.phpt2 Test array_keys() function (variation - 2)
10 echo "\n*** Testing array_keys() on range of values ***\n";
20 var_dump(array_keys($arr_range));
22 echo "\n*** Testing array_keys() on an array created on the fly ***\n";
23 var_dump(array_keys(array("a" => 1, "b" => 2, "c" => 3)));
24 var_dump(array_keys(array())); // null array
29 *** Testing array_keys() on range of values ***
41 *** Testing array_keys() on an array created on the fly ***
H A Darray_keys_variation_005.phpt2 Test array_keys() function (variation - 5)
6 echo "\n*** Testing array_keys() with resource type ***\n";
13 var_dump(array_keys($arr_resource, $resource1)); // loose type checking
14 var_dump(array_keys($arr_resource, $resource1, TRUE)); // strict type checking
15 var_dump(array_keys($arr_resource, $resource2)); // loose type checking
16 var_dump(array_keys($arr_resource, $resource2, TRUE)); // strict type checking
24 *** Testing array_keys() with resource type ***
H A Darray_keys_basic.phpt2 Test array_keys() function (basic)
6 echo "*** Testing array_keys() on basic array operation ***\n";
9 var_dump(array_keys($basic_arr));
14 *** Testing array_keys() on basic array operation ***
H A Darray_keys_variation_004.phpt2 Test array_keys() function (variation - 4)
6 echo "*** Testing array_keys() on all the types other than arrays ***\n";
23 var_dump(array_keys($types_arr, $value, TRUE));
29 *** Testing array_keys() on all the types other than arrays ***
H A Darray_keys_variation_001.phpt2 Test array_keys() function (variation - 1)
6 echo "\n*** Testing array_keys() on various arrays ***";
23 /* loop through to test array_keys() with different arrays */
26 var_dump(array_keys($array));
33 *** Testing array_keys() on various arrays ***
H A Darray_keys_variation_003.phpt2 Test array_keys() function (variation - 3)
6 echo "*** Testing array_keys() on all the types other than arrays ***\n";
24 var_dump(array_keys($types_arr, $value));
30 *** Testing array_keys() on all the types other than arrays ***
H A Dbug24766.phpt11 $k = array_keys($a);
12 $l = array_keys($b);
/PHP-5.3/ext/date/tests/
H A Dbug51819.phpt10 foreach (array_keys($aTzAbbr) as $sKey) {
11 foreach (array_keys($aTzAbbr[$sKey]) as $iIndex) {
/PHP-5.3/Zend/tests/
H A Ddeclare_001.phpt5 if (in_array("detect_unicode", array_keys(ini_get_all()))) {
/PHP-5.3/Zend/tests/multibyte/
H A Dmultibyte_encoding_002.phpt5 if (!in_array("detect_unicode", array_keys(ini_get_all()))) {
H A Dmultibyte_encoding_004.phpt5 if (!in_array("detect_unicode", array_keys(ini_get_all()))) {
H A Dmultibyte_encoding_005.phpt5 if (!in_array("detect_unicode", array_keys(ini_get_all()))) {
H A Dmultibyte_encoding_001.phpt5 if (!in_array("detect_unicode", array_keys(ini_get_all()))) {
H A Dmultibyte_encoding_003.phpt5 if (!in_array("detect_unicode", array_keys(ini_get_all()))) {
H A Dmultibyte_encoding_006.phpt5 if (!in_array("detect_unicode", array_keys(ini_get_all()))) {
/PHP-5.3/ext/reflection/tests/
H A Dbug38132.phpt12 var_dump($properties, array_keys($properties));
H A D001.phpt73 $props = array_keys(get_class_vars('ReflectionClassEx'));
/PHP-5.3/ext/mysqli/tests/
H A Dmysqli_class_mysqli_driver_interface.phpt50 $variables = array_keys(get_class_vars(get_class($driver)));
56 $variables = array_keys(get_object_vars($driver));
H A Dmysqli_class_mysqli_stmt_interface.phpt72 $variables = array_keys(get_class_vars(get_class($stmt)));
78 $variables = array_keys(get_object_vars($stmt));
H A Dmysqli_class_mysqli_result_interface.phpt70 $variables = array_keys(get_class_vars(get_class($mysqli_result)));
76 $variables = array_keys(get_object_vars($mysqli_result));
/PHP-5.3/ext/standard/
H A Dphp_array.h71 PHP_FUNCTION(array_keys);
/PHP-5.3/ext/phar/phar/
H A Dclicommand.inc175 if (!in_array($arg, array_keys($cfg['select']))) {
176 …self::error("Parameter value '$arg' not one of '" . join("', '", array_keys($cfg['select'])) . "'.…
347 echo join(' ', array_keys($this->cmds)) . "\n";
/PHP-5.3/ext/mbstring/tests/
H A Dmb_get_info.phpt22 foreach (array_keys($result) as $key) {

Completed in 25 milliseconds

12