/PHP-8.3/Zend/tests/ |
H A D | bug28442.phpt | 8 static $prop; 13 static $prop; 21 ClassA::$prop = 'A'; 22 ClassB::$prop = 'B'; 23 ClassC::$prop = 'C'; 24 var_dump(ClassA::$prop); 25 var_dump(ClassB::$prop); 26 var_dump(ClassC::$prop); 29 ClassA::$prop = 'A2'; 35 ClassB::$prop = 'B2'; [all …]
|
H A D | property_access_errors_for_guarded_properties.phpt | 7 $obj->prop = 42; 11 var_dump($obj->prop); 15 unset($obj->prop); 19 private $prop; 36 $test->prop = "bar"; 41 var_dump($test->prop); 46 unset($test->prop); 53 Cannot access private property Test::$prop 54 Cannot access private property Test::$prop 55 Cannot access private property Test::$prop
|
/PHP-8.3/ext/spl/tests/ |
H A D | arrayObject___construct_basic2.phpt | 6 public $prop = 'C::prop.orig'; 10 public $prop = 'MyArrayObject::prop.orig'; 30 @var_dump($ao->prop, $ao['prop']); 35 var_dump($ao->prop, $ao['prop']); 38 var_dump(isset($ao->prop), isset($ao['prop'])); 41 unset($ao->prop); 42 unset($ao['prop']); 43 var_dump($ao->prop, $ao['prop']); 52 prop=>C::prop.orig 55 string(12) "C::prop.orig" [all …]
|
H A D | arrayObject___construct_basic3.phpt | 6 public $prop = 'C::prop.orig'; 10 public $prop = 'MyArrayObject::prop.orig'; 30 @var_dump($ao->prop, $ao['prop']); 35 var_dump($ao->prop, $ao['prop']); 38 var_dump(isset($ao->prop), isset($ao['prop'])); 41 unset($ao->prop); 42 unset($ao['prop']); 43 var_dump($ao->prop, $ao['prop']); 52 prop=>C::prop.orig 55 string(12) "C::prop.orig" [all …]
|
H A D | arrayObject___construct_basic4.phpt | 6 public $prop = 'C::prop.orig'; 10 public $prop = 'MyArrayObject::prop.orig'; 30 @var_dump($ao->prop, $ao['prop']); 35 var_dump($ao->prop, $ao['prop']); 38 var_dump(isset($ao->prop), isset($ao['prop'])); 41 unset($ao->prop); 42 unset($ao['prop']); 43 var_dump($ao->prop, $ao['prop']); 52 prop=>C::prop.orig 54 string(12) "C::prop.orig" [all …]
|
H A D | arrayObject___construct_basic5.phpt | 6 public $prop = 'C::prop.orig'; 10 public $prop = 'MyArrayObject::prop.orig'; 30 @var_dump($ao->prop, $ao['prop']); 35 var_dump($ao->prop, $ao['prop']); 38 var_dump(isset($ao->prop), isset($ao['prop'])); 41 unset($ao->prop); 42 unset($ao['prop']); 43 var_dump($ao->prop, $ao['prop']); 52 prop=>C::prop.orig 54 string(12) "C::prop.orig" [all …]
|
H A D | bug54323.phpt | 6 public $prop = 'C::prop.orig'; 16 unset($ao['prop']); 17 var_dump($c->prop, $ao['prop']); 21 Warning: Undefined property: C::$prop in %s on line %d 23 Warning: Undefined array key "prop" in %s on line %d
|
/PHP-8.3/Zend/tests/readonly_props/ |
H A D | readonly_containing_object.phpt | 10 $this->prop = $prop; 15 $test->prop->foo = 1; 16 $test->prop->foo += 1; 17 $test->prop->foo++; 19 $test->prop += 1; 24 $test->prop++; 29 --$test->prop; 33 var_dump($test->prop); 36 $ref =& $test->prop; 41 $test->prop[] = []; [all …]
|
H A D | unset.phpt | 7 public readonly int $prop; 9 public function __construct(int $prop) { 10 $this->prop = $prop; 16 unset($test->prop); 22 public readonly int $prop; 26 unset($this->prop); // Unset unset. 32 $this->prop = 1; 33 return $this->prop; 38 var_dump($test->prop); // Call __get. 47 public readonly int $prop; [all …]
|
H A D | variation.phpt | 7 public readonly int $prop; 10 $this->prop = 1; 14 echo $this->prop; 18 $this->prop = 1; 23 $this->prop += 1; 28 $this->prop[] = 1; 43 echo $test->prop; 47 $test->prop = 0; 52 $test->prop += 1; 57 $test->prop[] = 1; [all …]
|
H A D | magic_get_set.phpt | 7 public readonly int $prop; 10 unset($this->prop); 42 $test->prop = 1; 47 unset($test->prop); 55 var_dump($test->prop); 56 $test->prop = 2; 58 unset($test->prop); 69 Test::__isset(prop) 71 Test::__get(prop) 73 Test::__set(prop, 2) [all …]
|
H A D | variation_nested.phpt | 7 public int $prop = 1; 12 public readonly Inner $prop; 15 $this->prop = new Inner(); 20 echo $test->prop->prop; 24 $test->prop->prop = 0; 29 $test->prop->prop += 1; 34 $test->prop->array[] = 1; 39 echo (int) isset($test->prop->prop); 43 unset($test->prop->prop); 73 Init: 0, op: w: Cannot indirectly modify readonly property Test::$prop [all …]
|
H A D | readonly_modification.phpt | 7 readonly public int $prop; 12 $this->prop = 1; 20 var_dump($test->prop); // Read. 22 $test->prop = 2; 27 $test->prop += 1; 32 $test->prop++; 37 ++$test->prop; 42 $ref =& $test->prop; 47 $test->prop =& $ref; 52 byRef($test->prop); [all …]
|
H A D | initialization_scope.phpt | 7 public readonly int $prop; 10 $this->prop = 3; 15 $this->prop = 2; 21 $test->prop = 1; 32 var_dump($test->prop); 37 $this->prop = 1; 39 var_dump($test->prop); 42 public readonly int $prop; 47 var_dump($test->prop); 51 $this->prop = 1; [all …]
|
H A D | readonly_clone_error5.phpt | 8 $this->prop[] = 1; 14 $this->prop[] = 1; 15 $this->prop[] = 2; 21 public readonly array $prop; 23 $this->prop = []; 29 public readonly array $prop; 31 $this->prop = []; 62 ["prop"]=> 69 ["prop"]=> 75 Cannot modify readonly property TestSetTwice::$prop [all …]
|
H A D | serialization.phpt | 8 public readonly int $prop = 1, 17 var_dump(unserialize("O:4:\"Test\":1:{s:4:\"prop\";i:2;}")); 18 var_dump(unserialize("O:4:\"Test\":2:{s:4:\"prop\";i:2;s:4:\"prop\";i:3;}")); 22 string(30) "O:4:"Test":1:{s:4:"prop";i:1;}" 24 ["prop"]=> 28 ["prop"]=> 32 ["prop"]=>
|
/PHP-8.3/ext/pcre/pcre2lib/ |
H A D | pcre2_xclass.c | 136 const ucd_record *prop = GET_UCD(c); in PRIV() local 147 if ((prop->chartype == ucp_Lu || prop->chartype == ucp_Ll || in PRIV() 165 ok = (data[1] == prop->script || in PRIV() 171 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_L || in PRIV() 197 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_L || in PRIV() 224 UCD_BPROPS_PROP(prop), data[1]) != 0; in PRIV() 241 if ((PRIV(ucp_gentype)[prop->chartype] != ucp_Z && in PRIV() 243 (prop->chartype == ucp_Cf && in PRIV() 253 if ((prop->chartype != ucp_Zl && in PRIV() 254 prop->chartype != ucp_Zp && in PRIV() [all …]
|
/PHP-8.3/Zend/tests/in-de-crement/ |
H A D | incdec_ref_property.phpt | 7 $obj->prop = 1; 8 $ref =& $obj->prop; 9 var_dump(++$obj->prop); 10 var_dump($obj->prop); 11 var_dump($obj->prop++); 12 var_dump($obj->prop); 13 var_dump(--$obj->prop); 14 var_dump($obj->prop); 15 var_dump($obj->prop--); 16 var_dump($obj->prop);
|
/PHP-8.3/Zend/tests/type_declarations/ |
H A D | typed_properties_089.phpt | 7 public string $prop = ""; 13 $a->prop = "dont "; 14 $a->prop .= "leak "; 15 $a->prop .= "me!"; 21 $a->prop = new B; 25 $prop = &$a->prop; 26 $a->prop = new B; 32 ["prop"]=> 36 ["prop"]=>
|
/PHP-8.3/Zend/tests/type_declarations/union_types/ |
H A D | incdec_prop.phpt | 15 $x = $test->prop++; 19 $x = ++$test->prop; 23 $x = $test->prop--; 27 $x = --$test->prop; 32 $r =& $test->prop; 33 $x = $test->prop++; 37 $x = ++$test->prop; 38 $r =& $test->prop; 42 $x = $test->prop--; 43 $r =& $test->prop; [all …]
|
H A D | multiple_classes.phpt | 7 public X|Y|Z|int $prop; 20 $test->prop = 42; 21 var_dump($test->prop); 24 $test->prop = "42"; 25 var_dump($test->prop); 44 $test->prop = new X; 45 var_dump($test->prop); 52 $test->prop = new Z; 53 var_dump($test->prop); 60 $test->prop = new Y; [all …]
|
/PHP-8.3/ext/opcache/tests/jit/ |
H A D | assign_obj_op_002.phpt | 11 public string $prop = "222"; 17 $a->prop .= $a->prop . "leak"; 23 $prop = &$a->prop; 24 $a->prop = new B; 29 ["prop"]=>
|
H A D | fetch_obj_008.phpt | 11 public string $prop = ""; 17 $a->prop = "A $e B"; 18 $a->prop->prop . $a->prop = "C"; 24 $a->prop = new B; 30 Warning: Attempt to read property "prop" on string in %sfetch_obj_008.php on line 10
|
H A D | fetch_obj_007.phpt | 11 public ?C $prop = null; 14 $obj->prop->prop = null; 18 $obj->prop = new C; 26 ["prop"]=> 28 ["prop"]=>
|
/PHP-8.3/ext/standard/tests/serialize/ |
H A D | typed_property_ref_overwrite2.phpt | 7 public ?Test $prop; 10 O:4:"Test":2:{s:4:"prop";N;s:4:"prop";O:4:"Test":1:{s:4:"prop";R:2;}} 17 ["prop"]=> 19 ["prop"]=>
|