Home
last modified time | relevance | path

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

12345

/PHP-7.3/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
H A DarrayObject_clone_basic2.phpt9 $c->p1 = 'new prop added to c before clone';
13 $c->p2 = 'new prop added to c after clone';
21 string(32) "new prop added to c before clone"
23 string(31) "new prop added to c after clone"
31 string(32) "new prop added to c before clone"
33 string(31) "new prop added to c after clone"
42 string(32) "new prop added to c before clone"
H A DArrayObject_std_props_no_recursion.phpt7 $a->prop = 'a';
9 $b->prop = 'b';
12 $c->prop = 'c';
26 ["prop"]=>
H A DarrayObject_clone_basic3.phpt14 $wrappedObject->dynamic1 = 'new prop added to $wrappedObject before clone';
16 $wrappedObject->dynamic2 = 'new prop added to $wrappedObject after clone';
29 string(45) "new prop added to $wrappedObject before clone"
31 string(44) "new prop added to $wrappedObject after clone"
43 string(45) "new prop added to $wrappedObject before clone"
45 string(44) "new prop added to $wrappedObject after clone"
60 string(45) "new prop added to $wrappedObject before clone"
62 string(44) "new prop added to $wrappedObject after clone"
76 string(45) "new prop added to $wrappedObject before clone"
/PHP-7.3/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 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));
H A Dbug52484.phpt7 function __unset($prop) {
8 unset($this->$prop);
13 $prop = "\0";
15 unset($a->$prop);
H A Dbug52484_2.phpt7 function __set($prop, $val) {
8 $this->$prop = $val;
13 $prop = "\0";
15 $a->$prop = 2;
/PHP-7.3/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.3/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 …]
H A D__set_data_corrupt.phpt13 function __get($prop)
15 return $this->pp[$prop];
17 function __set($prop, $val)
20 $this->pp[$prop] = '';
/PHP-7.3/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.3/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
H A Dstatic_properties_002.phpt7 static protected $prop = 2;
10 echo __METHOD__ . '(' . self::$prop . ")\n";
14 base::$prop++;
20 static public $prop = 2;
23 echo __METHOD__ . '(' . self::$prop . ")\n";
27 derived::$prop++;
H A Dbug77772.phpt7 public $prop;
15 foreach ($rc->getProperties(null) as $prop) {
16 var_dump($prop->getName());
22 string(4) "prop"
/PHP-7.3/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'));
H A Darray_column_property_visibility.phpt7 private $prop;
9 $this->prop = $value;
15 return "__get($this->prop)";
20 var_dump(array_column($arr, "prop"));
/PHP-7.3/ext/dom/
H A Ddocumentfragment.c83 xmlAttrPtr prop; in php_dom_xmlSetTreeDoc() local
88 prop = tree->properties; in php_dom_xmlSetTreeDoc()
89 while (prop != NULL) { in php_dom_xmlSetTreeDoc()
90 prop->doc = doc; in php_dom_xmlSetTreeDoc()
91 if (prop->children) { in php_dom_xmlSetTreeDoc()
92 cur = prop->children; in php_dom_xmlSetTreeDoc()
98 prop = prop->next; in php_dom_xmlSetTreeDoc()

Completed in 29 milliseconds

12345