Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 25 of 172) sorted by relevance

1234567

/PHP-7.4/ext/spl/tests/
H A DarrayObject___construct_basic2.phpt6 public $prop = 'C::prop.orig';
10 public $prop = 'MyArrayObject::prop.orig';
30 @var_dump($ao->prop, $ao['prop']);
33 $ao->prop = 'changed1';
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
[all …]
H A DarrayObject___construct_basic4.phpt6 public $prop = 'C::prop.orig';
10 public $prop = 'MyArrayObject::prop.orig';
30 @var_dump($ao->prop, $ao['prop']);
33 $ao->prop = 'changed1';
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
[all …]
H A DarrayObject___construct_basic5.phpt6 public $prop = 'C::prop.orig';
10 public $prop = 'MyArrayObject::prop.orig';
30 @var_dump($ao->prop, $ao['prop']);
33 $ao->prop = 'changed1';
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
[all …]
H A DarrayObject___construct_basic3.phpt6 public $prop = 'C::prop.orig';
10 public $prop = 'MyArrayObject::prop.orig';
30 @var_dump($ao->prop, $ao['prop']);
33 $ao->prop = 'changed1';
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
[all …]
H A Dbug54323.phpt6 public $prop = 'C::prop.orig';
16 unset($ao['prop']);
17 var_dump($c->prop, $ao['prop']);
20 Notice: Undefined property: C::$prop in %sbug54323.php on line 14
22 Notice: Undefined index: prop in %sbug54323.php on line 14
/PHP-7.4/Zend/tests/
H A Dbug28442.phpt8 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 Dincdec_ref_property.phpt7 $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);
H A Dproperty_access_errors_for_guarded_properties.phpt7 $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
H A Dbug72813.phpt9 public function &__get($prop)
11 return $this->props[$prop];
14 public function __set($prop, $value)
16 if ($prop === 'b') $value = [$value];
17 $this->props[$prop] = $value;
H A Dbug72543_5.phpt10 $obj->prop = 1;
11 $ref =& $obj->prop;
12 var_dump($obj->prop + ($obj->prop = 2));
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_xclass.c136 const ucd_record *prop = GET_UCD(c); in PRIV() local
146 if ((prop->chartype == ucp_Lu || prop->chartype == ucp_Ll || in PRIV()
164 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_L || in PRIV()
190 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_L || in PRIV()
223 if ((PRIV(ucp_gentype)[prop->chartype] != ucp_Z && in PRIV()
224 (PRIV(ucp_gentype)[prop->chartype] != ucp_C || in PRIV()
225 (prop->chartype == ucp_Cf && in PRIV()
235 if ((prop->chartype != ucp_Zl && in PRIV()
236 prop->chartype != ucp_Zp && in PRIV()
238 (prop->chartype == ucp_Cf && in PRIV()
[all …]
/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_089.phpt7 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"]=>
H A Dtyped_properties_096.phpt7 public Foobar $prop;
15 $test->prop =& $ref;
22 public ?Foobar $prop;
29 $test->prop =& $ref;
34 Typed property Test1::$prop must be an instance of Foobar, int used
36 ["prop"]=>
42 ["prop"]=>
H A Dtyped_properties_074.phpt7 public $prop = "x";
11 return $this->prop;
16 $dummyRef = &$test->prop;
24 $test->prop = "y";
25 var_dump($test->prop);
30 ["prop"]=>
37 ["prop"]=>
H A Dtyped_properties_088.phpt7 public int $prop;
10 public $prop;
14 $obj->prop = "42";
24 ["prop"]=>
28 ["prop"]=>
H A Dtyped_properties_073.phpt7 public $prop = "42";
11 return $this->prop;
21 $test->prop = "x";
27 ["prop"]=>
34 ["prop"]=>
40 ["prop"]=>
H A Dtyped_properties_cache_slot_opt.phpt7 public int $prop;
11 $this->prop = 1;
13 $this->prop = "foobar";
17 var_dump($this->prop);
27 Typed property Test::$prop must be int, string used
29 Typed property Test::$prop must be int, string used
H A Dtyped_properties_091.phpt7 public ?Test $prop;
29 $prop =& $test->prop;
33 $prop->wat = 123;
43 $prop =& $test->prop;
69 return 'prop';
81 $test->prop = NULL;
101 ["prop"]=>
120 ["prop"]=>
143 ["prop"]=>
178 ["prop"]=>
[all …]
H A Dtyped_properties_094.phpt7 public int $prop = 42;
13 $r =& $b->prop;
18 private int $prop = 42;
21 return $this->prop;
25 public $prop;
/PHP-7.4/tests/classes/
H A Dthis.phpt15 print $this->prop;
16 print $other->prop;
24 print $result->prop;
25 print $this->prop;
36 $object->prop = "Hello\n";
39 $other->prop = "World\n";
44 print $object->prop; // still shows 'Hello'
47 print $other->prop; // shows 'Hello'
H A Dimplicit_instantiation_001.phpt21 $c->$name->prop++;
25 $c->$name->prop = "Implicit instantiation!";
29 $c->$name->prop .= " Implicit instantiation!";
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
137 ["prop"]=>
142 ["prop"]=>
[all …]
/PHP-7.4/ext/reflection/tests/
H A Dbug75231.phpt7 public $prop;
10 $this->prop = 'prop';
21 print_r((new ReflectionProperty(B::class, 'prop'))->getValue(new A()).PHP_EOL);
25 prop
/PHP-7.4/ext/standard/tests/strings/
H A Dstr_replace_array_refs2.phpt14 class SomeClass { public $prop; }
17 $obj->prop = ['x' => 'property'];
18 $obj->prop = $closure($obj->prop, ['x'], 'a');
19 var_dump(str_replace(array_keys($obj->prop), $obj->prop, "x property"));
/PHP-7.4/ext/standard/tests/array/
H A Dbug72031.phpt7 public $prop;
8 public function __construct($prop) {
9 $this->prop = $prop;
25 var_dump(array_column($objects, 'prop'));
/PHP-7.4/ext/standard/tests/serialize/
H A D__serialize_001.phpt7 public $prop;
10 return ["value" => $this->prop, 42 => $this->prop2];
13 $this->prop = $data["value"];
19 $test->prop = "foobar";
28 ["prop"]=>

Completed in 24 milliseconds

1234567