Home
last modified time | relevance | path

Searched refs:x (Results 226 – 250 of 1790) sorted by relevance

12345678910>>...72

/PHP-8.3/ext/xmlwriter/tests/
H A Dbug41326.phpt26 $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 Darray_add_indirect.phpt6 $x = 1;
9 var_dump($ary['x']);
10 $x = 2;
11 var_dump($ary['x']);
H A Dbug75420.11.phpt6 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 Dbug75420.13.phpt6 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 Dbug75420.14.phpt6 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 Dbug75420.9.phpt6 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 Dobjects_021.phpt14 return x();
18 return x();
22 return x();
26 function x() {
30 x()
H A Dbug81684.phpt5 $GLOBALS['x'] ??= 'x'; // Fatal error: Invalid opcode 23/1/0
6 var_dump($GLOBALS['x']);
10 string(1) "x"
H A Dbug35470.phpt5 $x = array("test", "55");
6 global ${$x[0]};
7 ${$x[0]} = $x[1];
H A Ddynamic_call_to_ref_returning_function.phpt8 function &retRef($x) {
9 return $x;
15 $closure = function &($x) {
16 return $x;
24 function &method($x) {
25 return $x;
H A Dbug75420.10.phpt6 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 Dbug75420.12.phpt6 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 Dbug73612.phpt7 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 Dgh10496-001.phpt6 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 Diterator_wrapper_leak.phpt16 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 D002.phpt7 function fact($x) {
8 if($x <= 1)
11 return gmp_mul($x,fact($x-1));
/PHP-8.3/ext/filter/tests/
H A D048.phpt25 $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 Dfetch_dim_r_004.phpt30 $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 Dassign_dim_004.phpt11 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 Dtoken_get_all_TOKEN_PARSE_001.phpt10 $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 D003.phpt11 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 Dopenssl_spki_export_basic.phpt43 return sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x', mt_rand(0, 0xffff),
H A Dopenssl_spki_verify_basic.phpt39 return sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x', mt_rand(0, 0xffff),
/PHP-8.3/Zend/tests/type_declarations/variance/
H A Dabstract_constructor.phpt8 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 Dfe_fetch_dce.phpt14 $x = 1;
15 foreach ($a as $x) {
16 $x = 2.0;
18 var_dump($x);

Completed in 21 milliseconds

12345678910>>...72