/PHP-7.2/tests/lang/ |
H A D | foreachLoopObjects.003.phpt | 137 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 D | engine_assignExecutionOrder_001.phpt | 25 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"; 90 Order with object property assignment: 99 Order with nested object property assignment: 114 Order with dim_list property assignment: 126 Order with static property assignment: 132 Order with static array property assignment: [all …]
|
/PHP-7.2/Zend/tests/ |
H A D | bug37667.phpt | 8 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 D | bug75573.phpt | 13 function &__get($property) 15 if (isset($this->_stdObject->{$property})) { 16 $retval =& $this->_stdObject->{$property}; 22 function &__set($property, $value) 24 return $this->_stdObject->{$property} = $value; 38 function &__get($property) 40 if (isset($this->settings) && isset($this->settings[$property])) { 41 $retval =& $this->settings[$property]; 44 return parent::__get($property);
|
H A D | bug43201.phpt | 25 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…
|
/PHP-7.2/ext/reflection/tests/ |
H A D | ReflectionProperty_getModifiers.001.phpt | 9 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 D | ReflectionProperty_basic2.phpt | 8 function reflectProperty($class, $property) { 9 $propInfo = new ReflectionProperty($class, $property); 11 echo "Reflecting on property $class::$property\n\n"; 25 static public $stat = "static property"; 27 * This property has a comment. 41 Reflecting on property TestClass::pub 57 Reflecting on property TestClass::stat 73 Reflecting on property TestClass::prot 86 * This property has a comment. 91 Reflecting on property TestClass::priv
|
H A D | ReflectionProperty_isDefault_basic.phpt | 6 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 D | ReflectionProperty_getValue_error.phpt | 9 static public $stat = "static property"; 30 echo "\nInstance without property:\n"; 33 echo "\nStatic property / too many args:\n"; 36 echo "\nStatic property / wrong type of arg:\n"; 39 echo "\nProtected 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" [all …]
|
H A D | ReflectionProperty_basic1.phpt | 6 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 D | ReflectionProperty_setValue_error.phpt | 9 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 D | ReflectionClass_hasProperty_basic.phpt | 11 //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-7.2/ext/spl/tests/ |
H A D | bug45622.phpt | 7 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'; 33 --> Access the real property: 35 string(15) "object property" 37 --> Remove the real property and access the array element: 47 --> Re-add the real property: 49 string(15) "object property"
|
H A D | arrayObject_setFlags_basic1.phpt | 6 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-7.2/ext/mysqli/tests/ |
H A D | mysqli_class_mysqli_driver_reflection.phpt | 39 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-7.2/tests/classes/ |
H A D | property_recreate_private.phpt | 21 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 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 D | property_recreate_protected.phpt | 22 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: Uncaught Error: Cannot access protected property %s::$p in %s:32
|
H A D | assign_op_property_001.phpt | 2 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 D | incdec_property_001.phpt | 2 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 D | incdec_property_003.phpt | 2 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 D | incdec_property_002.phpt | 2 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 D | incdec_property_004.phpt | 2 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 D | iterators_006.phpt | 47 foreach ($array as $property => $value) { 48 print "$property: $value\n"; 60 foreach ($array as $property => $value) { 61 print "$property: $value\n"; 66 foreach ($array as $property => $value) { 67 print "$property: $value\n";
|
H A D | implicit_instantiation_001.phpt | 42 Notice: Undefined property: stdClass::$prop in %s on line 18 52 Notice: Undefined property: stdClass::$prop in %s on line 26 60 Notice: Undefined property: stdClass::$prop in %s on line 18 70 Notice: Undefined property: stdClass::$prop in %s on line 26 78 Notice: Undefined property: stdClass::$prop in %s on line 18 88 Notice: Undefined property: stdClass::$prop in %s on line 26 94 Warning: Attempt to %s property 'prop' of non-object in %s on line 18 98 Warning: Attempt to assign property 'prop' of non-object in %s on line 22 102 Warning: Attempt to assign property 'prop' of non-object in %s on line 26 108 Warning: Attempt to %s property 'prop' of non-object in %s on line 18 [all …]
|
/PHP-7.2/ext/standard/tests/strings/ |
H A D | str_replace_array_refs2.phpt | 17 $obj->prop = ['x' => 'property']; 19 var_dump(str_replace(array_keys($obj->prop), $obj->prop, "x property")); 21 $array = ['x' => 'property']; 23 var_dump(str_replace(array_keys($array), $array, "x property")); 25 string(10) "a property" 26 string(10) "a property"
|