Searched refs:x (Results 226 – 250 of 1819) sorted by path
12345678910>>...73
/php-src/Zend/tests/closures/ |
H A D | closure_from_callable_reflection.phpt | 15 $fn = function (Bar $bar, int $x, $none) {};
|
H A D | closure_instantiate.phpt | 10 $x = new Closure();
|
/php-src/Zend/tests/ |
H A D | code_before_loop_var_free.phpt | 5 switch ($x > 0) { 12 Warning: Undefined variable $x in %s on line %d
|
H A D | compound_assign_failure.phpt | 40 $x = 1; 55 $x = 1; 70 $x = 1; 85 $x = 1; 100 $x = 1; 115 $x = 1; 130 $x = 1; 145 $x = 1; 160 $x = 1; 175 $x = 1; [all …]
|
H A D | concat_002.phpt | 2 Stress test $x .= $x
|
H A D | constant_arrays.phpt | 11 $x = FOOBAR; 12 $x[0] = 7; 13 var_dump($x, FOOBAR); 15 $x = FOO_BAR; 16 $x[0] = 7; 17 var_dump($x, FOO_BAR); 20 $x = 7; 21 $y = [&$x]; 24 var_dump($x, $y, QUX);
|
H A D | constant_expressions_classes.phpt | 19 …parent::XX." extended by G"; public static function get_me($x = "got ".self::XX) { return $x; } }',
|
H A D | constants_009.phpt | 6 namespace foo\x; 8 const x = 2; 10 class x { 11 const x = 1; 15 var_dump(namespace\x, 16 x::x, 17 namespace\x::x); 18 var_dump(defined('foo\x\x'));
|
H A D | constructor_abstract_grantparent.phpt | 7 abstract function __construct(X $x); 10 function __construct(X $x) {} 18 Fatal error: Declaration of C::__construct() must be compatible with A::__construct(X $x) in %s on …
|
H A D | constructor_args.phpt | 9 public function __construct($x = 1) { 13 public function __construct($x = 1, $y = 2) {
|
H A D | ctor_promotion_abstract.phpt | 7 abstract public function __construct(public int $x);
|
H A D | ctor_promotion_additional_modifiers.phpt | 7 public function __construct(public static $x) {}
|
H A D | ctor_promotion_basic.phpt | 7 public function __construct(public int $x, public int $y, public int $z) {} 14 $point->x = "foo"; 21 Cannot assign string to property Point::$x of type int
|
H A D | ctor_promotion_defaults.phpt | 8 public float $x = 0.0, 21 ["x"]=> 29 ["x"]=> 37 ["x"]=>
|
H A D | ctor_promotion_interface.phpt | 7 public function __construct(public int $x);
|
H A D | ctor_promotion_not_a_ctor.phpt | 7 public function foobar(public int $x, public int $y) {}
|
/php-src/Zend/tests/constexpr/ |
H A D | new_anon_class.phpt | 6 static $x = new class {}; 8 var_dump($x);
|
H A D | new_arg_eval.phpt | 7 public function __construct(public $x) {} 12 $c = new C(x: __FILE__), 27 ["x"]=> 31 ["x"]=> 35 ["x"]=> 39 ["x"]=> 41 ["x"]=>
|
H A D | new_arg_unpack.phpt | 6 static $x = new stdClass(...[0]); 8 var_dump($x);
|
H A D | new_dynamic_class_name.phpt | 8 static $x = new (FOO); 10 var_dump($x);
|
H A D | new_invalid_operation_in_arg.phpt | 7 static $x = new stdClass($foo);
|
H A D | new_named_params.phpt | 7 public function __construct(public float $x, public float $y, public float $z) {} 10 static $a = new Vec(x: 0.0, y: 1.0, z: 2.0); 13 static $b = new Vec(z: 0.0, y: 1.0, x: 2.0); 20 eval('static $d = new Vec(x: 0.0, x: 1.0);'); 28 ["x"]=> 36 ["x"]=> 44 ["x"]=> 51 Named parameter $x overwrites previous argument
|
H A D | new_positional_after_named.phpt | 6 static $x = new stdClass(x: 0, 1);
|
H A D | new_self_parent.phpt | 7 public static function invalid($x = new parent) { 11 public static function method($x = new self, $y = new parent) { 12 var_dump($x, $y); 16 function invalid($x = new self) {}
|
H A D | new_static.phpt | 8 static $x = new static; 9 return $x; 13 $x = Foo::singleton(); 15 var_dump($x, $y);
|
Completed in 37 milliseconds
12345678910>>...73