Lines Matching refs:property_exists
2 property_exists() tests
12 var_dump(property_exists("foo","pp1"));
13 var_dump(property_exists("foo","pp2"));
14 var_dump(property_exists("foo","pp3"));
20 var_dump(property_exists("foo","pp1"));
21 var_dump(property_exists("foo","pp2"));
22 var_dump(property_exists("foo","pp3"));
26 var_dump(property_exists("foo","pp1"));
27 var_dump(property_exists("foo","pp2"));
28 var_dump(property_exists("foo","pp3"));
29 var_dump(property_exists("foo","nonexistent"));
30 var_dump(property_exists("fo","nonexistent"));
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"));
40 var_dump(property_exists($foo,"nonexistent"));
41 var_dump(property_exists($foo,""));
44 var_dump(property_exists(array(), "test"));
49 var_dump(property_exists(1, "test"));
54 var_dump(property_exists(3.14, "test"));
59 var_dump(property_exists(true, "test"));
64 var_dump(property_exists(null, "test"));
89 property_exists(): Argument #1 ($object_or_class) must be of type object|string, array given
90 property_exists(): Argument #1 ($object_or_class) must be of type object|string, int given
91 property_exists(): Argument #1 ($object_or_class) must be of type object|string, float given
92 property_exists(): Argument #1 ($object_or_class) must be of type object|string, true given
93 property_exists(): Argument #1 ($object_or_class) must be of type object|string, null given