Home
last modified time | relevance | path

Searched refs:x (Results 76 – 100 of 1816) sorted by relevance

12345678910>>...73

/php-src/ext/gd/tests/
H A Dbug77198_auto.phpt12 function createWhiteImageWithBlackPixelAt($x, $y)
16 imagesetpixel($im, $x, $y, 0x000000);
21 for ($x = 0; $x < 8; $x++) {
22 if (($x == 0 && ($y == 0 || $y == 7)) || ($x == 7 && ($y == 0 || $y == 7))) {
25 $orig = createWhiteImageWithBlackPixelAt($x, $y);
28 printf("Pixel at %d, %d: unexpected NULL crop\n", $x, $y);
32 printf("Pixel at %d, %d: unexpected width (%d)\n", $x, $y, $width);
36 printf("Pixel at %d, %d: unexpected height (%d)\n", $x, $y, $height);
40 printf("Pixel at %d, %d: unexpected color (%d)\n", $x, $y, $color);
/php-src/Zend/tests/in-de-crement/
H A Dincrement_diagnostic_change_type_do_operator.phpt10 global $x;
11 $x = gmp_init(10);
14 $x = 'foo!';
15 $x++;
16 var_dump($x);
19 $x = '!';
20 $x++;
21 var_dump($x);
/php-src/ext/pcre/tests/
H A Dsplit.phpt6 var_dump(preg_split('/*/', 'x'));
8 var_dump(preg_split('/[\s, ]+/', 'x yy,zzz'));
9 var_dump(preg_split('/[\s, ]+/', 'x yy,zzz', -1));
10 var_dump(preg_split('/[\s, ]+/', 'x yy,zzz', 0));
11 var_dump(preg_split('/[\s, ]+/', 'x yy,zzz', 1));
12 var_dump(preg_split('/[\s, ]+/', 'x yy,zzz', 2));
23 string(1) "x"
31 string(1) "x"
39 string(1) "x"
47 string(8) "x yy,zzz"
[all …]
/php-src/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-src/ext/gd/libgd/
H A Dgd_filter.c71 for (x = 0; x < im->sx; x++) { in gdImageScatterEx()
93 for (x = 0; x < im->sx; x++) { in gdImageScatterEx()
116 int x, y; in gdImageNegate() local
129 for (x=0; x<src->sx; ++x) { in gdImageNegate()
149 int x, y; in gdImageGrayScale() local
166 for (x=0; x<src->sx; ++x) { in gdImageGrayScale()
205 for (x=0; x<src->sx; ++x) { in gdImageBrightness()
251 for (x=0; x<src->sx; ++x) { in gdImageContrast()
306 for (x=0; x<src->sx; ++x) { in gdImageColor()
363 for(x=0; x<src->sx; x++) { in gdImageConvolution()
[all …]
/php-src/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;
56 ["x":protected]=>
/php-src/ext/opcache/tests/jit/
H A Dundef_to_typed_ref.phpt10 public string $x;
15 $test->x = "";
16 $r =& $test->x;
22 $test->x = "";
23 $r =& $test->x;
29 $test->x = "";
30 $a[0] =& $test->x;
36 $test->x = "";
37 $a[0] =& $test->x;
43 $test->x = "";
[all …]
H A Dcmp_006.phpt12 $x = 1;
14 var_dump($x == 1);
18 $x = 1.0;
20 var_dump($x == 1.0);
24 $x = 1;
29 var_dump($x == $y);
33 $x = 1.0;
38 var_dump($x == $y);
46 Warning: Undefined variable $x in %s on line %d
49 Warning: Undefined variable $x in %s on line %d
H A Dgh8461-007.inc3 $x = 0;
14 global $x;
15 $x++;
22 global $x;
23 $x += self::A;
40 global $x;
41 $x += 1;
/php-src/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-src/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-src/ext/ffi/tests/
H A D047.phpt9 $x = FFI::cdef()->new("int");
10 $x->cdata = 42;
11 var_dump($x);
13 $x = FFI::cdef()->new("int*");
15 $x->cdata = 42;
16 var_dump($x);
21 $x = FFI::cdef()->new("struct {int cdata;}");
23 $x->cdata = 42;
24 var_dump($x);
H A D040.phpt17 $x = $ffi->new("int");
18 $x->cdata = 5;
19 var_dump($x);
20 var_dump(FFI::typeof($x));
22 $p = FFI::addr($x);
25 var_dump($x);
26 var_dump(FFI::sizeof($x));
27 var_dump(FFI::alignof($x));
28 FFI::memset($x, ord("a"), 4);
29 var_dump(FFI::string($x, 4));
[all …]
/php-src/ext/hash/
H A Dhash_gost.c88 x[0] = x[2]; \
89 x[1] = x[3]; \
90 x[2] = x[4]; \
91 x[3] = x[5]; \
92 x[4] = x[6]; \
93 x[5] = x[7]; \
100 x[0] = x[4]; \
101 x[2] = x[6]; \
106 x[1] = x[5]; \
107 x[3] = x[7]; \
[all …]
/php-src/Zend/tests/stack_limit/
H A Dstack_limit_012.phpt23 }, 'x');
32 string(%d) "0x%x"
34 string(%d) "0x%x"
36 string(%d) "0x%x"
38 string(%d) "0x%x"
H A Dstack_limit_009.phpt21 string(%d) "0x%x"
23 string(%d) "0x%x"
25 string(%d) "0x%x"
27 string(%d) "0x%x"
/php-src/ext/date/tests/
H A DDateTimeZone_getTransitions_bug1.phpt27 1648342200 2022-03-27T00:50:00+00:00 0 x GMT
29 1667091600 2022-10-30T01:00:00+00:00 0 x GMT
31 1698541200 2023-10-29T01:00:00+00:00 0 x GMT
37 1667725200 2022-11-06T09:00:00+00:00 -28800 x PST
39 1699174800 2023-11-05T09:00:00+00:00 -28800 x PST
44 1293861600 2011-01-01T06:00:00+00:00 -21600 x CST
46 1320562800 2011-11-06T07:00:00+00:00 -21600 x CST
48 1352012400 2012-11-04T07:00:00+00:00 -21600 x CST
53 1645095600 2022-02-17T11:00:00+00:00 3600 x CET
55 1667091600 2022-10-30T01:00:00+00:00 3600 x CET
[all …]
/php-src/Zend/tests/
H A Dpow_array_leak.phpt6 $x = [0];
8 $x **= 1;
12 var_dump($x);
14 $x = [0];
16 $x **= $x;
20 var_dump($x);
H A Dbug29883.phpt5 $x = "bug";
6 var_dump(isset($x[-10]));
7 var_dump(isset($x[1]));
8 var_dump(isset($x["1"]));
9 var_dump($x[-10])."\n";
10 var_dump($x[1])."\n";
11 var_dump($x["1"])."\n";
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());
/php-src/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);

Completed in 60 milliseconds

12345678910>>...73