Home
last modified time | relevance | path

Searched refs:prop1 (Results 1 – 17 of 17) sorted by relevance

/PHP-8.1/Zend/tests/type_declarations/
H A Dtyped_properties_076.phpt22 function invalid(Test $test, string $prop1, string $prop2, $value) {
25 $test->$prop1 =& $test->$prop2;
26 echo "Invalid assignment $prop1 =& $prop2 did not error\n";
29 $test->$prop1 = $value;
30 $test->$prop2 =& $test->$prop1;
31 echo "Invalid assignment $prop2 =& $prop1 did not error\n";
35 function valid(Test $test, string $prop1, string $prop2, $value) {
38 $test->$prop1 =& $test->$prop2;
40 echo "Valid assignment $prop1 =& $prop2 threw {$e->getMessage()}\n";
43 $test->$prop1 = $value;
[all …]
/PHP-8.1/Zend/tests/
H A Dctor_promotion_mixing.phpt9 public function __construct(public string $prop1 = "", $param2 = "") {
10 $this->prop2 = $prop1 . $param2;
23 ["prop1"]=>
41 Property [ public string $prop1 ]
49 Parameter #0 [ <optional> string $prop1 = '' ]
H A Dbug68191.phpt8 $obj->prop1 = 'abc';
9 $obj->prop2 =& $obj->prop1;
11 var_dump($obj->prop1);
H A Dbug79862.phpt7 private static $prop1;
14 $this->prop1 = 1;
20 var_dump(self::$prop1);
28 public $prop1;
52 ["prop1"]=>
H A Dbug73816.phpt18 ["prop1":"class@anonymous":private]=>
/PHP-8.1/ext/reflection/tests/
H A DReflectionParameter_isDefault.phpt13 $prop1 = $props[0];
14 var_dump($prop1->isDefault());
21 $prop1 = new ReflectionProperty($a, 'defprop');
23 var_dump($prop1->isDefault());
H A Dbug40794.phpt7 $obj->prop1 = '1';
25 ["prop1"]=>
H A Dbug79683.phpt8 private string $prop1 = '123';
12 return $this->prop1;
/PHP-8.1/Zend/tests/traits/
H A Dbug75607a.phpt8 public static $prop1 = 1;
13 public static $prop1 = 1;
32 var_dump($c::$prop1);
H A Dbug75607.phpt8 public static $prop1 = 1;
13 public static $prop1 = 1;
/PHP-8.1/ext/spl/tests/
H A DarrayObject_asort_basic2.phpt12 public $prop1 = 'x';
31 ["prop1"]=>
42 ["prop1"]=>
H A DarrayObject_ksort_basic2.phpt12 public $x = 'prop1';
34 string(5) "prop1"
45 string(5) "prop1"
H A Dbug45622b.phpt14 echo $ao->prop1;
28 Warning: Undefined array key "prop1" in %s on line %d
H A Dfixedarray_002.phpt6 public $prop1 = NULL;
/PHP-8.1/ext/opcache/tests/opt/
H A Ddce_012.phpt17 $obj->prop1 = null;
/PHP-8.1/Zend/
H A Dzend_execute.c3395 ZEND_API ZEND_COLD void zend_throw_ref_type_error_type(zend_property_info *prop1, zend_property_inf… in zend_throw_ref_type_error_type() argument
3396 zend_string *type1_str = zend_type_to_string(prop1->type); in zend_throw_ref_type_error_type()
3400 ZSTR_VAL(prop1->ce->name), in zend_throw_ref_type_error_type()
3401 zend_get_unmangled_property_name(prop1->name), in zend_throw_ref_type_error_type()
3422 ZEND_API ZEND_COLD void zend_throw_conflicting_coercion_error(zend_property_info *prop1, zend_prope… in zend_throw_conflicting_coercion_error() argument
3423 zend_string *type1_str = zend_type_to_string(prop1->type); in zend_throw_conflicting_coercion_error()
3427 ZSTR_VAL(prop1->ce->name), in zend_throw_conflicting_coercion_error()
3428 zend_get_unmangled_property_name(prop1->name), in zend_throw_conflicting_coercion_error()
H A Dzend_execute.h71 ZEND_API ZEND_COLD void zend_throw_ref_type_error_type(zend_property_info *prop1, zend_property_inf…

Completed in 36 milliseconds