Home
last modified time | relevance | path

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

12345678910>>...52

/PHP-7.0/ext/date/tests/
H A Ddate_time_immutable.phpt21 dump($v, $z, $x);
25 dump($v, $z, $x);
31 dump($v, $z, $x);
35 dump($v, $z, $x);
41 dump($v, $z, $x);
45 dump($v, $z, $x);
51 dump($v, $z, $x);
55 dump($v, $z, $x);
59 dump($v, $z, $x);
65 dump($v, $z, $x);
[all …]
/PHP-7.0/Zend/tests/
H A Drope_with_exception.phpt7 function __get($x) {
13 $x = new Obj;
15 $r = "$y|$x->x|";
22 $x = new Obj;
24 $r = "$y$x->x|";
31 $x = new Obj;
33 $r = "$y|$y$x->x";
43 #0 %s(%d): Obj->__get('x')
47 #0 %s(%d): Obj->__get('x')
51 #0 %s(%d): Obj->__get('x')
H A Dnowdoc_015.phpt10 $x = <<<EOF
12 var_dump($x);
14 $x = <<<'EOF'
16 var_dump($x);
18 $x = <<<EOF
21 var_dump($x);
23 $x = <<<'EOF'
26 var_dump($x);
28 $x = <<<EOF
36 var_dump($x);
[all …]
H A Dbug30820.phpt9 private static $x;
12 Blah::$x = 1;
13 $this->x = 5; // no warning, but refers to different variable
15 echo 'Blah::$x = '. Blah::$x ."\n";
16 echo '$this->x = '. $this->x ."\n";
24 Notice: Accessing static property Blah::$x as non static in %sbug30820.php on line 7
25 Blah::$x = 1
27 Notice: Accessing static property Blah::$x as non static in %sbug30820.php on line 10
28 $this->x = 5
H A Dclosure_009.phpt6 $x = function ($x) use ($a) {
10 echo $x.':'.$a."\n";
12 $y = function ($x) use (&$a) {
16 echo $x.':'.$a."\n";
18 $x(1);
19 $x(2);
20 $x(3);
H A Ddereference_002.phpt10 $x = array();
11 $x[] = 3;
12 $x[] = array(1, 5);
13 $x[] = new foo;
14 return $x;
22 var_dump($x[0]);
24 var_dump($x->bar());
25 var_dump($x->bar()[0]);
27 $x = array();
28 $x[] = new foo;
[all …]
H A Dtemporary_cleaning_002.phpt6 function __get($x) {
11 $x = new Obj;
15 $r = "$y|$x->x|";
20 $r = "$x->x|$y|";
25 $r = "$y|$y|$x->x";
/PHP-7.0/ext/pcre/pcrelib/testdata/
H A Dtestinput213 typical). The others require the link size to be 2. */x
8 /^[aL](?P<name>(?:[AaLl]+)[^xX-]*?)(?P<other>[\x{150}-\x{250}\x{300}]|
9 [^\x{800}aAs-uS-U\x{d800}-\x{dfff}])++[^#\b\x{500}\x{1000}]{3,5}$
10 /x
16 --%x
/PHP-7.0/ext/gd/libgd/
H A Dgd_arc_f_buggy.c42 int x;
114 pt[1].x = cx + axis_pt[(i + 1) & 3].x;
369 pt[0].x = cx + (flip_x ? (-pt[0].x) : pt[0].x);
373 pt[2].x = cx + (flip_x ? (-pt[2].x) : pt[2].x);
391 pt[0].x = cx + (flip_x ? (-pt[0].x) : pt[0].x);
393 pt[1].x = cx + (flip_x ? (-pt[1].x) : pt[1].x);
395 pt[2].x = cx + (flip_x ? (-pt[2].x) : pt[2].x);
450 lg -= 2 * (pt[0].x - pt[2].x);
459 for (x = (int) (lx2 / 2); x <= (int) (x2 / 2); x++)
520 lg += 2 * (pt[0].x - pt[2].x);
[all …]
H A Dgd_interpolation.c305 x=(-x); in KernelBessel_Order1()
467 if (x < 1.0) return ((2.0 * x - 3) * x * x + 1.0 ); in filter_hermite()
485 if (x < 0.5) return (0.75 - x*x); in filter_bell()
508 return(KM_P0+x*x*(KM_P2-x*KM_P3)); in filter_mitchell()
510 return(KM_P0+x*x*(KM_P2+x*KM_P3)); in filter_mitchell()
532 if (x <= 1.5) return (x * x - 2.5* x + 1.5); in filter_quadratic()
549 if (x <= 0) c = 0.0f; else c = x*x*x; in filter_bspline()
562 if (x <= 1.5) return (0.5 * x * x - 1.5 * x + 1.125); in filter_quadratic_bspline()
2488 for (x = 0; x <= end_x; x++) { in gdTransformAffineCopy()
2502 for (x = 0; x <= end_x; x++) { in gdTransformAffineCopy()
[all …]
H A Dgd.c630 for (x = 0; x < to->sx; x++) { in gdImagePaletteCopy()
1327 for (x = x1; x <= x2; x++) { in gdImageAALine()
1914 for (x=x1; x>=0 && gdImageGetPixel(im,x, y)==oc; x--) { in gdImageFill()
1982 for (x=x1; x>=0 && (!pts[y][x] && gdImageGetPixel(im,x,y)==oc); x--) { in _gdImageFillTiled()
2008 skip: for(x++; x<=x2 && (pts[y][x] || gdImageGetPixel(im,x, y)!=oc); x++); in _gdImageFillTiled()
2141 for (x = x1; (x <= x2); x++) { in _gdImageFilledHRectangle()
2186 for (x = x1; (x <= x2); x++) { in _gdImageFilledVRectangle()
2213 for (x = 0; (x < w); x++) { in gdImageCopy()
2223 for (x = 0; (x < w); x++) { in gdImageCopy()
2860 for (x = 0; x < sx; x++) { in gdImageCompare()
[all …]
/PHP-7.0/ext/standard/tests/array/
H A Dbug28739.phpt6 public $x;
7 function __construct($x){$this->x=$x;}
9 function a(&$a, &$b){var_dump(__FUNCTION__);return $a->x - $b->x;}
10 function b(&$a, &$b){var_dump(__FUNCTION__);return $a->x - $b->x;}
27 [x] => 0
32 [x] => 1
37 [x] => 2
55 [x] => 1
/PHP-7.0/ext/gd/tests/
H A Dlines.phpt22 for ($x=1; $x<5; $x++) {
23 $p3 = $p3 && (imagecolorat($im, $x,5)==0x00ff00);
53 $x=1;
57 $p3 = $p3 && (imagecolorat($im, $x,$y)==0x00ff00);
58 $x++;
70 for ($x=0; $x<6; $x++) {
72 $p3 = $p3 && (imagecolorat($im, $x,$y)!=0x00ff00);
83 for ($x=0; $x<6; $x++) {
85 $p3 = $p3 && (imagecolorat($im, $x,$y)!=0x00ff00);
96 for ($x=0; $x<5; $x++) {
[all …]
H A Dbug53504.phpt21 …['fontSize' => 50, 'angle' => 0, 'x' => 20, 'y' => 70, 'text' => 'AV Teg', 'exp' => [2,15, 208,15,…
29 …['fontSize' => 100, 'angle' => 0, 'x' => 350, 'y' => 220, 'text' => '-', 'exp' => [7,-37, 51,-37, …
30 …['fontSize' => 100, 'angle' => 0, 'x' => 430, 'y' => 220, 'text' => ',', 'exp' => [7,15, 21,15, 21…
31 …['fontSize' => 100, 'angle' => 0, 'x' => 510, 'y' => 220, 'text' => '.', 'exp' => [7,1, 21,1, 21,-…
32 …['fontSize' => 100, 'angle' => 0, 'x' => 590, 'y' => 220, 'text' => '|', 'exp' => [8,0, 17,0, 17,-…
33 …['fontSize' => 100, 'angle' => 0, 'x' => 670, 'y' => 220, 'text' => 'g', 'exp' => [5,29, 60,29, 60…
66 $test['x'], $test['y'], $black, $font, $test['text']);
68 // check if both bboxes match when adding x/y offset:
70 if ($bbox[$i] + $test['x'] !== $bboxDrawn[$i]) echo "imageftbbox and imagefttext differ!\n";
79 imageline($g, $test['x'], $test['y'],
[all …]
/PHP-7.0/tests/lang/operators/
H A Doverloaded_property_ref.phpt7 function &__get($x) { return $this->bar; }
8 function __set($x, $v) { $this->bar = $v; }
10 $x = new C;
11 var_dump(++$x->foo);
12 $x = new C;
13 var_dump($x->foo++);
14 $x = new C;
15 var_dump($x->foo += 2);
/PHP-7.0/tests/classes/
H A Dstatic_properties_003.phpt6 public static $x = 'C::$x';
13 var_dump(isset($c->x));
14 unset($c->x);
15 echo $c->x;
16 $c->x = 1;
18 $c->x =& $ref;
19 var_dump($c->x, C::$x);
33 Notice: Accessing static property C::$x as non static in %s on line 11
35 Notice: Accessing static property C::$x as non static in %s on line 12
37 Notice: Undefined property: C::$x in %s on line 12
[all …]
H A Dfactory_and_singleton_001.phpt8 protected $x;
24 $this->x = $x;
36 return $this->x;
41 return test::$test->x;
56 echo "Create x and y\n";
57 $x = test::factory(1);
61 var_dump($x->get());
64 echo "Destruct x\n";
65 $x = NULL;
86 Create x and y
[all …]
/PHP-7.0/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.0/ext/standard/tests/strings/
H A Dvprintf_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';
89 1e240 x fffffb2e 4d2
97 1e240 x ff439a5b bc65a5
105 7b x ffffff85 7b
113 1 x 1 1
121 1 x 0 1
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
/PHP-7.0/ext/hash/
H A Dhash_gost.c92 x[0] = x[2]; \
93 x[1] = x[3]; \
94 x[2] = x[4]; \
95 x[3] = x[5]; \
96 x[4] = x[6]; \
97 x[5] = x[7]; \
104 x[0] = x[4]; \
105 x[2] = x[6]; \
110 x[1] = x[5]; \
111 x[3] = x[7]; \
[all …]
/PHP-7.0/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.0/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';
45 string(9) "changed.x"
63 string(9) "changed.x"
67 string(9) "changed.x"

Completed in 80 milliseconds

12345678910>>...52