Home
last modified time | relevance | path

Searched refs:prop (Results 51 – 75 of 172) sorted by relevance

1234567

/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_106.phpt6 public ?Type $prop;
9 $ref =& $obj->prop;
24 Cannot assign array to reference held by property Test::$prop of type ?Type
25 Cannot assign array to reference held by property Test::$prop of type ?Type
H A Dtyped_properties_085.phpt7 public int $prop;
10 public string $prop;
17 Fatal error: T1 and T2 define the same property ($prop) in the composition of C. However, the defin…
H A Dtyped_properties_092.phpt11 public array $prop;
17 $this->prop = $array;
36 ["prop"]=>
H A Dtyped_properties_012.phpt10 foreach ($foo as &$prop) {
11 $prop++;
/PHP-7.4/ext/mysqli/tests/
H A Dreflection_tools.inc33 foreach ($properties as $prop)
34 $tmp[$prop->getName()] = $prop;
36 foreach ($tmp as $prop)
37 inspectProperty($prop);
61 function inspectProperty(&$prop) {
63 printf("\nInspecting property '%s'\n", $prop->getName());
64 printf("isPublic: %s\n", ($prop->isPublic()) ? 'yes' : 'no');
65 printf("isPrivate: %s\n", ($prop->isPrivate()) ? 'yes' : 'no');
67 printf("isStatic: %s\n", ($prop->isStatic()) ? 'yes' : 'no');
69 printf("Modifiers: %d\n", $prop->getModifiers());
[all …]
/PHP-7.4/Zend/tests/
H A Dbug79477.phpt7 public $prop = 'default value';
14 $arr['prop'] = 'new value';
16 echo $obj->prop, "\n";
H A Dbug69534.phpt8 public $prop;
13 $node1->prop = $node2;
14 $node2->prop = $node1;
H A Dbug72177.phpt23 $prop = new \ReflectionProperty($this, 'child');
24 $prop->setAccessible(true);
25 $prop->setValue($this, null);
H A Dforeach_by_ref_to_property.phpt6 foreach ([0] as &$obj->prop) {
7 var_dump($obj->prop);
H A Dbug76752.phpt7 $obj->prop = &$val;
8 var_dump($obj->prop ?? []);
H A Dbug72854.phpt8 $t->prop = $t;
13 get()->prop =& $i;
H A Dbug78999.phpt7 $t->prop = $t;
14 ["prop"]=>
/PHP-7.4/ext/reflection/tests/
H A Dbug48336.phpt9 static protected $prop;
13 static protected $prop;
23 static protected $prop;
30 $rp = new ReflectionProperty($class, 'prop');
H A Dbug78774.phpt7 public stdClass $prop;
11 $rp = $rc->getProperty('prop');
16 $test->prop = new stdClass;
H A Dbug79820.phpt7 public stdClass $prop;
10 $rp = new ReflectionProperty(Test::class, 'prop');
12 $test->prop = new stdClass;
H A Dbug40794.phpt14 foreach($reflect->getProperties() as $prop)
16 $array[$prop->getName()] = $prop->getValue($obj);
H A DReflectionMethod_invokeArgs_basic.phpt7 public $prop = 2;
10 echo "Called foo(), property = $this->prop\n";
26 $testClassInstance->prop = "Hello";
55 ["prop"]=>
61 ["prop"]=>
H A Dbug49719.phpt34 $prop = $b2->getProperty('a');
35 $prop->setAccessible(true);
36 var_dump($prop->getValue(new b2));
/PHP-7.4/ext/standard/tests/array/
H A Dbug79839.phpt7 public int $prop = 42;
22 Cannot assign array to reference held by property Test::$prop of type int
24 ["prop"]=>
/PHP-7.4/ext/json/tests/
H A Dbug77843.phpt9 public $prop = "value";
24 ["prop"]=>
27 string(20) "[[{"prop":"value"}]]"
H A D004.phpt9 $a->prop = $a;
27 ["prop"]=>
35 string(13) "{"prop":null}"
/PHP-7.4/ext/opcache/tests/
H A Dpreload_overwritten_prop_init.inc4 public $prop;
8 public $prop = self::FOOBAR;
/PHP-7.4/Zend/tests/generators/
H A Dyield_from_iterator_agregate.phpt6 public $prop = 1;
8 var_dump($this->prop);
/PHP-7.4/ext/date/tests/
H A Ddate_interval_prop_dim.phpt8 $z->prop[1]=10;
10 $z->prop[$i] = $i;
/PHP-7.4/Zend/tests/type_declarations/variance/
H A Dproperty_types_early_bind.phpt10 public X $prop;
13 public Y $prop;

Completed in 36 milliseconds

1234567