Home
last modified time | relevance | path

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

/php-src/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-src/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-src/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-src/ext/reflection/tests/
H A Dproperty_exists.phpt2 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 Dbug49719.phpt17 var_dump(property_exists('b', 'a'));
18 var_dump(property_exists($b, 'a'));
/php-src/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-src/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-src/ext/snmp/tests/
H A Dsnmp-object-properties.phpt44 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 Dzend_builtin_functions_arginfo.h221 ZEND_FRAMELESS_FUNCTION(property_exists, 2);
223 { ZEND_FRAMELESS_FUNCTION_NAME(property_exists, 2), 2 },
257 ZEND_FUNCTION(property_exists);
H A Dzend_builtin_functions.stub.php75 function property_exists($object_or_class, string $property): bool {} function
H A Dzend_builtin_functions.c976 ZEND_FUNCTION(property_exists) in ZEND_FUNCTION() argument
990 ZEND_FRAMELESS_FUNCTION(property_exists, 2)

Completed in 41 milliseconds