/PHP-8.0/ext/standard/tests/array/ |
H A D | array_splice_basic.phpt | 14 // $input is now array("red", "green") 20 // $input is now array("red", "green") 26 // $input is now array("red", "yellow") 37 // $input is now array("red", "green", 44 // $input is now array("red", "green", 60 string(3) "red" 73 string(3) "red" 86 string(3) "red" 101 string(3) "red" 111 string(3) "red" [all …]
|
H A D | array_fill_variation5.phpt | 130 string(3) "red" 137 string(3) "red" 147 string(3) "red" 154 string(3) "red" 164 string(3) "red" 171 string(3) "red" 181 string(3) "red" 188 string(3) "red" 198 string(3) "red" 205 string(3) "red" [all …]
|
H A D | array_combine.phpt | 5 $array1 = array('green', 'red', 'yellow'); 34 [red] => red 40 [red] => 2 46 [red] => 1 52 [red] => 58 [2] => red 82 [1] => red
|
H A D | array_diff_assoc.phpt | 5 $array1 = array("a" => "green", "b" => "brown", "c" => "blue", "red", ""); 6 $array2 = array("a" => "green", "yellow", "red", TRUE); 7 $array3 = array("red", "a"=>"brown", ""); 21 [0] => red 36 [1] => red
|
H A D | array_reverse_variation6.phpt | 15 array('color' => 'red', 'item' => 'pen', 'place' => 'LA'), 21 array('a' => 'green', 'red', 'brown', 33, 88, 'orange', 'item' => 'ball') 50 string(3) "red" 78 string(3) "red" 104 string(3) "red" 132 string(3) "red" 145 string(3) "red" 173 string(3) "red"
|
H A D | array_intersect_key_variation8.phpt | 10 'first' => array('blue' => 1, 'red' => 2), 19 'first' => array('blue' => 1, 'red' => 2,), 35 ["red"]=> 49 ["red"]=>
|
H A D | array_reverse_basic1.phpt | 12 $array = array("a", "green", "red", 'blue', 10, 13.33); 33 string(3) "red" 47 string(3) "red" 61 string(3) "red"
|
H A D | array_diff_uassoc_basic.phpt | 15 $array1 = array("a" => "green", "b" => "brown", "c" => "blue", "red"); 16 $array2 = array("a" => "green", "yellow", "red"); 27 string(3) "red"
|
H A D | array_diff_key2.phpt | 5 $array1 = array("a" => "green", "b" => "brown", "c" => "blue", "red", ""); 6 $array2 = array("a" => "green", "yellow", "red", TRUE); 7 $array3 = array("red", "a"=>"brown", "");
|
H A D | array_unshift_variation6.phpt | 20 array('color' => 'red', 'item' => 'pen', 'place' => 'LA'), 26 array('a' => 'green', 'red', 'brown', 33, 88, 'orange', 'item' => 'ball') 80 string(3) "red" 104 string(3) "red" 128 string(3) "red" 152 string(3) "red" 170 string(3) "red" 185 string(3) "red"
|
H A D | array_diff_key_basic.phpt | 8 $array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4); 14 ["red"]=>
|
H A D | bug42838.phpt | 14 $array1 = array("a" => "green", "b" => "Brown", 'c' => 'blue', 0 => 'red'); 15 $array2 = array("a" => "green", "b" => "Brown", 'c' => 'blue', 0 => 'red');
|
/PHP-8.0/ext/gd/tests/ |
H A D | copyresized.phpt | 55 $red = imagecolorallocate($src_tc, 255,0,0); 57 imagefilledrectangle($src_tc, 0,0,4,4, $red); 58 imagefilledrectangle($src_tc, 14,0,18,4, $red); 59 imagefilledrectangle($src_tc, 0,14,4,18, $red); 61 imagefilledrectangle($src_tc, 7,7,11,11, $red); 71 $red = imagecolorallocate($src_tc, 255,0,0); 73 imagefilledrectangle($src_tc, 0,0,4,4, $red); 74 imagefilledrectangle($src_tc, 14,0,18,4, $red); 75 imagefilledrectangle($src_tc, 0,14,4,18, $red); 77 imagefilledrectangle($src_tc, 7,7,11,11, $red); [all …]
|
H A D | bug53154.phpt | 13 $red = imagecolorallocate($im, 255, 0, 0); 14 imagerectangle($im, 5, 5, 95, 5, $red); 15 var_dump(imagecolorat($im, 5, 4) !== $red); 16 var_dump(imagecolorat($im, 5, 6) !== $red); 17 var_dump(imagecolorat($im, 95, 4) !== $red); 18 var_dump(imagecolorat($im, 95, 6) !== $red);
|
H A D | bug67447.phpt | 13 $red = imagecolorallocate($image, 255, 0, 0); 14 imagefill($image, 0, 0, $red); 16 var_dump(imagecolorat($cropped, 249, 249) === $red); 23 $red = imagecolorallocate($image, 255, 0, 0); 24 imagefill($image, 0, 0, $red); 33 ["red"]=>
|
H A D | bug40764.phpt | 12 $red = imagecolorallocate($image, 255, 0, 0); 23 imageline($image, 200, 0, 200, 400, $red); 24 imageline($image, 0, 200, 400, 200, $red); 25 imageline($image, 0, 0, 392, 392, $red);
|
H A D | test_image_equals_file_palette.phpt | 13 $red = imagecolorallocate($im, 255, 0, 0); 14 imagefilledrectangle($im, 3,3, 7,7, $red); 29 $red = imagecolorallocate($im, 255, 0, 0); 30 imagefilledrectangle($im, 3,3, 7,7, $red);
|
H A D | colorresolve.phpt | 73 [red] => 255 80 [red] => 255 87 [red] => 246 95 [red] => 255 102 [red] => 255 109 [red] => 246
|
H A D | colorclosest.phpt | 90 [red] => 255 97 [red] => 254 104 [red] => 246 113 [red] => 255 120 [red] => 254 127 [red] => 246
|
H A D | imagecopyresampled_variation1.phpt | 45 $red = ($color & 0xFF0000) >> 16; 51 if (!($red >= EXP_RED - 1 && $red <= EXP_RED + 1)) { 52 printf("red: expected roughly %d, got %d\n", EXP_RED, $red);
|
H A D | imagecolorallocate_variation5.phpt | 19 $red = 10; 43 fn() => imagecolorallocate($im, $red, $value, $blue), 44 fn() => imagecolorallocate($im, $red, $green, $value) 62 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive) 82 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive)
|
H A D | bug77200.phpt | 12 $red = imagecolorallocate($orig, 255, 0, 0); 17 imagefilledrectangle($orig, 4, 0, 7, 3, $red); // tr 24 imagefilledrectangle($orig, 0, 0, 3, 3, $red); // tl
|
H A D | imagecolorallocate_variation6.phpt | 50 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive) 51 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive) 58 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive) 59 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive) 66 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive) 67 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive)
|
/PHP-8.0/ext/gd/libgd/ |
H A D | gdxpm.c | 26 int red = 0, green = 0, blue = 0; in gdImageCreateFromXpm() local 51 red = strtol(buf, NULL, 16); in gdImageCreateFromXpm() 64 red = strtol(buf, NULL, 16); in gdImageCreateFromXpm() 80 red = strtol(buf, NULL, 16); in gdImageCreateFromXpm() 81 red /= 64; in gdImageCreateFromXpm() 102 red = strtol(buf, NULL, 16); in gdImageCreateFromXpm() 103 red /= 256; in gdImageCreateFromXpm() 122 colors[i] = gdImageColorResolve(im, red, green, blue); in gdImageCreateFromXpm()
|
H A D | gddemo.c | 22 int red; in main() local 54 red = gdImageColorAllocate (im_out, 255, 0, 0); in main() 103 (unsigned char *) "hi", red); in main() 105 (unsigned char *) "hi", red); in main()
|