Home
last modified time | relevance | path

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

/PHP-5.5/Zend/tests/
H A D011.phpt2 property_exists() tests
12 var_dump(property_exists("foo","pp1"));
13 var_dump(property_exists("foo","pp2"));
14 var_dump(property_exists("foo","pp3"));
26 var_dump(property_exists());
27 var_dump(property_exists(""));
33 var_dump(property_exists("foo",""));
34 var_dump(property_exists("","test"));
35 var_dump(property_exists("",""));
43 var_dump(property_exists($foo,""));
[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'));
/PHP-5.5/ext/standard/tests/class_object/
H A Dproperty_exists_error.phpt2 Test property_exists() function : error conditions
5 /* Prototype : bool property_exists(mixed object_or_class, string property_name)
11 echo "*** Testing property_exists() : error conditions ***\n";
19 var_dump( property_exists($object_or_class, $property_name, $extra_arg) );
23 var_dump( property_exists($object_or_class) );
25 echo "\n-- Testing property_exists() function with incorrect arguments --\n";
26 var_dump( property_exists(10, $property_name) );
31 *** Testing property_exists() : error conditions ***
33 -- Testing property_exists() function with more than expected no. of arguments --
38 -- Testing property_exists() function with less than expected no. of arguments --
[all …]
H A Dproperty_exists_variation1.phpt2 Test property_exists() function : class auto loading
5 /* Prototype : bool property_exists(mixed object_or_class, string property_name)
11 echo "*** Testing property_exists() : class auto loading ***\n";
18 var_dump(property_exists("AutoTest", "bob"));
21 var_dump(property_exists("AutoTest", "foo"));
26 *** Testing property_exists() : class auto loading ***
/PHP-5.5/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-5.5/ext/reflection/tests/
H A Dproperty_exists.phpt2 Reflection and property_exists()
25 var_dump(property_exists($oc, $p2));
39 var_dump(property_exists($oc, $p2));
53 var_dump(property_exists($oc, $p2));
76 var_dump(property_exists($p1, $p2));
82 var_dump(property_exists(25,'empty'));
83 var_dump(property_exists('',''));
84 var_dump(property_exists('A',''));
85 var_dump(property_exists('A','123'));
86 var_dump(property_exists('A','init'));
[all …]
H A Dbug49719.phpt17 var_dump(property_exists('b', 'a'));
18 var_dump(property_exists($b, 'a'));
/PHP-5.5/Zend/tests/traits/
H A Dproperty002.phpt23 var_dump(property_exists('TraitsTest', 'hello'));
24 var_dump(property_exists('TraitsTest', 'world'));
H A Dproperty001.phpt32 var_dump(property_exists('TraitsTest', 'foo'));
33 var_dump(property_exists('TraitsTest2', 'foo'));
/PHP-5.5/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-5.5/Zend/
H A Dzend_builtin_functions.c50 static ZEND_FUNCTION(property_exists);
261 ZEND_FE(property_exists, arginfo_property_exists)
1169 ZEND_FUNCTION(property_exists) in ZEND_FUNCTION() argument
/PHP-5.5/
H A DNEWS4495 . Fixed bug #53515 (property_exists incorrect on ArrayObject null and 0
5131 - Fixed bug #50810 (property_exists does not work for private). (Felipe)
5357 property_exists). (Felipe)
5358 - Fixed bug #50146 (property_exists: Closure object cannot have properties).
5718 - Changed property_exists() to check the existence of a property independent of
6266 - Fixed bug #45743 (property_exists fails to find static protected member in
7259 - Fixed bug #42211 (property_exists() fails to find protected properties

Completed in 52 milliseconds