Home
last modified time | relevance | path

Searched refs:prop2 (Results 1 – 22 of 22) sorted by relevance

/PHP-8.0/Zend/tests/type_declarations/union_types/
H A Dincdec_prop.phpt8 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 Dinheritance.phpt10 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 Dtyped_properties_096.phpt8 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 Dtyped_properties_076.phpt22 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 Dtyped_properties_092.phpt12 public int $prop2;
22 $this->prop2 = ref($str);
39 ["prop2"]=>
/PHP-8.0/ext/standard/tests/serialize/
H A D__serialize_001.phpt8 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 DReflectionParameter_isDefault.phpt15 $prop2 = $props[1];
16 var_dump($prop2->isDefault());
22 $prop2 = new ReflectionProperty($a, 'myprop');
24 var_dump($prop2->isDefault());
H A Dbug79683.phpt18 private string $prop2;
24 $property = $reflector->getProperty('prop2');
33 ["prop2":"B":private]=>
H A Dbug78774.phpt8 public stdClass|Foo $prop2;
14 $rp2 = $rc->getProperty('prop2');
20 $test->prop2 = new stdClass;
H A Dbug40794.phpt8 $obj->prop2 = '2';
27 ["prop2"]=>
/PHP-8.0/Zend/tests/
H A Dctor_promotion_mixing.phpt7 public string $prop2;
10 $this->prop2 = $prop1 . $param2;
21 ["prop2"]=>
40 Property [ public string $prop2 ]
H A Dbug79862.phpt8 private static $prop2;
15 $this->prop2 = 2;
21 var_dump(self::$prop2);
29 protected $prop2;
50 ["prop2":protected]=>
H A Dbug68191.phpt9 $obj->prop2 =& $obj->prop1;
10 $obj->prop2 .= 'xyz';
H A Dbug73816.phpt22 ["prop2":"class@anonymous":private]=>
/PHP-8.0/ext/opcache/tests/jit/
H A Dassign_obj_002.phpt13 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 DarrayObject_asort_basic2.phpt13 public $prop2 = 'z';
35 ["prop2"]=>
46 ["prop2"]=>
H A DarrayObject_ksort_basic2.phpt13 public $z = 'prop2';
36 string(5) "prop2"
47 string(5) "prop2"
H A Dbug45622b.phpt17 $ao->prop2 = 'foo';
H A Dfixedarray_002.phpt7 public $prop2 = NULL;
/PHP-8.0/Zend/tests/type_declarations/union_types/variance/
H A Dvalid.phpt11 public iterable $prop2;
20 public array|Traversable $prop2;
/PHP-8.0/Zend/
H A Dzend_execute.h67 …oid zend_throw_ref_type_error_type(zend_property_info *prop1, zend_property_info *prop2, zval *zv);
H A Dzend_execute.c3125 …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 35 milliseconds