/php-src/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-src/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-src/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-src/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-src/ext/bcmath/tests/number/ |
H A D | properties_isset_empty_exists.phpt | 46 echo "========== property_exists ==========\n"; 49 'value' => property_exists($zero, 'value'), 50 'scale' => property_exists($zero, 'scale'), 53 'value' => property_exists($one, 'value'), 54 'scale' => property_exists($one, 'scale'), 57 'value' => property_exists($has_frac, 'value'), 58 'scale' => property_exists($has_frac, 'scale'), 113 ========== property_exists ==========
|
/php-src/ext/xmlreader/tests/ |
H A D | virtual_properties2.phpt | 12 var_dump(property_exists($reader, "attributeCount")); 16 var_dump(property_exists($reader, "baseURI")); 20 var_dump(property_exists($reader, "depth")); 24 var_dump(property_exists($reader, "hasAttributes")); 28 var_dump(property_exists($reader, "hasValue"));
|
/php-src/ext/date/tests/ |
H A D | date_period_is_property.phpt | 15 var_dump(property_exists($di, "start")); 19 var_dump(property_exists($di, "recurrences")); 23 var_dump(property_exists($di, "end")); 27 var_dump(property_exists($di, "my"));
|
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-src/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-src/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-src/Zend/ |
H A D | zend_builtin_functions_arginfo.h | 227 ZEND_FRAMELESS_FUNCTION(property_exists, 2); 229 { ZEND_FRAMELESS_FUNCTION_NAME(property_exists, 2), 2 }, 264 ZEND_FUNCTION(property_exists);
|
H A D | zend_builtin_functions.stub.php | 80 function property_exists($object_or_class, string $property): bool {} function
|
H A D | zend_builtin_functions.c | 1028 ZEND_FUNCTION(property_exists) in ZEND_FUNCTION() argument 1042 ZEND_FRAMELESS_FUNCTION(property_exists, 2)
|