/PHP-7.4/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
|
H A D | bug61347.phpt | 15 var_dump(array_key_exists('b', $b)); //true 33 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or p…
|
/PHP-7.4/ext/standard/tests/array/ |
H A D | array_key_exists_object2.phpt | 5 /* Prototype : bool array_key_exists(mixed $key, array $search) 15 echo "*** Testing array_key_exists() : object functionality ***\n"; 34 var_dump(array_key_exists('var1', $class1)); 36 var_dump(array_key_exists('var2', $class1)); 38 var_dump(array_key_exists('var3', $class1)); 45 var_dump(array_key_exists('var3', $class2)); 52 *** Testing array_key_exists() : object functionality *** 57 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or p… 61 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or p… 65 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or p… [all …]
|
H A D | array_key_exists.phpt | 2 Test array_key_exists() function 6 * bool array_key_exists ( mixed $key, array $search ); 33 var_dump( array_key_exists($key, $search_array) ); 73 var_dump( array_key_exists() ); 75 var_dump( array_key_exists(array(), array()) ); 77 var_dump( array_key_exists("", "") ); 79 var_dump( array_key_exists(1, 1) ); 81 var_dump( array_key_exists(1, NULL) ); 83 var_dump( array_key_exists(1, true) ); 85 var_dump( array_key_exists(false, true) ); [all …]
|
H A D | array_key_exists_basic.phpt | 2 Test array_key_exists() function : basic functionality 5 /* Prototype : bool array_key_exists(mixed $key, array $search) 12 * Test basic functionality of array_key_exists() 15 echo "*** Testing array_key_exists() : basic functionality ***\n"; 20 var_dump(array_key_exists($key1, $search)); 21 var_dump(array_key_exists($key2, $search)); 26 *** Testing array_key_exists() : basic functionality ***
|
H A D | array_key_exists_object1.phpt | 2 Test array_key_exists() function : object functionality 5 /* Prototype : bool array_key_exists(mixed $key, array $search) 12 * Test basic functionality of array_key_exists() with objects 15 echo "*** Testing array_key_exists() : object functionality ***\n"; 34 var_dump(array_key_exists('var1', $class1)); 36 var_dump(array_key_exists('var3', $class1)); 43 var_dump(array_key_exists('var3', $class2)); 50 *** Testing array_key_exists() : object functionality *** 55 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or p… 59 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or p… [all …]
|
H A D | array_key_exists_variation7.phpt | 2 Test array_key_exists() function : usage variations - position of internal array pointer 5 /* Prototype : bool array_key_exists(mixed $key, array $search) 12 * Check the position of the internal array pointer after calling array_key_exists() 15 echo "*** Testing array_key_exists() : usage variations ***\n"; 19 echo "\n-- Call array_key_exists() --\n"; 20 var_dump($result = array_key_exists('one', $input)); 28 *** Testing array_key_exists() : usage variations *** 30 -- Call array_key_exists() --
|
H A D | array_key_exists_variation5.phpt | 2 Test array_key_exists() function : usage variations - multidimensional arrays 5 /* Prototype : bool array_key_exists(mixed $key, array $search) 12 * Test how array_key_exists() behaves with multi-dimensional arrays 15 echo "*** Testing array_key_exists() : usage variations ***\n"; 23 var_dump(array_key_exists(0, $multi_array)); 26 var_dump(array_key_exists(0, $multi_array['sub1'])); 31 *** Testing array_key_exists() : usage variations ***
|
H A D | array_key_exists_variation4.phpt | 2 Test array_key_exists() function : usage variations - referenced variables 5 /* Prototype : bool array_key_exists(mixed $key, array $search) 12 * Pass referenced variables as arguments to array_key_exists() to test behaviour 15 echo "*** Testing array_key_exists() : usage variations ***\n"; 21 var_dump(array_key_exists('one', $search)); 26 *** Testing array_key_exists() : usage variations ***
|
H A D | array_key_exists_variation1.phpt | 2 Test array_key_exists() function : usage variations - Pass different data types as $key arg 5 /* Prototype : bool array_key_exists(mixed $key, array $search) 12 * Pass different data types as $key argument to array_key_exists() to test behaviour 15 echo "*** Testing array_key_exists() : usage variations ***\n"; 89 // loop through each element of $inputs to check the behavior of array_key_exists() 93 var_dump( array_key_exists($input, $search) ); 102 *** Testing array_key_exists() : usage variations *** 118 Warning: array_key_exists(): The first argument should be either a string or an integer in %s on li… 123 Warning: array_key_exists(): The first argument should be either a string or an integer in %s on li… 128 Warning: array_key_exists(): The first argument should be either a string or an integer in %s on li… [all …]
|
H A D | array_key_exists_variation3.phpt | 2 Test array_key_exists() function : usage variations - floats and casting to ints 5 /* Prototype : bool array_key_exists(mixed $key, array $search) 16 echo "*** Testing array_key_exists() : usage variations ***\n"; 26 var_dump(array_key_exists($key, $search)); 28 var_dump(array_key_exists((int)$key, $search)); 34 *** Testing array_key_exists() : usage variations *** 39 Warning: array_key_exists(): The first argument should be either a string or an integer in %s on li… 47 Warning: array_key_exists(): The first argument should be either a string or an integer in %s on li… 55 Warning: array_key_exists(): The first argument should be either a string or an integer in %s on li…
|
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_variation6.phpt | 2 Test array_key_exists() function : usage variations - equality test for certain data types 5 /* Prototype : bool array_key_exists(mixed $key, array $search) 13 * and test whether array_key_exists(() thinks they are equal and therefore 17 echo "*** Testing array_key_exists() : usage variations ***\n"; 37 var_dump(array_key_exists($key, $search)); 46 *** Testing array_key_exists() : usage variations ***
|
/PHP-7.4/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-7.4/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-7.4/Zend/tests/type_declarations/ |
H A D | typed_properties_105.phpt | 14 var_dump(array_key_exists('c', $defaults));
|
/PHP-7.4/ext/gd/tests/ |
H A D | bug70047.phpt | 10 var_dump(array_key_exists('WebP Support', $info));
|
/PHP-7.4/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-7.4/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-7.4/ext/oci8/tests/ |
H A D | skipif.inc | 15 if (!array_key_exists($dbtype, $target_dbs) || $target_dbs[$dbtype] !== true)
|