Home
last modified time | relevance | path

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

12345678910>>...56

/PHP-7.2/ext/standard/tests/strings/
H A Dvprintf_variation14_64bit.phpt23 '%x %+x %-x
24 %lx %Lx %4x %-4x
25 %10.4x %-10.4x %.4x
26 %\'#2x %\'2x %\'$2x %\'_2x
27 %3$x %4$x %1$x %2$x';
89 1e240 x fffffffffffffb2e 4d2
97 1e240 x ffffffffff439a5b bc65a5
105 7b x ffffffffffffff85 7b
113 1 x 1 1
121 1 x 0 1
H A Dvsprintf_variation14.phpt23 '%x %+x %-x
24 %lx %Lx %4x %-4x
25 %10.4x %-10.4x %.4x
26 %\'#2x %\'2x %\'$2x %\'_2x
27 %3$x %4$x %1$x %2$x';
87 1e240 x fffffb2e 4d2
94 1e240 x ff439a5b bc65a5
101 7b x ffffff85 7b
108 1 x 1 1
115 1 x 0 1
H A Dvsprintf_variation14_64bit.phpt23 '%x %+x %-x
24 %lx %Lx %4x %-4x
25 %10.4x %-10.4x %.4x
26 %\'#2x %\'2x %\'$2x %\'_2x
27 %3$x %4$x %1$x %2$x';
87 1e240 x fffffffffffffb2e 4d2
94 1e240 x ffffffffff439a5b bc65a5
101 7b x ffffffffffffff85 7b
108 1 x 1 1
115 1 x 0 1
H A Dvfprintf_variation14.phpt23 '%x %+x %-x
24 %lx %Lx %4x %-4x
25 %10.4x %-10.4x %.4x
26 %\'#2x %\'2x %\'$2x %\'_2x
27 %3$x %4$x %1$x %2$x';
97 1e240 x fffffb2e 4d2
103 1e240 x ff439a5b bc65a5
109 7b x ffffff85 7b
115 1 x 1 1
121 1 x 0 1
H A Dvfprintf_variation14_64bit.phpt23 '%x %+x %-x
24 %lx %Lx %4x %-4x
25 %10.4x %-10.4x %.4x
26 %\'#2x %\'2x %\'$2x %\'_2x
27 %3$x %4$x %1$x %2$x';
97 1e240 x fffffffffffffb2e 4d2
103 1e240 x ffffffffff439a5b bc65a5
109 7b x ffffffffffffff85 7b
115 1 x 1 1
121 1 x 0 1
/PHP-7.2/ext/interbase/tests/
H A Dibase_affected_rows_001.phpt10 $x = ibase_connect($test_base);
12 ibase_query($x, 'INSERT INTO test1 VALUES (1, 100)');
13 ibase_query($x, 'INSERT INTO test1 VALUES (10000, 100)');
15 ibase_query($x, 'UPDATE test1 SET i = 10000');
16 var_dump(ibase_affected_rows($x));
19 ibase_query($x, 'UPDATE test1 SET i = 10000 WHERE i = 2.0');
20 var_dump(ibase_affected_rows($x));
22 ibase_query($x, 'UPDATE test1 SET i =');
23 var_dump(ibase_affected_rows($x));
/PHP-7.2/ext/simplexml/tests/
H A Dbug66084_1.phpt8 echo json_encode(simplexml_load_string('<a><b/><c><x/></c></a>')->c), "\n";
9 echo json_encode(simplexml_load_string('<a><b/><c><x/></c></a>')), "\n";
10 echo json_encode(simplexml_load_string('<a><b/><d/><c><x/></c></a>')), "\n";
11 echo json_encode(simplexml_load_string('<a><b/><c><d/><x/></c></a>')), "\n";
12 echo json_encode(simplexml_load_string('<a><b/><c><d><x/></d></c></a>')), "\n";
15 {"x":{}}
16 {"b":{},"c":{"x":{}}}
17 {"b":{},"d":{},"c":{"x":{}}}
18 {"b":{},"c":{"d":{},"x":{}}}
19 {"b":{},"c":{"d":{"x":{}}}}
/PHP-7.2/tests/lang/
H A Dfunc_get_args.004.phpt5 function valRef($x, &$y) {
6 var_dump($x, $y);
8 $x = 'changed.x';
13 function refVal(&$x, $y) {
14 var_dump($x, $y);
16 $x = 'changed.x';
44 string(9) "changed.x"
62 string(9) "changed.x"
66 string(9) "changed.x"
H A DpassByReference_008.phpt5 function valRef($x, &$y) {
6 var_dump($x, $y);
7 $x = 'changed.x';
11 function refVal(&$x, $y) {
12 var_dump($x, $y);
13 $x = 'changed.x';
38 string(9) "changed.x"
H A Dexecution_order.phpt73 $x = 1;
74 $z = $x - ($x++);
79 $x = 1;
80 $z = ($x++) - $x;
85 $x = 1;
86 $z = $x - (++$x);
91 $x = 1;
92 $z = (++$x) - $x;
98 $x = 1;
100 $z = $x - ($x=$y);
[all …]
H A Dfunc_num_args.004.phpt5 function valRef($x, &$y) {
6 var_dump($x, $y);
8 $x = 'changed.x';
13 function refVal(&$x, $y) {
14 var_dump($x, $y);
16 $x = 'changed.x';
46 string(9) "changed.x"
/PHP-7.2/tests/classes/
H A Dfactory_and_singleton_002.phpt6 protected $x;
11 static function factory($x) {
22 $this->x = $x;
34 return $this->x;
54 echo "Create x and y\n";
55 $x = test::factory(1);
59 var_dump($x->get());
62 echo "Destruct x\n";
63 $x = NULL;
84 Create x and y
[all …]
H A D__set__get_005.phpt7 protected $x;
11 if (isset($this->x[$name])) {
12 return $this->x[$name];
22 $this->x[$name] = $val;
28 protected $x;
32 if (!isset($this->x[$name])) {
33 $this->x[$name] = new Test();
35 return $this->x[$name];
40 $this->x[$name] = $val;
57 ["x":protected]=>
/PHP-7.2/ext/standard/tests/math/
H A Dmt_rand_basic.phpt39 for ($x = 0; $x < count($min); $x++) {
41 $res = mt_rand($min[$x], $max[$x]);
43 if (!is_int($res) || $res < intval($min[$x]) || $res > intval($max[$x])) {
44 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n";
50 echo "PASSED: range min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n";
67 for ($x = 0; $x < count($min); $x++) {
69 $res = mt_rand($min[$x], 100);
71 if (!is_int($res) || $res < intval($minval[$x]) || $res > 100) {
72 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n";
78 echo "PASSED range min = ", intval($min[$x]), " max = 100\n";
H A Drand_basic.phpt39 for ($x = 0; $x < count($min); $x++) {
41 $res = rand($min[$x], $max[$x]);
43 if (!is_int($res) || $res < intval($min[$x]) || $res > intval($max[$x])) {
44 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n";
50 echo "PASSED: range min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n";
67 for ($x = 0; $x < count($min); $x++) {
69 $res = rand($min[$x], 100);
71 if (!is_int($res) || $res < intval($minval[$x]) || $res > 100) {
72 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n";
78 echo "PASSED range min = ", intval($min[$x]), " max = 100\n";
/PHP-7.2/ext/gd/tests/
H A Dbug77198_auto.phpt11 function createWhiteImageWithBlackPixelAt($x, $y)
15 imagesetpixel($im, $x, $y, 0x000000);
20 for ($x = 0; $x < 8; $x++) {
21 if (($x == 0 && ($y == 0 || $y == 7)) || ($x == 7 && ($y == 0 || $y == 7))) {
24 $orig = createWhiteImageWithBlackPixelAt($x, $y);
27 printf("Pixel at %d, %d: unexpected NULL crop\n", $x, $y);
31 printf("Pixel at %d, %d: unexpected width (%d)\n", $x, $y, $width);
35 printf("Pixel at %d, %d: unexpected height (%d)\n", $x, $y, $height);
39 printf("Pixel at %d, %d: unexpected color (%d)\n", $x, $y, $color);
/PHP-7.2/Zend/tests/varSyntax/
H A DindirectFcall.phpt6 function id($x = 'id') { return $x; }
18 $id = function($x) { return $x; };
22 (function($x) { return $x; })('id')('var_dump')(8);
24 ($f = function($x = null) use (&$f) {
25 return $x ?: $f;
29 public static function id($x = [__CLASS__, 'id']) { return $x; }
/PHP-7.2/ext/reflection/tests/
H A Dbug39067.phpt7 private $x;
11 private $x;
15 private $x;
19 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
22 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
25 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
28 private $x;
32 public $x;
36 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
/PHP-7.2/ext/pcre/tests/
H A Dsplit.phpt7 var_dump(preg_split('/*/', 'x'));
9 var_dump(preg_split('/[\s, ]+/', 'x yy,zzz'));
10 var_dump(preg_split('/[\s, ]+/', 'x yy,zzz', -1));
11 var_dump(preg_split('/[\s, ]+/', 'x yy,zzz', 0));
12 var_dump(preg_split('/[\s, ]+/', 'x yy,zzz', 1));
13 var_dump(preg_split('/[\s, ]+/', 'x yy,zzz', 2));
27 string(1) "x"
35 string(1) "x"
43 string(1) "x"
51 string(8) "x yy,zzz"
[all …]
/PHP-7.2/Zend/tests/
H A Dtemporary_cleaning_004.phpt16 $x = 2;
18 while ($x-- && new stdClass) {
19 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
31 $x = 2;
33 while ($x-- && new stdClass) {
34 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
H A Dclosure_035.phpt6 $x = function () use (&$x) {
7 $h = function () use ($x) {
8 var_dump($x);
14 var_dump($x());
21 ["x"]=>
H A Doffset_assign.phpt2 Crash on $x['x']['y'] += 1 when $x is string
5 $x = "a";
6 $x['x']['y'] += 1;
11 Warning: Illegal string offset 'x' in %soffset_assign.php on line %d
H A Dclosure_002.phpt6 $x = 4;
8 $lambda1 = function () use ($x) {
9 echo "$x\n";
12 $lambda2 = function () use (&$x) {
13 echo "$x\n";
18 $x++;
/PHP-7.2/Zend/
H A Dmicro_bench.php31 $x = self::$a;
64 $x = $this->b;
127 $x = $this::TEST;
135 $x = Foo::$a;
165 $x = new Foo();
173 $x = TEST;
179 $x = $_GET;
201 $x = $str[1];
315 $x = new Foo(); variable
316 $x->read_prop(N);
[all …]
/PHP-7.2/ext/hash/
H A Dhash_sha.c177 #define W(i) ( tmp=x[(i-3)&15]^x[(i-8)&15]^x[(i-14)&15]^x[i&15], \
434 #define ROTR32(b,x) ((x >> b) | (x << (32 - b))) argument
435 #define ROTR64(b,x) ((x >> b) | (x << (64 - b))) argument
443 #define SHA256_F2(x) (ROTR32( 2,(x)) ^ ROTR32(13,(x)) ^ ROTR32(22,(x))) argument
445 #define SHA256_F3(x) (ROTR32( 6,(x)) ^ ROTR32(11,(x)) ^ ROTR32(25,(x))) argument
447 #define SHA256_F4(x) (ROTR32( 7,(x)) ^ ROTR32(18,(x)) ^ SHR( 3,(x))) argument
449 #define SHA256_F5(x) (ROTR32(17,(x)) ^ ROTR32(19,(x)) ^ SHR(10,(x))) argument
701 #define SHA512_F2(x) (ROTR64(28, x) ^ ROTR64(34, x) ^ ROTR64(39, x)) argument
703 #define SHA512_F3(x) (ROTR64(14, x) ^ ROTR64(18, x) ^ ROTR64(41, x)) argument
705 #define SHA512_F4(x) (ROTR64( 1, x) ^ ROTR64( 8, x) ^ SHR(7, x)) argument
[all …]

Completed in 43 milliseconds

12345678910>>...56