Searched refs:prop2 (Results 1 – 25 of 27) sorted by relevance
12
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 …]
10 private A|B|int $prop2;21 private A|B|int $prop2;39 private A|B|int $prop2;
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"]=>
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 …]
12 public int $prop2;22 $this->prop2 = ref($str);39 ["prop2"]=>
8 public readonly array $prop2;14 $this->prop2 = [];15 $this->prop2[] = 1;49 var_dump($test->prop2);62 (function() { $this->prop2 = []; })->call($test);64 $this->prop2[] = 1;76 var_dump($test->prop2);96 Cannot modify readonly property Test::$prop297 Cannot modify readonly property Test::$prop2110 Cannot modify readonly property Test::$prop2[all …]
8 readonly public array $prop2;13 $this->prop2 = [];57 var_dump($test->prop2); // Read.59 $test->prop2[] = 1;64 $test->prop2[0][] = 1;81 Cannot modify readonly property Test::$prop282 Cannot modify readonly property Test::$prop2
8 public $prop2;10 return ["value" => $this->prop, 42 => $this->prop2];14 $this->prop2 = $data[42];20 $test->prop2 = "barfoo";30 ["prop2"]=>
16 $prop2 = $props[1];17 var_dump($prop2->isDefault());23 $prop2 = new ReflectionProperty($a, 'myprop');25 var_dump($prop2->isDefault());
18 private string $prop2;24 $property = $reflector->getProperty('prop2');33 ["prop2":"B":private]=>
8 public stdClass|Foo $prop2;14 $rp2 = $rc->getProperty('prop2');20 $test->prop2 = new stdClass;
8 $obj->prop2 = '2';27 ["prop2"]=>
7 public string $prop2;10 $this->prop2 = $prop1 . $param2;21 ["prop2"]=>40 Property [ public string $prop2 ]
9 private static $prop2;16 $this->prop2 = 2;22 var_dump(self::$prop2);30 protected $prop2;55 ["prop2":protected]=>
11 $obj->prop2 += 1; // Deprecated12 $obj->prop2 += 1; // Ok39 Deprecated: Creation of dynamic property Test::$prop2 is deprecated in %s on line %d41 Warning: Undefined property: Test::$prop2 in %s on line %d
9 $obj->prop2 =& $obj->prop1;10 $obj->prop2 .= 'xyz';
22 ["prop2":"class@anonymous":private]=>
14 public null|(X&Y) $prop2;36 $test->prop2 = $a;37 $test->prop2 = $n;56 $test->prop2 = $c;73 Cannot assign C to property Test::$prop2 of type (X&Y)|null
15 public int|(X&Y) $prop2;48 $test->prop2 = $a;49 $test->prop2 = $i;87 $test->prop2 = $c;124 Cannot assign C to property Test::$prop2 of type (X&Y)|int
13 public int $prop2;22 $o->prop2 = $undef;36 Cannot assign null to property Test::$prop2 of type int
13 public $prop2 = 'z';35 ["prop2"]=>46 ["prop2"]=>
13 public $z = 'prop2';36 string(5) "prop2"47 string(5) "prop2"
17 $ao->prop2 = 'foo';
7 public $prop2 = NULL;
11 public iterable $prop2;20 public array|Traversable $prop2;
Completed in 23 milliseconds