Searched refs:prop2 (Results 1 – 22 of 22) sorted by relevance
/PHP-8.0/Zend/tests/type_declarations/union_types/ |
H A D | incdec_prop.phpt | 8 public int|bool $prop2; 57 $x = $test->prop2++; 64 $x = ++$test->prop2; 71 $x = $test->prop2--; 78 $x = --$test->prop2; 85 $r =& $test->prop2; 86 $x = $test->prop2++; 93 $r =& $test->prop2; 94 $x = ++$test->prop2; 101 $r =& $test->prop2; [all …]
|
H A D | inheritance.phpt | 10 private A|B|int $prop2; 21 private A|B|int $prop2; 39 private A|B|int $prop2;
|
/PHP-8.0/Zend/tests/type_declarations/ |
H A D | typed_properties_096.phpt | 8 public int $prop2; 12 $test->prop2 = 123; 13 $ref =& $test->prop2; 23 public ?int $prop2; 27 $test->prop2 = null; 28 $ref =& $test->prop2; 38 ["prop2"]=> 44 ["prop2"]=>
|
H A D | typed_properties_076.phpt | 22 function invalid(Test $test, string $prop1, string $prop2, $value) { 24 $test->$prop2 = $value; 25 $test->$prop1 =& $test->$prop2; 26 echo "Invalid assignment $prop1 =& $prop2 did not error\n"; 30 $test->$prop2 =& $test->$prop1; 31 echo "Invalid assignment $prop2 =& $prop1 did not error\n"; 35 function valid(Test $test, string $prop1, string $prop2, $value) { 37 $test->$prop2 = $value; 38 $test->$prop1 =& $test->$prop2; 40 echo "Valid assignment $prop1 =& $prop2 threw {$e->getMessage()}\n"; [all …]
|
H A D | typed_properties_092.phpt | 12 public int $prop2; 22 $this->prop2 = ref($str); 39 ["prop2"]=>
|
/PHP-8.0/ext/standard/tests/serialize/ |
H A D | __serialize_001.phpt | 8 public $prop2; 10 return ["value" => $this->prop, 42 => $this->prop2]; 14 $this->prop2 = $data[42]; 20 $test->prop2 = "barfoo"; 30 ["prop2"]=>
|
/PHP-8.0/ext/reflection/tests/ |
H A D | ReflectionParameter_isDefault.phpt | 15 $prop2 = $props[1]; 16 var_dump($prop2->isDefault()); 22 $prop2 = new ReflectionProperty($a, 'myprop'); 24 var_dump($prop2->isDefault());
|
H A D | bug79683.phpt | 18 private string $prop2; 24 $property = $reflector->getProperty('prop2'); 33 ["prop2":"B":private]=>
|
H A D | bug78774.phpt | 8 public stdClass|Foo $prop2; 14 $rp2 = $rc->getProperty('prop2'); 20 $test->prop2 = new stdClass;
|
H A D | bug40794.phpt | 8 $obj->prop2 = '2'; 27 ["prop2"]=>
|
/PHP-8.0/Zend/tests/ |
H A D | ctor_promotion_mixing.phpt | 7 public string $prop2; 10 $this->prop2 = $prop1 . $param2; 21 ["prop2"]=> 40 Property [ public string $prop2 ]
|
H A D | bug79862.phpt | 8 private static $prop2; 15 $this->prop2 = 2; 21 var_dump(self::$prop2); 29 protected $prop2; 50 ["prop2":protected]=>
|
H A D | bug68191.phpt | 9 $obj->prop2 =& $obj->prop1; 10 $obj->prop2 .= 'xyz';
|
H A D | bug73816.phpt | 22 ["prop2":"class@anonymous":private]=>
|
/PHP-8.0/ext/opcache/tests/jit/ |
H A D | assign_obj_002.phpt | 13 public int $prop2; 22 $o->prop2 = $undef; 36 Cannot assign null to property Test::$prop2 of type int
|
/PHP-8.0/ext/spl/tests/ |
H A D | arrayObject_asort_basic2.phpt | 13 public $prop2 = 'z'; 35 ["prop2"]=> 46 ["prop2"]=>
|
H A D | arrayObject_ksort_basic2.phpt | 13 public $z = 'prop2'; 36 string(5) "prop2" 47 string(5) "prop2"
|
H A D | bug45622b.phpt | 17 $ao->prop2 = 'foo';
|
H A D | fixedarray_002.phpt | 7 public $prop2 = NULL;
|
/PHP-8.0/Zend/tests/type_declarations/union_types/variance/ |
H A D | valid.phpt | 11 public iterable $prop2; 20 public array|Traversable $prop2;
|
/PHP-8.0/Zend/ |
H A D | zend_execute.h | 67 …oid zend_throw_ref_type_error_type(zend_property_info *prop1, zend_property_info *prop2, zval *zv);
|
H A D | zend_execute.c | 3125 …id zend_throw_ref_type_error_type(zend_property_info *prop1, zend_property_info *prop2, zval *zv) { in zend_throw_ref_type_error_type() argument 3127 zend_string *type2_str = zend_type_to_string(prop2->type); in zend_throw_ref_type_error_type() 3133 ZSTR_VAL(prop2->ce->name), in zend_throw_ref_type_error_type() 3134 zend_get_unmangled_property_name(prop2->name), in zend_throw_ref_type_error_type() 3152 …_throw_conflicting_coercion_error(zend_property_info *prop1, zend_property_info *prop2, zval *zv) { in zend_throw_conflicting_coercion_error() argument 3154 zend_string *type2_str = zend_type_to_string(prop2->type); in zend_throw_conflicting_coercion_error() 3160 ZSTR_VAL(prop2->ce->name), in zend_throw_conflicting_coercion_error() 3161 zend_get_unmangled_property_name(prop2->name), in zend_throw_conflicting_coercion_error()
|
Completed in 48 milliseconds