Home
last modified time | relevance | path

Searched refs:property_exists (Results 1 – 21 of 21) sorted by relevance

/PHP-8.0/Zend/tests/
H A D011.phpt2 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 Dproperty_exists.phpt2 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 Dbug42211.phpt2 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 Dbug50810.phpt2 Bug #50810 (property_exists does not work for private)
17 return property_exists($this, 'foo');
31 return property_exists($this, 'bar');
H A Dbug50146.phpt2 Bug #50146 (property_exists: Closure object cannot have properties)
8 var_dump(property_exists($obj,'foo'));
H A Dbug77291.phpt10 return property_exists($this, $property);
15 if (property_exists($this, $property)) {
/PHP-8.0/ext/spl/tests/
H A Dbug53515.phpt2 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.0/ext/standard/tests/class_object/
H A Dproperty_exists_error.phpt2 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 Dproperty_exists_variation1.phpt2 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.0/ext/reflection/tests/
H A Dproperty_exists.phpt2 Reflection and property_exists()
87 var_dump(property_exists(25,'empty'));
91 var_dump(property_exists('',''));
92 var_dump(property_exists('A',''));
93 var_dump(property_exists('A','123'));
94 var_dump(property_exists('A','init'));
95 var_dump(property_exists('A','empty'));
96 var_dump(property_exists(new A, ''));
97 var_dump(property_exists(new A, '123'));
98 var_dump(property_exists(new A, 'init'));
[all …]
H A Dbug49719.phpt17 var_dump(property_exists('b', 'a'));
18 var_dump(property_exists($b, 'a'));
/PHP-8.0/ext/date/tests/
H A Dbug74852.phpt2 Bug #74852 property_exists returns true on unknown DateInterval property
7 var_dump(property_exists($interval,'abcde'));
H A Dbug69587.phpt9 var_dump(property_exists($interval, 'm'), isset($interval->m), empty($interval->m), empty($interval…
/PHP-8.0/Zend/tests/traits/
H A Dproperty002.phpt22 var_dump(property_exists('TraitsTest', 'hello'));
23 var_dump(property_exists('TraitsTest', 'world'));
H A Dproperty001.phpt29 var_dump(property_exists('TraitsTest', 'foo'));
30 var_dump(property_exists('TraitsTest2', 'foo'));
/PHP-8.0/ext/snmp/tests/
H A Dsnmp-object-properties.phpt42 var_dump(property_exists($session, "enum_print"));
50 var_dump(property_exists($session, $param));
55 var_dump(property_exists($session, $param));
/PHP-8.0/Zend/
H A Dzend_builtin_functions.stub.php54 function property_exists($object_or_class, string $property): bool {} function
H A Dzend_builtin_functions_arginfo.h237 ZEND_FUNCTION(property_exists);
297 ZEND_FE(property_exists, arginfo_property_exists)
H A Dzend_builtin_functions.c975 ZEND_FUNCTION(property_exists) in ZEND_FUNCTION() argument
/PHP-8.0/
H A DNEWS1262 . Fixed bug #79462 (method_exists and property_exists incoherent behavior).
H A DUPGRADING51 or property_exists() instead.

Completed in 94 milliseconds