Home
last modified time | relevance | path

Searched refs:x (Results 101 – 125 of 1404) sorted by relevance

12345678910>>...57

/PHP-7.4/Zend/tests/
H A Dns_074.phpt8 $x = function (\stdclass $x = NULL) {
9 var_dump($x);
14 $x(NULL);
15 $x(new stdclass);
16 $x(new \stdclass);
H A Dtemporary_cleaning_005.phpt17 $x = 2;
19 while ($x-- && new stdClass) {
20 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
34 $x = 2;
36 while ($x-- && new stdClass) {
37 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
H A Ddereference_013.phpt9 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 Dclosure_004.phpt7 $x = 4;
9 $lambda1 = function () use ($x) {
10 echo "$x\n";
13 $lambda2 = function () use (&$x) {
14 echo "$x\n";
15 $x++;
H A Dforeach_list_keyed.phpt7 ["x" => 1, "y" => 2],
8 ["x" => 2, "y" => 1]
11 foreach ($points as list("x" => $x, "y" => $y)) {
12 var_dump($x, $y);
18 "x" => [1, 2],
H A Dbug44141.phpt7 public $x;
8 private function __construct($x)
10 $this->x = $x;
16 static public function cheat($x)
18 return new Y($x);
23 echo $y->x, PHP_EOL;
H A Dgc_035.phpt9 public $x;
11 unset($this->x);
16 $a->x = [];
17 $a->x[] =& $a->x;
18 $a->x[] = $a;
H A Ddereference_012.phpt7 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 Dbug72543_3.phpt5 $x = new stdClass;
6 $x->a = 1;
7 $ref =& $x->a;
9 var_dump($x->a + ($x->a = 2));
H A D037.phpt8 class closure { static $x = 1;}
10 $x = __NAMESPACE__;
11 var_dump(closure::$x);
13 var_dump($x::$x);
19 Fatal error: Uncaught Error: Access to undeclared static property: Closure::$x in %s:%d
H A Dgc_042.phpt8 $GLOBALS['x'] = $this;
13 $t->x = new stdClass;
14 $t->x->t = $t;
15 $a = (array) $t->x;
18 var_dump($x);
23 ["x"]=>
H A Dbug43651.phpt11 var_dump(is_callable("x\\"));
12 var_dump(is_callable("\\x"));
13 var_dump(is_callable("x\\x"));
14 var_dump(is_callable("x\\\\"));
15 var_dump(is_callable("\\x"));
16 var_dump(is_callable("x\\\\x"));
/PHP-7.4/ext/intl/dateformat/
H A Ddateformat.c37 #define DATEFORMATTER_EXPOSE_CONST(x) REGISTER_LONG_CONSTANT(#x, x, CONST_PERSISTENT | CONST_CS) in dateformat_register_constants() argument
38 …EFORMATTER_EXPOSE_CLASS_CONST(x) zend_declare_class_constant_long( IntlDateFormatter_ce_ptr, ZEND_… in dateformat_register_constants() argument
41 …ATTER_EXPOSE_UCAL_CLASS_CONST(x) zend_declare_class_constant_long( IntlDateFormatter_ce_ptr, ZEND_… in dateformat_register_constants() argument
/PHP-7.4/ext/reflection/tests/
H A Dtraits003.phpt17 $x = new ReflectionClass('foo');
18 var_dump($x->isTrait());
20 $x = new ReflectionClass('bar');
21 var_dump($x->isTrait());
23 $x = new ReflectionClass('baz');
24 var_dump($x->isTrait());
/PHP-7.4/ext/simplexml/tests/
H A Dbug42369.phpt8 $x = simplexml_load_string($xml . "<q><x>foo</x></q>");
12 md5(strval($x->x));
17 md5($x->x);
H A Dbug53033.phpt8 $x = simplexml_load_string('<x>2.5</x>');
9 var_dump($x*1);
11 var_dump($x*1.0);
16 var_dump((string)$x*1);
/PHP-7.4/Zend/
H A Dmicro_bench.php135 $x = Foo::$a;
173 $x = TEST;
179 $x = $_GET;
201 $x = $str[1];
315 $x = new Foo(); variable
316 $x->read_prop(N);
318 $x->write_prop(N);
330 $x->isset_prop(N);
332 $x->empty_prop(N);
334 $x->call(N);
[all …]
/PHP-7.4/ext/hash/
H A Dhash_sha.c172 #define W(i) ( tmp=x[(i-3)&15]^x[(i-8)&15]^x[(i-14)&15]^x[i&15], \
429 #define ROTR32(b,x) ((x >> b) | (x << (32 - b))) argument
430 #define ROTR64(b,x) ((x >> b) | (x << (64 - b))) argument
438 #define SHA256_F2(x) (ROTR32( 2,(x)) ^ ROTR32(13,(x)) ^ ROTR32(22,(x))) argument
440 #define SHA256_F3(x) (ROTR32( 6,(x)) ^ ROTR32(11,(x)) ^ ROTR32(25,(x))) argument
442 #define SHA256_F4(x) (ROTR32( 7,(x)) ^ ROTR32(18,(x)) ^ SHR( 3,(x))) argument
444 #define SHA256_F5(x) (ROTR32(17,(x)) ^ ROTR32(19,(x)) ^ SHR(10,(x))) argument
696 #define SHA512_F2(x) (ROTR64(28, x) ^ ROTR64(34, x) ^ ROTR64(39, x)) argument
698 #define SHA512_F3(x) (ROTR64(14, x) ^ ROTR64(18, x) ^ ROTR64(41, x)) argument
700 #define SHA512_F4(x) (ROTR64( 1, x) ^ ROTR64( 8, x) ^ SHR(7, x)) argument
[all …]
/PHP-7.4/ext/standard/tests/array/
H A Darray_merge_replace_recursive_refs.phpt6 $x = 24;
8 $arr2 = [[&$x]];
9 unset($x);
16 $x = 24;
18 $arr2 = [&$x];
19 unset($x);
/PHP-7.4/ext/opcache/tests/
H A Dleak_001.phpt17 $x = 2;
19 if ($x + $y);
21 if ($x);
23 $a = [[$x]];
28 $x = 2;
29 $a = [1,$x];
/PHP-7.4/ext/gd/tests/
H A Dbug77198_threshold.phpt11 function createWhiteImageWithBlackPixelAt($x, $y)
15 imagesetpixel($im, $x, $y, 0x000000);
20 for ($x = 0; $x < 8; $x++) {
21 $orig = createWhiteImageWithBlackPixelAt($x, $y);
24 printf("Pixel at %d, %d: unexpected NULL crop\n", $x, $y);
28 printf("Pixel at %d, %d: unexpected width (%d)\n", $x, $y, $width);
32 printf("Pixel at %d, %d: unexpected height (%d)\n", $x, $y, $height);
36 printf("Pixel at %d, %d: unexpected color (%d)\n", $x, $y, $color);
/PHP-7.4/ext/spl/tests/
H A Dbug46053.phpt6 $x = new splfileobject(__FILE__);
7 $x->getPathName();
8 $x->seek(10);
9 $x->seek(0);
10 var_dump(trim($x->fgets()));
/PHP-7.4/ext/standard/tests/strings/
H A Dsprintf_variation36.phpt24 "%x", "%xx", "%lx",
25 "%Lx", " %x", "%x ",
26 "\t%x", "\n%x", "%4x",
27 "%30x", "%[0-9A-Fa-f]", "%*x"
53 string(1) "x"
62 string(1) "x"
68 string(1) "x"
77 string(1) "x"
/PHP-7.4/Zend/tests/type_declarations/variance/
H A Dparent_in_class.phpt8 public function method(parent $x) {}
11 public function method(parent $x) {}
17 public function method(parent $x) {}
20 public function method(P2 $x) {}
26 public function method($x): parent {}
29 public function method($x): parent {}
35 public function method(parent $x) {}
38 public function method(parent $x) {}
45 Warning: Declaration of B4::method(A4 $x) should be compatible with A4::method(P4 $x) in %s on line…
47 Warning: Could not check compatibility between B::method(A $x) and A::method(parent $x), because cl…
/PHP-7.4/ext/pdo_sqlite/tests/
H A Dbug44327_2.phpt12 $x = $db->query('select 1 as queryString');
13 var_dump($x, $x->queryString);
15 $y = $x->fetch();
20 $x = $db->query('select 1 as queryString');
21 var_dump($x, $x->queryString);
23 $y = $x->fetch(PDO::FETCH_LAZY);

Completed in 30 milliseconds

12345678910>>...57