/PHP-7.2/Zend/tests/ |
H A D | indirect_property_access.phpt | 11 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 D | closure_009.phpt | 12 $y = function ($x) use (&$a) { 21 $y(4); 22 $y(5); 23 $y(6);
|
H A D | foreach_005.phpt | 7 foreach($a as &$y) { 8 echo "$x-$y\n"; 9 $y++;
|
H A D | call_user_func_006.phpt | 17 $y = 42; 18 $ref =& $y; 19 call_user_func('Foo\bar', $y); 20 var_dump($y);
|
H A D | foreach_008.phpt | 7 foreach ($a as &$y) { 8 echo "$x - $y\n"; 9 if ($x == 0 && $y == 1) {
|
/PHP-7.2/tests/classes/ |
H A D | factory_and_singleton_001.phpt | 54 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 D | factory_and_singleton_002.phpt | 54 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 D | static_properties_003_error1.phpt | 6 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 D | static_properties_003_error2.phpt | 6 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 D | static_properties_003_error3.phpt | 6 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 D | static_properties_003.phpt | 7 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 D | bug38465.phpt | 16 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 D | bug66356.phpt | 12 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 D | bug53156.phpt | 12 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 D | server007.phpt | 7 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 D | bug48678.phpt | 7 $y = unserialize(serialize($x)); 8 print_r($y); 12 [y] => 3 31 [y] => 3
|
H A D | date-lenient.phpt | 6 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 D | password_needs_rehash.phpt | 14 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 D | zend_strtod.c | 721 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 D | bug71334.phpt | 14 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 D | bug7515.phpt | 22 $y=ob_get_contents(); 24 if ($x == $y) { 29 y=$y
|
/PHP-7.2/ext/gd/libgd/ |
H A D | gd_webp.c | 44 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 D | gd_xbm.c | 46 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 D | gd2time.c | 17 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 D | gdparttopng.c | 15 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()
|