Home
last modified time | relevance | path

Searched refs:prop (Results 26 – 50 of 172) sorted by relevance

1234567

/PHP-7.4/ext/reflection/tests/
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.4/ext/dom/
H A Ddocumentfragment.c81 xmlAttrPtr prop; in php_dom_xmlSetTreeDoc() local
86 prop = tree->properties; in php_dom_xmlSetTreeDoc()
87 while (prop != NULL) { in php_dom_xmlSetTreeDoc()
88 prop->doc = doc; in php_dom_xmlSetTreeDoc()
89 if (prop->children) { in php_dom_xmlSetTreeDoc()
90 cur = prop->children; in php_dom_xmlSetTreeDoc()
96 prop = prop->next; in php_dom_xmlSetTreeDoc()
/PHP-7.4/ext/standard/tests/array/
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"));
H A Dbug76713.phpt7 return array_column(array($obj), "prop");
12 $obj->prop = str_pad("a", 10, 'a');
18 var_dump($obj->prop);
35 var_dump($obj->prop);
/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_090.phpt7 private int $prop = 42;
10 $x =& $this->prop;
11 unset($this->prop);
17 private $prop;
H A Dtyped_properties_093.phpt7 public int $prop;
12 return 'prop';
27 Typed property Test::$prop must be int, string used
29 ["prop"]=>
H A Dtyped_properties_102.phpt8 public static $prop;
11 Test::$prop =& Test::$intProp;
13 Test::$prop .= "foobar";
17 var_dump(Test::$prop, Test::$intProp);
H A Dtyped_properties_048.phpt7 private $prop = "1";
10 private int $prop = 2;
13 var_dump((function () { return $this->prop; })->call(new B));
H A Dtyped_properties_098.phpt7 public $prop;
11 unset($test->prop);
12 $ref =& $test->prop;
/PHP-7.4/ext/spl/tests/
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.4/Zend/tests/
H A Dforeach_shadowed_dyn_property.phpt7 private $prop = "Test";
20 $test2->prop = "Test2";
25 prop => Test
27 ["prop"]=>
H A Dforeach_shadowed_property.phpt7 private $prop = "Test";
17 public $prop = "Test2";
24 prop => Test
26 ["prop"]=>
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;
H A Dbug52484_3.phpt7 function __get($prop) {
8 var_dump($this->$prop);
13 $prop = "\0";
15 var_dump($a->$prop);
H A Dbug28444.phpt30 function __get($prop)
32 echo __METHOD__ . "($prop)\n";
33 return $this->props[$prop];
36 function __set($prop, $val)
38 echo __METHOD__ . "($prop,$val)\n";
39 $this->props[$prop] = $val;
/PHP-7.4/tests/classes/
H A D__set_data_corrupt.phpt13 function __get($prop)
15 return $this->pp[$prop];
17 function __set($prop, $val)
20 $this->pp[$prop] = '';
H A Dstatic_properties_003.phpt12 echo "\n--> Access visible static prop like instance prop:\n";
21 echo "\n--> Access non-visible static prop like instance prop:\n";
30 --> Access visible static prop like instance prop:
47 --> Access non-visible static prop like instance prop:
H A Dstatic_properties_003_error1.phpt10 echo "\n--> Access non-visible static prop like instance prop:\n";
15 --> Access non-visible static prop like instance prop:
H A Dstatic_properties_003_error2.phpt10 echo "\n--> Access non-visible static prop like instance prop:\n";
15 --> Access non-visible static prop like instance prop:
H A Dstatic_properties_003_error3.phpt10 echo "\n--> Access non-visible static prop like instance prop:\n";
15 --> Access non-visible static prop like instance prop:
H A Dstatic_properties_003_error4.phpt10 echo "\n--> Access non-visible static prop like instance prop:\n";
19 --> Access non-visible static prop like instance prop:

Completed in 61 milliseconds

1234567