Home
last modified time | relevance | path

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

12345678910>>...73

/php-src/Zend/tests/
H A Dbug72335.phpt8 $x = (1<<53)+1;
10 $x = 1.0 * ($x - (1<<53));
12 return $x;
H A Darray_add_indirect.phpt6 $x = 1;
9 var_dump($ary['x']);
10 $x = 2;
11 var_dump($ary['x']);
H A Dobjects_021.phpt14 return x();
18 return x();
22 return x();
26 function x() {
30 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 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 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];
/php-src/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-src/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-src/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-src/ext/opcache/tests/jit/
H A Dassign_dim_004.phpt10 function offsetExists($x): bool {}
11 function offsetGet($x): mixed {}
12 function offsetSet($x, $y): void {
13 echo "offsetSet($x, $y)\n";
15 function offsetUnset($x): void {}
H A Dbug80839.phpt15 $x = $str . str_repeat($pad, 15); // $x now contains "yyyyyyyyyyyyyyy"
16 var_dump($x);
21 // $x has been changed ????
22 // $x contains what was echoed in the function 'info'
23 var_dump($x);
H A Dfetch_dim_r_004.phpt29 $x="a";
31 foo($x.$y);
32 foo("2x");
33 $x=2;
34 $y="x";
35 foo($x.$y);
57 Warning: Illegal string offset "2x" in %sfetch_dim_r_004.php on line 5
60 Warning: Illegal string offset "2x" in %sfetch_dim_r_004.php on line 5
/php-src/ext/gmp/tests/
H A D002.phpt7 function fact($x) {
8 if($x <= 1)
11 return gmp_mul($x,fact($x-1));
/php-src/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-src/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-src/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-src/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-src/ext/dom/tests/modern/html/serializer/
H A DHTMLDocument_serialize_ns_imported_02.phpt26 <x>
28 <test xmlns="x:y"/>
34 </x>
39 <x>
41 <test xmlns="x:y"/>
47 </x>
50 <x>
52 <test xmlns="x:y"></test>
58 </x>
H A DHTMLDocument_serialize_ns_imported_05.phpt26 <x>
28 <test xmlns="x:y"/>
34 </x>
39 <x>
41 <test xmlns="x:y"/>
47 </x>
50 <x>
52 <test xmlns="x:y"></test>
58 </x>
/php-src/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…

Completed in 22 milliseconds

12345678910>>...73