Searched refs:property_exists (Results 1 – 19 of 19) sorted by relevance
/PHP-8.2/Zend/tests/ |
H A D | 011.phpt | 2 property_exists() tests 26 var_dump(property_exists("foo","pp1")); 27 var_dump(property_exists("foo","pp2")); 28 var_dump(property_exists("foo","pp3")); 31 var_dump(property_exists("foo","")); 32 var_dump(property_exists("","test")); 33 var_dump(property_exists("","")); 37 var_dump(property_exists($foo,"pp1")); 38 var_dump(property_exists($foo,"pp2")); 39 var_dump(property_exists($foo,"pp3")); [all …]
|
H A D | property_exists.phpt | 2 Testing property_exists() 9 var_dump(property_exists($a, "prot")); 10 var_dump(property_exists($a, "prot2")); 11 var_dump(property_exists($a, "prot3")); 13 var_dump(property_exists("A", "prot")); 14 var_dump(property_exists("A", "prot2")); 15 var_dump(property_exists("A", "prot3")); 20 var_dump(property_exists($a, "prot")); 21 var_dump(property_exists($a, "prot2")); 22 var_dump(property_exists($a, "prot3")); [all …]
|
H A D | bug42211.phpt | 2 Bug #42211 (property_exists() fails to find protected properties from a parent class) 7 var_dump(property_exists('B', 'publicBar')); 8 var_dump(property_exists('B', 'protectedBar')); 9 var_dump(property_exists('B', 'privateBar'));
|
H A D | bug50810.phpt | 2 Bug #50810 (property_exists does not work for private) 17 return property_exists($this, 'foo'); 31 return property_exists($this, 'bar');
|
H A D | bug50146.phpt | 2 Bug #50146 (property_exists: Closure object cannot have properties) 8 var_dump(property_exists($obj,'foo'));
|
H A D | bug77291.phpt | 10 return property_exists($this, $property); 15 if (property_exists($this, $property)) {
|
/PHP-8.2/ext/spl/tests/ |
H A D | bug53515.phpt | 2 Bug #53515 (property_exists incorrect on ArrayObject null and 0 values) 15 ' property_exists: ' . (property_exists($o, $key) ? 'true' : 'false'),"\n"; 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.2/ext/standard/tests/class_object/ |
H A D | property_exists_error.phpt | 2 Test property_exists() function : error conditions 5 echo "*** Testing property_exists() : error conditions ***\n"; 7 echo "\n-- Testing property_exists() function with incorrect arguments --\n"; 11 var_dump( property_exists(10, $property_name) ); 18 *** Testing property_exists() : error conditions *** 20 -- Testing property_exists() function with incorrect arguments -- 21 property_exists(): Argument #1 ($object_or_class) must be of type object|string, int given
|
H A D | property_exists_variation1.phpt | 2 Test property_exists() function : class auto loading 5 echo "*** Testing property_exists() : class auto loading ***\n"; 12 var_dump(property_exists("AutoTest", "bob")); 15 var_dump(property_exists("AutoTest", "foo")); 19 *** Testing property_exists() : class auto loading ***
|
/PHP-8.2/ext/reflection/tests/ |
H A D | property_exists.phpt | 2 Reflection and property_exists() 88 var_dump(property_exists(25,'empty')); 92 var_dump(property_exists('','')); 93 var_dump(property_exists('A','')); 94 var_dump(property_exists('A','123')); 95 var_dump(property_exists('A','init')); 96 var_dump(property_exists('A','empty')); 97 var_dump(property_exists(new A, '')); 98 var_dump(property_exists(new A, '123')); 99 var_dump(property_exists(new A, 'init')); [all …]
|
H A D | bug49719.phpt | 17 var_dump(property_exists('b', 'a')); 18 var_dump(property_exists($b, 'a'));
|
/PHP-8.2/ext/date/tests/ |
H A D | bug74852.phpt | 2 Bug #74852 property_exists returns true on unknown DateInterval property 7 var_dump(property_exists($interval,'abcde'));
|
H A D | bug69587.phpt | 9 var_dump(property_exists($interval, 'm'), isset($interval->m), empty($interval->m), empty($interval…
|
/PHP-8.2/Zend/tests/traits/ |
H A D | property002.phpt | 22 var_dump(property_exists('TraitsTest', 'hello')); 23 var_dump(property_exists('TraitsTest', 'world'));
|
H A D | property001.phpt | 29 var_dump(property_exists('TraitsTest', 'foo')); 30 var_dump(property_exists('TraitsTest2', 'foo'));
|
/PHP-8.2/ext/snmp/tests/ |
H A D | snmp-object-properties.phpt | 44 var_dump(property_exists($session, "enum_print")); 52 var_dump(property_exists($session, $param)); 57 var_dump(property_exists($session, $param));
|
/PHP-8.2/Zend/ |
H A D | zend_builtin_functions.stub.php | 72 function property_exists($object_or_class, string $property): bool {} function
|
H A D | zend_builtin_functions_arginfo.h | 243 ZEND_FUNCTION(property_exists); 304 ZEND_FE(property_exists, arginfo_property_exists)
|
H A D | zend_builtin_functions.c | 922 ZEND_FUNCTION(property_exists) in ZEND_FUNCTION() argument
|
Completed in 25 milliseconds