Searched refs:x (Results 251 – 275 of 1819) sorted by path
1...<<11121314151617181920>>...73
/php-src/Zend/tests/ |
H A D | ctor_promotion_null_default.phpt | 7 public function __construct(public int $x = null) {} 12 Fatal error: Cannot use null as default value for parameter $x of type int in %s on line %d
|
H A D | dereference_001.phpt | 38 $x = array('a' => 'foo', 'b' => $y); 39 return $x;
|
H A D | dereference_002.phpt | 10 $x = array(); 11 $x[] = 3; 12 $x[] = array(1, 5); 13 $x[] = new foo; 14 return $x; 22 var_dump($x[0]); 24 var_dump($x->bar()); 25 var_dump($x->bar()[0]); 27 $x = array(); 28 $x[] = new foo; [all …]
|
H A D | dereference_003.phpt | 9 public $x = 2; 11 $x = array(); 12 $x[] = new foo; 13 return $x; 31 var_dump($foo->a()[0]->x); 33 var_dump($foo->b()[1][0]->a()[0]->x); 41 ["x"]=>
|
H A D | dereference_004.phpt | 9 public $x = array(); 13 $this->x = $h; 16 return $this->x;
|
H A D | dereference_005.phpt | 31 function x() { 34 var_dump(x()['two']);
|
H A D | dereference_007.phpt | 9 public $x = array(); 12 return $this->x; 16 return $x; 36 Warning: Undefined variable $x in %s on line %d
|
H A D | dereference_008.phpt | 9 public $x = array(1); 12 return $this->x;
|
H A D | dereference_012.phpt | 7 static $x = array(); 10 self::$x = array(1, 2, 3); 11 return self::$x; 15 $x = array(1); 16 $x[] = 2; 17 return $x; 25 var_dump($foo::$x);
|
H A D | dereference_013.phpt | 9 public $x = array(2); 11 public function __call($x, $y) { 12 if (count($this->x) == 1) { 13 $this->x[] = $y[0]; 15 return $this->x; 21 $x = array(1); 23 $foo->b($x)[1] = 3;
|
H A D | dereference_014.phpt | 9 public $x; 13 return $this->x;
|
H A D | dim_assign_001.phpt | 17 sscanf($line, '%x', $char);
|
H A D | div_by_zero_compound_with_conversion.phpt | 5 $x = 42; 7 $$x /= 0;
|
H A D | double_array_cast.phpt | 6 $array = [1, 2, $x = 3];
|
H A D | dynamic_call_non_static.phpt | 16 $x = new Foo; 18 $x->test1(); 23 $x->test2();
|
H A D | dynamic_call_to_ref_returning_function.phpt | 8 function &retRef($x) { 9 return $x; 15 $closure = function &($x) { 16 return $x; 24 function &method($x) { 25 return $x;
|
H A D | exception_014.phpt | 9 $x = new C; 11 var_dump($x->p); 16 var_dump($x->p);
|
H A D | exception_017.phpt | 9 function foo(callable $x) { 31 TypeError: foo(): Argument #1 ($x) must be of type callable, string given, called in %s:%d
|
H A D | exception_during_by_reference_magic_get.phpt | 7 private $x; 16 $test->x =& $y;
|
H A D | exception_from_toString.phpt | 16 try { $x = $str . $badStr; } 18 try { $x = $badStr . $str; } 20 try { $x = $str .= $badStr; } 23 try { $x = $num . $badStr; } 38 try { $x = "x$badStr"; } 40 try { $x = "{$badStr}x"; } 47 try { $x = "x$badStr$str"; } 49 try { $x = "x$str$badStr"; } 51 try { $x = "{$str}x$badStr"; } 53 try { $x = "{$badStr}x$str"; } [all …]
|
/php-src/Zend/tests/enum/ |
H A D | backed-int-const-invalid-expr.phpt | 7 case Bar = 1 + $x;
|
/php-src/Zend/tests/fibers/ |
H A D | failing-nested-fiber.phpt | 7 $fiber = new Fiber(function (int $x, int $y): void { 8 Fiber::suspend($x + $y);
|
H A D | get-return.phpt | 7 $value = Fiber::suspend("x"); 18 string(1) "x"
|
H A D | gh10496-001.phpt | 6 function x(&$ref) { 9 print "Dtor x()\n"; 13 function suspend($x) { 18 x($var); 32 Dtor x()
|
H A D | start-arguments.phpt | 6 $fiber = new Fiber(function (int $x): int { 7 return $x + Fiber::suspend($x); 10 $x = $fiber->start(1); 14 $fiber = new Fiber(function (int $x): int { 15 return $x + Fiber::suspend($x); 24 Fatal error: Uncaught TypeError: {closure:%s:%d}(): Argument #1 ($x) must be of type int, string gi…
|
Completed in 26 milliseconds
1...<<11121314151617181920>>...73