/PHP-8.3/ext/xmlwriter/tests/ |
H A D | bug41326.phpt | 26 $xw->startElementNS('test', 'test', 'urn:x-test:'); 28 $xw->writeElementNS(null, 'bar', 'urn:x-test:', ''); 29 $xw->writeElementNS(null, 'bar', 'urn:x-test:', NULL); 30 $xw->writeElementNS(null, 'bar', 'urn:x-test:'); 46 <test:test xmlns:test="urn:x-test:"> 48 <bar xmlns="urn:x-test:"></bar> 49 <bar xmlns="urn:x-test:"/> 50 <bar xmlns="urn:x-test:"/>
|
/PHP-8.3/Zend/tests/ |
H A D | array_add_indirect.phpt | 6 $x = 1; 9 var_dump($ary['x']); 10 $x = 2; 11 var_dump($ary['x']);
|
H A D | bug75420.11.phpt | 6 public function offsetExists($x): bool { $GLOBALS["name"] = 24; return true; } 7 public function offsetGet($x): mixed { var_dump($x); return 42; } 8 public function offsetSet($x, $y): void { } 9 public function offsetUnset($x): void { }
|
H A D | bug75420.13.phpt | 6 public function offsetExists($x): bool { $GLOBALS["obj"] = 24; return true; } 7 public function offsetGet($x): mixed { var_dump($x); return 42; } 8 public function offsetSet($x, $y): void { } 9 public function offsetUnset($x): void { }
|
H A D | bug75420.14.phpt | 6 public function offsetExists($x): bool { $GLOBALS["obj"] = 24; return true; } 7 public function offsetGet($x): mixed { var_dump($x); return 42; } 8 public function offsetSet($x, $y): void { } 9 public function offsetUnset($x): void { }
|
H A D | bug75420.9.phpt | 6 public function offsetExists($x): bool { $GLOBALS["name"] = 24; return true; } 7 public function offsetGet($x): mixed { var_dump($x); return 42; } 8 public function offsetSet($x, $y): void { } 9 public function offsetUnset($x): void { }
|
H A D | objects_021.phpt | 14 return x(); 18 return x(); 22 return x(); 26 function x() { 30 x()
|
H A D | bug81684.phpt | 5 $GLOBALS['x'] ??= 'x'; // Fatal error: Invalid opcode 23/1/0 6 var_dump($GLOBALS['x']); 10 string(1) "x"
|
H A D | bug35470.phpt | 5 $x = array("test", "55"); 6 global ${$x[0]}; 7 ${$x[0]} = $x[1];
|
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 | bug75420.10.phpt | 6 public function offsetExists($x): bool { $GLOBALS["name"] = 24; return true; } 7 public function offsetGet($x): mixed { var_dump($x); return 42; } 8 public function offsetSet($x, $y): void { } 9 public function offsetUnset($x): void { }
|
H A D | bug75420.12.phpt | 6 public function offsetExists($x): bool { $GLOBALS["name"] = 24; return true; } 7 public function offsetGet($x): mixed { var_dump($x); return 42; } 8 public function offsetSet($x, $y): void { } 9 public function offsetUnset($x): void { }
|
/PHP-8.3/ext/pcre/tests/ |
H A D | bug73612.phpt | 7 preg_match('/./', 'x', $obj); 11 preg_replace('/./', '', 'x', -1, $obj); 15 preg_replace_callback('/./', 'count', 'x', -1, $obj); 19 preg_replace_callback_array(['/./' => 'count'], 'x', -1, $obj); 23 preg_filter('/./', '', 'x', -1, $obj);
|
/PHP-8.3/Zend/tests/fibers/ |
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()
|
/PHP-8.3/Zend/tests/generators/ |
H A D | iterator_wrapper_leak.phpt | 16 foreach ($this->gen1 as $x) { 17 echo "$x\n"; 18 yield $x; 22 foreach ($this->gen2 as $x) { 23 if ($x == 2) {
|
/PHP-8.3/ext/gmp/tests/ |
H A D | 002.phpt | 7 function fact($x) { 8 if($x <= 1) 11 return gmp_mul($x,fact($x-1));
|
/PHP-8.3/ext/filter/tests/ |
H A D | 048.phpt | 25 $s = sprintf("%x", PHP_INT_MAX); 26 var_dump(is_long(filter_var('0x'.$s, FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_HEX)))); 29 var_dump(is_long(filter_var('0x'.$s, FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_HEX)))); 31 $s = sprintf("%x", ~0); 32 var_dump(is_long(filter_var('0x'.$s, FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_HEX)))); 35 var_dump(filter_var('0x'.$s, FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_HEX)));
|
/PHP-8.3/ext/opcache/tests/jit/ |
H A D | fetch_dim_r_004.phpt | 30 $x="a"; 32 foo($x.$y); 33 foo("2x"); 34 $x=2; 35 $y="x"; 36 foo($x.$y); 58 Warning: Illegal string offset "2x" in %sfetch_dim_r_004.php on line 5 61 Warning: Illegal string offset "2x" in %sfetch_dim_r_004.php on line 5
|
H A D | assign_dim_004.phpt | 11 function offsetExists($x): bool {} 12 function offsetGet($x): mixed {} 13 function offsetSet($x, $y): void { 14 echo "offsetSet($x, $y)\n"; 16 function offsetUnset($x): void {}
|
/PHP-8.3/ext/tokenizer/tests/ |
H A D | token_get_all_TOKEN_PARSE_001.phpt | 10 $x->$continue; 12 $x->continue(); 14 $x->__halt_compiler(); 18 public $x = self::CONTINUE + 1; 44 L4: T_VARIABLE $x 54 L6: T_VARIABLE $x 64 L8: T_VARIABLE $x 79 L12: T_VARIABLE $x
|
/PHP-8.3/ext/ffi/tests/ |
H A D | 003.phpt | 11 struct _a {int x;}; 13 struct _b {int x;}; 17 struct _c {int x;}; 19 struct _d {int x;}; 46 ["x"]=> 50 ["x"]=> 54 ["x"]=> 58 ["x"]=>
|
/PHP-8.3/ext/openssl/tests/ |
H A D | openssl_spki_export_basic.phpt | 43 return sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x', mt_rand(0, 0xffff),
|
H A D | openssl_spki_verify_basic.phpt | 39 return sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x', mt_rand(0, 0xffff),
|
/PHP-8.3/Zend/tests/type_declarations/variance/ |
H A D | abstract_constructor.phpt | 8 abstract function __construct(X $x); 11 function __construct(object $x) {} 14 function __construct(Y $x) {} 18 Fatal error: Could not check compatibility between C::__construct(Y $x) and A::__construct(X $x), b…
|
/PHP-8.3/ext/opcache/tests/ |
H A D | fe_fetch_dce.phpt | 14 $x = 1; 15 foreach ($a as $x) { 16 $x = 2.0; 18 var_dump($x);
|