Home
last modified time | relevance | path

Searched refs:property_exists (Results 1 – 22 of 22) 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/bcmath/tests/number/
H A Dproperties_isset_empty_exists.phpt46 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 Dvirtual_properties2.phpt12 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 Ddate_period_is_property.phpt15 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 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.h227 ZEND_FRAMELESS_FUNCTION(property_exists, 2);
229 { ZEND_FRAMELESS_FUNCTION_NAME(property_exists, 2), 2 },
264 ZEND_FUNCTION(property_exists);
H A Dzend_builtin_functions.stub.php80 function property_exists($object_or_class, string $property): bool {} function
H A Dzend_builtin_functions.c1028 ZEND_FUNCTION(property_exists) in ZEND_FUNCTION() argument
1042 ZEND_FRAMELESS_FUNCTION(property_exists, 2)

Completed in 29 milliseconds