Home
last modified time | relevance | path

Searched refs:property (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/PHP-5.5/tests/lang/
H A DforeachLoopObjects.003.phpt137 string(16) "Added property 0"
138 string(16) "Added property 1"
139 string(16) "Added property 2"
140 string(16) "Added property 3"
141 string(16) "Added property 4"
142 string(16) "Added property 5"
143 string(16) "Added property 6"
144 string(16) "Added property 7"
187 string(16) "Added property 0"
188 string(16) "Added property 1"
[all …]
H A Dengine_assignExecutionOrder_001.phpt25 echo "\n\nOrder with object property assignment:\n";
30 echo "\n\nOrder with nested object property assignment:\n";
37 echo "\n\nOrder with dim_list property assignment:\n";
48 echo "\n\nOrder with static property assignment:\n";
52 echo "\n\nOrder with static array property assignment:\n";
92 Order with object property assignment:
101 Order with nested object property assignment:
116 Order with dim_list property assignment:
128 Order with static property assignment:
134 Order with static array property assignment:
[all …]
/PHP-5.5/Zend/tests/
H A Dbug37667.phpt8 protected $property = array('foo' => 'bar');
12 return $this->property;
18 var_dump($obj->property['foo']);
19 var_dump($obj->property[2]);
23 $obj->property[] = 1;
24 $obj->property[] = 2;
36 ["property":protected]=>
43 Notice: Indirect modification of overloaded property Test::$property has no effect in %sbug37667.ph…
45 Notice: Indirect modification of overloaded property Test::$property has no effect in %sbug37667.ph…
47 ["property":protected]=>
H A Dbug43201.phpt25 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
27 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
33 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
37 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
41 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
45 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
49 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
53 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
H A Dbug44660.phpt31 Notice: Trying to get property of non-object in %sbug44660.php on line 6
34 Warning: Attempt to assign property of non-object in %sbug44660.php on line 9
37 Warning: Attempt to increment/decrement property of non-object in %sbug44660.php on line 12
40 Warning: Attempt to modify property of non-object in %sbug44660.php on line 15
43 Warning: Attempt to modify property of non-object in %sbug44660.php on line 18
46 Warning: Attempt to modify property of non-object in %sbug44660.php on line 21
/PHP-5.5/ext/reflection/tests/
H A DReflectionProperty_getModifiers.001.phpt9 function reflectProperty($class, $property) {
10 $propInfo = new ReflectionProperty($class, $property);
13 echo "Reflecting on property $class::$property\n\n";
24 static public $stat = "static property";
26 * This property has a comment.
40 Reflecting on property TestClass::pub
47 Reflecting on property TestClass::stat
54 Reflecting on property TestClass::prot
61 Reflecting on property TestClass::priv
H A DReflectionProperty_getValue_error.phpt9 static public $stat = "static property";
30 echo "\nInstance without property:\n";
39 echo "\nProtected property:\n";
48 echo "\n\nInstance without property:\n";
69 Instance without property:
71 Static property / too many args:
72 string(15) "static property"
74 Static property / wrong type of arg:
75 string(15) "static property"
77 Protected property:
[all …]
H A DReflectionProperty_basic2.phpt9 function reflectProperty($class, $property) {
10 $propInfo = new ReflectionProperty($class, $property);
12 echo "Reflecting on property $class::$property\n\n";
26 static public $stat = "static property";
28 * This property has a comment.
42 Reflecting on property TestClass::pub
58 Reflecting on property TestClass::stat
74 Reflecting on property TestClass::prot
87 * This property has a comment.
92 Reflecting on property TestClass::priv
H A DReflectionProperty_isDefault_basic.phpt6 function reflectProperty($class, $property) {
7 $propInfo = new ReflectionProperty($class, $property);
9 echo "Reflecting on property $class::$property\n\n";
17 static public $stat = "static property";
34 Reflecting on property TestClass::pub
41 Reflecting on property TestClass::stat
48 Reflecting on property TestClass::prot
55 Reflecting on property TestClass::priv
H A DReflectionProperty_basic1.phpt6 function reflectProperty($class, $property) {
7 $propInfo = new ReflectionProperty($class, $property);
9 echo "Reflecting on property $class::$property\n\n";
13 var_dump(ReflectionProperty::export($class, $property, true));
15 var_dump(ReflectionProperty::export($class, $property, false));
39 static public $stat = "static property";
52 Reflecting on property TestClass::pub
81 Reflecting on property TestClass::stat
104 string(15) "static property"
110 Reflecting on property TestClass::prot
[all …]
H A DReflectionProperty_setValue_error.phpt9 static public $stat = "static property";
32 echo "\nStatic property / too many args:\n";
35 echo "\nStatic property / too few args:\n";
41 echo "\nStatic property / wrong type of arg:\n";
45 echo "\nProtected property:\n";
54 echo "\n\nInstance without property:\n";
78 Static property / too many args:
83 Static property / too few args:
91 Static property / wrong type of arg:
95 Protected property:
[all …]
H A DReflectionClass_hasProperty_basic.phpt11 //Check if C has public property publicFoo
14 //Check if C has protected property protectedFoo
17 //Check if C has private property privateFoo
20 //Check if C has static property staticFoo
23 //C should not have property bar
/PHP-5.5/ext/spl/tests/
H A Dbug45622.phpt7 public $p = 'object property';
13 echo "\n--> Access the real property:\n";
17 echo "\n--> Remove the real property and access the array element:\n";
27 echo "\n--> Re-add the real property:\n";
28 $ao->p = 'object property';
34 --> Access the real property:
36 %unicode|string%(15) "object property"
38 --> Remove the real property and access the array element:
48 --> Re-add the real property:
50 %unicode|string%(15) "object property"
H A DarrayObject_setFlags_basic1.phpt6 public $p = 'object property';
22 echo "\n--> Access the real property:\n";
25 echo "\n--> Remove the real property and access the array element:\n";
34 --> Access the real property:
36 string(15) "object property"
37 string(23) "object property.changed"
39 --> Remove the real property and access the array element:
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_class_mysqli_driver_reflection.phpt39 Inspecting property 'client_info'
47 Inspecting property 'client_version'
63 Inspecting property 'embedded'
71 Inspecting property 'reconnect'
79 Inspecting property 'report_mode'
86 Default property 'client_info'
87 Default property 'client_version'
88 Default property 'driver_version'
89 Default property 'embedded'
90 Default property 'reconnect'
[all …]
/PHP-5.5/tests/classes/
H A Dproperty_recreate_private.phpt21 echo "Unset and recreate a superclass's private property:\n";
27 echo "\nUnset superclass's private property, and recreate it as public in subclass:\n";
36 $d->p = 'this will create a public property';
40 echo "\n\nUnset and recreate a private property:\n";
54 Unset and recreate a superclass's private property:
60 Unset superclass's private property, and recreate it as public in subclass:
66 Unset superclass's private property, and recreate it as public at global scope:
69 %unicode|string%(34) "this will create a public property"
73 Unset and recreate a private property:
79 Unset a private property, and attempt to recreate at global scope (expecting failure):
[all …]
H A Dproperty_recreate_protected.phpt22 echo "Unset and recreate a protected property from property's declaring class scope:\n";
27 echo "\nUnset and recreate a protected property from subclass:\n";
33 echo "\nUnset a protected property, and attempt to recreate it outside of scope (expected failure):…
39 Unset and recreate a protected property from property's declaring class scope:
45 Unset and recreate a protected property from subclass:
51 Unset a protected property, and attempt to recreate it outside of scope (expected failure):
53 Fatal error: Cannot access protected property %s::$p in %s on line 32
H A Dassign_op_property_001.phpt2 ZE2 assign_op property of overloaded object
9 function __set($property, $value) {
10 if ($property == "a") {
15 function __get($property) {
16 if ($property == "a") {
H A Dincdec_property_001.phpt2 ZE2 post increment/decrement property of overloaded object
9 function __set($property, $value) {
10 if ($property == "a") {
15 function __get($property) {
16 if ($property == "a") {
H A Dincdec_property_003.phpt2 ZE2 pre increment/decrement property of overloaded object
9 function __set($property, $value) {
10 if ($property == "a") {
15 function __get($property) {
16 if ($property == "a") {
H A Dincdec_property_002.phpt2 ZE2 post increment/decrement property of overloaded object with assignment
9 function __set($property, $value) {
10 if ($property == "a") {
15 function __get($property) {
16 if ($property == "a") {
H A Dincdec_property_004.phpt2 ZE2 pre increment/decrement property of overloaded object with assignment
9 function __set($property, $value) {
10 if ($property == "a") {
15 function __get($property) {
16 if ($property == "a") {
H A Diterators_006.phpt50 foreach ($array as $property => $value) {
51 print "$property: $value\n";
63 foreach ($array as $property => $value) {
64 print "$property: $value\n";
69 foreach ($array as $property => $value) {
70 print "$property: $value\n";
H A Dimplicit_instantiation_001.phpt44 Notice: Undefined property: stdClass::$prop in %s on line 18
54 Notice: Undefined property: stdClass::$prop in %s on line 26
62 Notice: Undefined property: stdClass::$prop in %s on line 18
72 Notice: Undefined property: stdClass::$prop in %s on line 26
80 Notice: Undefined property: stdClass::$prop in %s on line 18
90 Notice: Undefined property: stdClass::$prop in %s on line 26
96 Warning: Attempt to %s property of non-object in %s on line 18
100 Warning: Attempt to assign property of non-object in %s on line 22
104 Warning: Attempt to assign property of non-object in %s on line 26
110 Warning: Attempt to %s property of non-object in %s on line 18
[all …]
H A Dstatic_properties_003.phpt2 Attempting to access static properties using instance property syntax
33 Strict Standards: Accessing static property C::$x as non static in %s on line 11
35 Strict Standards: Accessing static property C::$x as non static in %s on line 12
37 Notice: Undefined property: C::$x in %s on line 12
39 Strict Standards: Accessing static property C::$x as non static in %s on line 13
41 Strict Standards: Accessing static property C::$x as non static in %s on line 15
43 Strict Standards: Accessing static property C::$x as non static in %s on line 16

Completed in 50 milliseconds

12345678910>>...12