Home
last modified time | relevance | path

Searched refs:y (Results 51 – 75 of 478) sorted by relevance

12345678910>>...20

/PHP-7.2/Zend/tests/
H A Dindirect_property_access.phpt11 public $y = 'foo';
18 var_dump((new bar)->y); // foo
19 var_dump((new $x)->y); // foo
20 var_dump((new $bar->y)->x); // 1
H A Dclosure_009.phpt12 $y = function ($x) use (&$a) {
21 $y(4);
22 $y(5);
23 $y(6);
H A Dforeach_005.phpt7 foreach($a as &$y) {
8 echo "$x-$y\n";
9 $y++;
H A Dcall_user_func_006.phpt17 $y = 42;
18 $ref =& $y;
19 call_user_func('Foo\bar', $y);
20 var_dump($y);
H A Dforeach_008.phpt7 foreach ($a as &$y) {
8 echo "$x - $y\n";
9 if ($x == 0 && $y == 1) {
/PHP-7.2/tests/classes/
H A Dfactory_and_singleton_001.phpt54 echo "Create x and y\n";
56 $y = test::factory(2);
60 var_dump($y->get());
66 var_dump($y->get());
68 echo "Destruct y\n";
69 $y = NULL;
84 Create x and y
93 Destruct y
H A Dfactory_and_singleton_002.phpt54 echo "Create x and y\n";
56 $y = test::factory(2);
60 var_dump($y->get());
66 var_dump($y->get());
68 echo "Destruct y\n";
69 $y = NULL;
84 Create x and y
93 Destruct y
H A Dstatic_properties_003_error1.phpt6 protected static $y = 'C::$y';
11 unset($c->y);
17 Fatal error: Uncaught Error: Cannot access protected property C::$y in %s:8
H A Dstatic_properties_003_error2.phpt6 protected static $y = 'C::$y';
11 echo $c->y;
17 Fatal error: Uncaught Error: Cannot access protected property C::$y in %s:8
H A Dstatic_properties_003_error3.phpt6 protected static $y = 'C::$y';
11 $c->y = 1;
17 Fatal error: Uncaught Error: Cannot access protected property C::$y in %s:8
H A Dstatic_properties_003.phpt7 protected static $y = 'C::$y';
22 var_dump(isset($c->y));
23 //unset($c->y); // Fatal error, tested in static_properties_003_error1.phpt
24 //echo $c->y; // Fatal error, tested in static_properties_003_error2.phpt
25 //$c->y = 1; // Fatal error, tested in static_properties_003_error3.phpt
26 //$c->y =& $ref; // Fatal error, tested in static_properties_003_error4.phpt
/PHP-7.2/ext/reflection/tests/
H A Dbug38465.phpt16 public function y($a = self::Y, $b = Baz::B, $c = 99) {}
51 Bar::y($a = 2)
52 Bar::y($b = 3)
53 Bar::y($c = 99)
59 Bar::y($a = 2)
60 Bar::y($b = 3)
61 Bar::y($c = 99)
/PHP-7.2/ext/gd/tests/
H A Dbug66356.phpt12 var_dump(imagecrop($img, array("x" => "a", "y" => 0, "width" => 10, "height" => 10)));
14 $arr = array("x" => "a", "y" => "12b", "width" => 10, "height" => 10);
19 var_dump(imagecrop($img, array("x" => 0, "y" => 0, "width" => -1, "height" => 10)));
22 var_dump(imagecrop($img, array("x" => -20, "y" => -20, "width" => 10, "height" => 10)));
25 var_dump(imagecrop($img, array("x" => 0x7fffff00, "y" => 0, "width" => 10, "height" => 10)));
28 var_dump(imagecrop($img, array("x" => 0, "y" => 0, "width" => 65535, "height" => 65535)));
36 [y] => 12b
H A Dbug53156.phpt12 function draw_and_check_pixel($x, $y)
16 echo (imagecolorat($img, $x, $y) === $black) ? '+' : '-';
17 imagesetpixel($img, $x, $y, $red);
27 $y = ($y1 + $y2) / 2;
29 draw_and_check_pixel($x1, $y);
31 draw_and_check_pixel($x2, $y);
/PHP-7.2/ext/soap/tests/
H A Dserver007.phpt7 function Add($x,$y) {
8 return $x+$y;
10 function Sub($x,$y) {
11 return $x-$y;
/PHP-7.2/ext/date/tests/
H A Dbug48678.phpt7 $y = unserialize(serialize($x));
8 print_r($y);
12 [y] => 3
31 [y] => 3
H A Ddate-lenient.phpt6 print_r( date_parse_from_format( 'm/d/y', $date ) );
7 print_r( date_parse_from_format( 'm/d/y+', $date ) );
8 print_r( date_parse_from_format( '+m/d/y', $date ) );
9 print_r( date_parse_from_format( 'm/d/y++', $date ) );
12 print_r( date_parse_from_format( 'm/d/y+', $date ) );
13 print_r( date_parse_from_format( '+m/d/y', $date ) );
/PHP-7.2/ext/standard/tests/password/
H A Dpassword_needs_rehash.phpt14 var_dump(password_needs_rehash('$2y$10$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y', PASS…
17 var_dump(password_needs_rehash('$2y$10$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y', PASS…
20 var_dump(password_needs_rehash('$2y$10$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y', PASS…
23 var_dump(password_needs_rehash('$2y$10$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y', PASS…
27 var_dump(password_needs_rehash('$2y$'.$cost.'$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y…
30 var_dump(password_needs_rehash('$2y$10$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y', PASS…
/PHP-7.2/Zend/
H A Dzend_strtod.c721 Long x, y; local
724 for(k = 0, y = 1; x > y; y <<= 1, k++) ;
786 (y) ULong *y; in lo0bits() argument
788 (ULong *y)
827 *y = x;
858 ULong y; local
2618 y = 10*y + c - '0';
2672 y = 10*y + c;
3024 y = 0;
3026 y = 10*y + s0[i] - '0';
[all …]
/PHP-7.2/ext/standard/tests/array/
H A Dbug71334.phpt14 private function _mySort($x, $y)
20 if (!isset($this->a[$y])) {
21 throw new Exception('Missing Y: "' . $y . '"');
24 return $x < $y;
/PHP-7.2/tests/lang/
H A Dbug7515.phpt22 $y=ob_get_contents();
24 if ($x == $y) {
29 y=$y
/PHP-7.2/ext/gd/libgd/
H A Dgd_webp.c44 int x, y; in gdImageCreateFromWebpCtx() local
86 for (y = 0, p = argb; y < height; y++) { in gdImageCreateFromWebpCtx()
92 im->tpixels[y][x] = gdTrueColorAlpha(r, g, b, a); in gdImageCreateFromWebpCtx()
105 int x, y; in gdImageWebpCtx() local
136 for (y = 0; y < gdImageSY(im); y++) { in gdImageWebpCtx()
140 c = im->tpixels[y][x]; in gdImageWebpCtx()
H A Dgd_xbm.c46 int bit, x = 0, y = 0; in gdImageCreateFromXbm() local
145 gdImageSetPixel(im, x++, y, (b & bit) ? 1 : 0); in gdImageCreateFromXbm()
148 y++; in gdImageCreateFromXbm()
149 if (y == im->sy) { in gdImageCreateFromXbm()
181 int x, y, c, b, sx, sy, p; in gdImageXbmCtx() local
213 for (y = 0; y < sy; y++) { in gdImageXbmCtx()
215 if (gdImageGetPixel(image, x, y) == fg) { in gdImageXbmCtx()
H A Dgd2time.c17 int x, y, w, h; in main() local
30 y = atoi (argv[4]); in main()
34 printf ("Extracting %d times from (%d, %d), size is %dx%d\n", c, x, y, w, h); in main()
46 im = gdImageCreateFromGd2Part (in, x, y, w, h); in main()
H A Dgdparttopng.c15 int x, y, w, h; in main() local
30 y = atoi (argv[4]); in main()
34 printf ("Extracting from (%d, %d), size is %dx%d\n", x, y, w, h); in main()
36 im = gdImageCreateFromGd2Part (in, x, y, w, h); in main()

Completed in 35 milliseconds

12345678910>>...20