/PHP-7.4/ext/reflection/tests/ |
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
|
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 85 Reflecting on property TestClass::stat 112 string(15) "static property" 118 Reflecting on property TestClass::prot [all …]
|
H A D | ReflectionProperty_constructor_error.phpt | 19 echo "\n\nWrong property parameter type:\n"; 27 echo "\n\nNon-existent property:\n"; 40 Wrong property parameter type: 43 Non-existent property:
|
H A D | bug79683.phpt | 24 $property = $reflector->getProperty('prop2'); 25 $property->setAccessible(true); 26 $property->setValue($b, new A());
|
H A D | ReflectionProperty_typed_static.phpt | 2 ReflectionProperty::getValue() on typed static property 46 Typed static property Test::$y must not be accessed before initialization 48 Typed property Test::$y must be int, string used 50 Cannot assign string to reference held by property Test::$y of type int
|
/PHP-7.4/tests/classes/ |
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 | static_properties_003.phpt | 2 Attempting to access static properties using instance property syntax 33 Notice: Accessing static property C::$x as non static in %s on line 11 35 Notice: 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 Notice: Accessing static property C::$x as non static in %s on line 13 41 Notice: Accessing static property C::$x as non static in %s on line 15 43 Notice: Accessing static property C::$x as non static in %s on line 16
|
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 …]
|
H A D | clone_006.phpt | 36 Notice: Accessing static property MyCloneable::$id as non static in %s on line %d 38 Notice: Accessing static property MyCloneable::$id as non static in %s on line %d 41 Notice: Accessing static property MyCloneable::$id as non static in %s on line %d 43 Notice: Accessing static property MyCloneable::$id as non static in %s on line %d
|
/PHP-7.4/Zend/tests/type_declarations/ |
H A D | typed_properties_097.phpt | 42 // Do the same things again, but with the property being a reference. 75 Cannot decrement property Test::$foo of type int past its minimal value 77 Cannot decrement property Test::$foo of type int past its minimal value 79 Cannot increment property Test::$foo of type int past its maximal value 81 Cannot increment property Test::$foo of type int past its maximal value 83 Cannot decrement a reference held by property Test::$foo of type int past its minimal value 85 Cannot decrement a reference held by property Test::$foo of type int past its minimal value 87 Cannot increment a reference held by property Test::$foo of type int past its maximal value 89 Cannot increment a reference held by property Test::$foo of type int past its maximal value
|
H A D | typed_properties_068.phpt | 2 Test typed static property by ref 69 Cannot assign null to reference held by property Foo::$i of type int 72 Typed property Foo::$i must be int, null used 79 Typed property Foo::$i must be int, string used 82 Reference with value of type string held by property Foo::$s of type string is not compatible with … 85 Reference with value of type int held by property Foo::$i of type int is not compatible with proper…
|
H A D | typed_properties_062.phpt | 2 Typed property on by-ref property 67 Cannot assign string to reference held by property class@anonymous::$foo of type int 71 Cannot decrement a reference held by property class@anonymous::$foo of type int past its minimal va… 73 Cannot decrement a reference held by property class@anonymous::$foo of type int past its minimal va… 75 Cannot increment a reference held by property class@anonymous::$foo of type int past its maximal va… 77 Cannot increment a reference held by property class@anonymous::$foo of type int past its maximal va… 79 Cannot assign array to reference held by property class@anonymous::$foo of type int
|
H A D | typed_properties_063.phpt | 2 Typed property on by-ref variable 66 Cannot assign string to reference held by property class@anonymous::$foo of type int 70 Cannot decrement a reference held by property class@anonymous::$foo of type int past its minimal va… 72 Cannot decrement a reference held by property class@anonymous::$foo of type int past its minimal va… 74 Cannot increment a reference held by property class@anonymous::$foo of type int past its maximal va… 76 Cannot increment a reference held by property class@anonymous::$foo of type int past its maximal va… 78 Cannot assign array to reference held by property class@anonymous::$foo of type int
|
H A D | typed_properties_064.phpt | 2 Typed property on by-ref array value 66 Cannot assign string to reference held by property class@anonymous::$foo of type int 70 Cannot decrement a reference held by property class@anonymous::$foo of type int past its minimal va… 72 Cannot decrement a reference held by property class@anonymous::$foo of type int past its minimal va… 74 Cannot increment a reference held by property class@anonymous::$foo of type int past its maximal va… 76 Cannot increment a reference held by property class@anonymous::$foo of type int past its maximal va… 78 Cannot assign array to reference held by property class@anonymous::$foo of type int
|
H A D | typed_properties_044.phpt | 2 Test increment functions on typed property references 55 Cannot increment a reference held by property class@anonymous::$bar of type ?int past its maximal v… 56 Cannot increment a reference held by property class@anonymous::$bar of type ?int past its maximal v… 57 Cannot decrement a reference held by property class@anonymous::$bar of type ?int past its minimal v… 58 Cannot decrement a reference held by property class@anonymous::$bar of type ?int past its minimal v…
|
H A D | typed_properties_083.phpt | 63 string(71) "Cannot auto-initialize an array inside property Foo::$p of type ?string" 64 string(65) "Typed property Foo::$p must not be accessed before initialization" 65 string(71) "Cannot auto-initialize an array inside property Foo::$p of type ?string" 71 string(71) "Cannot auto-initialize an array inside property Foo::$s of type ?string" 72 string(72) "Typed static property Foo::$s must not be accessed before initialization" 77 string(91) "Cannot auto-initialize an array inside a reference held by property Foo::$p of type ?st… 79 string(91) "Cannot auto-initialize an array inside a reference held by property Foo::$p of type ?st…
|
/PHP-7.4/Zend/tests/ |
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…
|
H A D | int_static_prop_name.phpt | 2 Using an integer as a static property name 40 Access to undeclared static property: Foo::$42 41 Access to undeclared static property: Foo::$42 42 Access to undeclared static property: Foo::$42
|
H A D | bug78151.phpt | 12 $property = 'foo'; 14 $this->{$property} = &$array[$property];
|
H A D | temporary_cleaning_012.phpt | 8 self::$property = new self; 20 Access to undeclared static property: Foo::$property
|
H A D | bug30451.phpt | 8 protected static $property = TRUE; 23 var_dump(self::$property); 24 var_dump(parent::$property);
|
H A D | bug21888.phpt | 2 Bug #21888 (protected property and protected method of the same name) 7 protected $prot = "protected property\n"; 32 protected property
|
H A D | bug78810.phpt | 2 Bug #78810: RW fetches do not throw "uninitialized property" exception 24 Typed property Test::$i must not be accessed before initialization 25 Typed property Test::$i must not be accessed before initialization
|
H A D | bug63462.phpt | 2 …st script to verify that magic methods should be called only once when accessing an unset property. 55 Notice: Undefined property: Test::$nonExisting in %s on line %d 58 Notice: Undefined property: Test::$publicProperty in %s on line %d 61 Notice: Undefined property: Test::$protectedProperty in %s on line %d 64 Notice: Undefined property: Test::$privateProperty in %s on line %d
|
/PHP-7.4/ext/standard/tests/serialize/ |
H A D | typed_property_refs.phpt | 69 Typed property A::$a must be int, null used 70 Typed property B::$b must be int, null used 71 Typed property C::$b must be string, int used 72 Typed property C::$a must be int, string used 73 Reference with value of type int held by property D::$a of type int is not compatible with property…
|