Home
last modified time | relevance | path

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

/php-src/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-src/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.phpt8 private static $prop1;
15 $this->prop1 = 1;
21 var_dump(self::$prop1);
29 public $prop1;
53 ["prop1"]=>
H A Dbug73816.phpt18 ["prop1":"class@anonymous":private]=>
/php-src/ext/reflection/tests/
H A DReflectionParameter_isDefault.phpt14 $prop1 = $props[0];
15 var_dump($prop1->isDefault());
22 $prop1 = new ReflectionProperty($a, 'defprop');
24 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;
H A Dstatic_properties_with_typed_class_constants1.phpt9 public int $prop1 = Foo::CONST1;
/php-src/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-src/Zend/tests/type_declarations/dnf_types/
H A Ddnf_intersection_and_null.phpt13 public (X&Y)|null $prop1;
34 $test->prop1 = $a;
35 $test->prop1 = $n;
51 $test->prop1 = $c;
72 Cannot assign C to property Test::$prop1 of type (X&Y)|null
H A Ddnf_intersection_and_single.phpt14 public (X&Y)|int $prop1;
46 $test->prop1 = $a;
47 $test->prop1 = $i;
82 $test->prop1 = $c;
123 Cannot assign C to property Test::$prop1 of type (X&Y)|int
/php-src/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-src/ext/opcache/tests/opt/
H A Ddce_012.phpt17 $obj->prop1 = null;
/php-src/Zend/
H A Dzend_execute.c3472 ZEND_API ZEND_COLD void zend_throw_ref_type_error_type(const zend_property_info *prop1, const zend_… in zend_throw_ref_type_error_type() argument
3473 zend_string *type1_str = zend_type_to_string(prop1->type); in zend_throw_ref_type_error_type()
3477 ZSTR_VAL(prop1->ce->name), in zend_throw_ref_type_error_type()
3478 zend_get_unmangled_property_name(prop1->name), in zend_throw_ref_type_error_type()
3499 ZEND_API ZEND_COLD void zend_throw_conflicting_coercion_error(const zend_property_info *prop1, cons… in zend_throw_conflicting_coercion_error() argument
3500 zend_string *type1_str = zend_type_to_string(prop1->type); in zend_throw_conflicting_coercion_error()
3504 ZSTR_VAL(prop1->ce->name), in zend_throw_conflicting_coercion_error()
3505 zend_get_unmangled_property_name(prop1->name), in zend_throw_conflicting_coercion_error()
H A Dzend_execute.h79 ZEND_API ZEND_COLD void zend_throw_ref_type_error_type(const zend_property_info *prop1, const zend_…

Completed in 48 milliseconds