/PHP-8.0/ext/spl/tests/ |
H A D | bug53515.phpt | 14 ' array_key_exists: ' . (array_key_exists($key, $a) ? 'true' : 'false') . 20 a: 1 array_key_exists: true property_exists: true 21 b: 1 array_key_exists: true property_exists: true 22 c: 0 array_key_exists: true property_exists: true 23 d: null array_key_exists: true property_exists: true 24 e: array_key_exists: true property_exists: true 25 f: Array array_key_exists: true property_exists: true 26 z: array_key_exists: true property_exists: false 27 : array_key_exists: true property_exists: false
|
/PHP-8.0/ext/standard/tests/array/ |
H A D | array_key_exists_basic.phpt | 2 Test array_key_exists() function : basic functionality 6 * Test basic functionality of array_key_exists() 9 echo "*** Testing array_key_exists() : basic functionality ***\n"; 14 var_dump(array_key_exists($key1, $search)); 15 var_dump(array_key_exists($key2, $search)); 20 *** Testing array_key_exists() : basic functionality ***
|
H A D | array_key_exists_variation7.phpt | 2 Test array_key_exists() function : usage variations - position of internal array pointer 6 * Check the position of the internal array pointer after calling array_key_exists() 9 echo "*** Testing array_key_exists() : usage variations ***\n"; 13 echo "\n-- Call array_key_exists() --\n"; 14 var_dump($result = array_key_exists('one', $input)); 22 *** Testing array_key_exists() : usage variations *** 24 -- Call array_key_exists() --
|
H A D | array_key_exists_variation5.phpt | 2 Test array_key_exists() function : usage variations - multidimensional arrays 6 * Test how array_key_exists() behaves with multi-dimensional arrays 9 echo "*** Testing array_key_exists() : usage variations ***\n"; 17 var_dump(array_key_exists(0, $multi_array)); 20 var_dump(array_key_exists(0, $multi_array['sub1'])); 25 *** Testing array_key_exists() : usage variations ***
|
H A D | array_key_exists_variation4.phpt | 2 Test array_key_exists() function : usage variations - referenced variables 6 * Pass referenced variables as arguments to array_key_exists() to test behaviour 9 echo "*** Testing array_key_exists() : usage variations ***\n"; 15 var_dump(array_key_exists('one', $search)); 20 *** Testing array_key_exists() : usage variations ***
|
H A D | array_key_exists_variation3.phpt | 2 Test array_key_exists() function : usage variations - floats and casting to ints 10 echo "*** Testing array_key_exists() : usage variations ***\n"; 21 var_dump(array_key_exists($key, $search)); 26 var_dump(array_key_exists((int)$key, $search)); 32 *** Testing array_key_exists() : usage variations ***
|
H A D | bug20865.phpt | 2 Bug #20865 (array_key_exists and NULL key) 8 var_dump(array_key_exists(NULL, $ta));
|
H A D | array_key_exists_variation1.phpt | 2 Test array_key_exists() function : usage variations - Pass different data types as $key arg 6 * Pass different data types as $key argument to array_key_exists() to test behaviour 9 echo "*** Testing array_key_exists() : usage variations ***\n"; 83 // loop through each element of $inputs to check the behavior of array_key_exists() 88 var_dump( array_key_exists($input, $search) ); 100 *** Testing array_key_exists() : usage variations ***
|
H A D | array_key_exists_variation6.phpt | 2 Test array_key_exists() function : usage variations - equality test for certain data types 7 * and test whether array_key_exists(() thinks they are equal and therefore 11 echo "*** Testing array_key_exists() : usage variations ***\n"; 31 var_dump(array_key_exists($key, $search)); 40 *** Testing array_key_exists() : usage variations ***
|
H A D | array_key_exists.phpt | 2 Test array_key_exists() function 25 var_dump( array_key_exists($key, $search_array) ); 40 var_dump( array_key_exists($key, $search_array) ); 59 var_dump( array_key_exists($key, $search_array) ); 66 array_key_exists(array(), array()); 79 var_dump(array_key_exists("public_var", $key_check_obj)); 219 array_key_exists(): Argument #2 ($array) must be of type array, key_check given
|
/PHP-8.0/tests/lang/ |
H A D | bug24652.phpt | 8 var_dump(array_key_exists(7, $f)); 9 var_dump(array_key_exists('7', $f)); 15 var_dump(array_key_exists(7, $f)); 16 var_dump(array_key_exists('7', $f));
|
/PHP-8.0/Zend/tests/ |
H A D | bug73998.phpt | 2 Bug #73998 (array_key_exists fails on arrays created by get_object_vars) 12 var_dump(array_key_exists(1234, $properties));
|
H A D | bug71731.phpt | 10 return array_key_exists($name, $this->data); 14 if (!array_key_exists($name, $this->data)) {
|
H A D | bug71695.phpt | 6 var_dump(array_key_exists("foo", $GLOBALS));
|
H A D | bug71359.phpt | 9 return array_key_exists($name, $this->data); 13 if (!array_key_exists($name, $this->data)) {
|
/PHP-8.0/Zend/tests/nullsafe_operator/ |
H A D | 013.phpt | 36 dump_error(fn() => array_key_exists($foo?->foo(), [])); 37 dump_error(fn() => array_key_exists('foo', $foo?->foo())); 67 string(74) "array_key_exists(): Argument #2 ($array) must be of type array, null given"
|
/PHP-8.0/Zend/tests/type_declarations/ |
H A D | typed_properties_105.phpt | 14 var_dump(array_key_exists('c', $defaults));
|
/PHP-8.0/ext/gd/tests/ |
H A D | bug70047.phpt | 10 var_dump(array_key_exists('WebP Support', $info));
|
/PHP-8.0/ext/curl/tests/ |
H A D | bug46739.phpt | 17 echo (array_key_exists('content_type', $info)) ? "set" : "not set";
|
H A D | curl_version_basic_001.phpt | 20 var_dump(array_key_exists("protocols", $info_curl));
|
/PHP-8.0/tests/classes/ |
H A D | array_access_006.phpt | 14 return array_key_exists($this->realArray, $index);
|
H A D | array_access_007.phpt | 14 return array_key_exists($this->realArray, $index);
|
/PHP-8.0/ext/oci8/tests/ |
H A D | skipif.inc | 15 if (!array_key_exists($dbtype, $target_dbs) || $target_dbs[$dbtype] !== true)
|
/PHP-8.0/ext/standard/tests/general_functions/ |
H A D | get_defined_constants_basic.phpt | 19 if ($n2 == $n1 + 1 && array_key_exists("USER_CONSTANT", $arr2)) {
|
/PHP-8.0/ext/hash/tests/ |
H A D | mhash_002.phpt | 36 if (array_key_exists($name, $known_hash_al)) {
|