/php-src/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_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_combine.phpt | 5 $array1 = array('green', 'red', 'yellow'); 35 ["red"]=> 36 string(3) "red" 43 ["red"]=> 51 ["red"]=> 59 ["red"]=> 68 string(3) "red" 100 string(3) "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_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_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_diff_key_basic.phpt | 8 $array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4); 14 ["red"]=>
|
/php-src/ext/gd/tests/ |
H A D | copyresized.phpt | 53 $red = imagecolorallocate($src_tc, 255,0,0); 55 imagefilledrectangle($src_tc, 0,0,4,4, $red); 56 imagefilledrectangle($src_tc, 14,0,18,4, $red); 57 imagefilledrectangle($src_tc, 0,14,4,18, $red); 59 imagefilledrectangle($src_tc, 7,7,11,11, $red); 69 $red = imagecolorallocate($src_tc, 255,0,0); 71 imagefilledrectangle($src_tc, 0,0,4,4, $red); 72 imagefilledrectangle($src_tc, 14,0,18,4, $red); 73 imagefilledrectangle($src_tc, 0,14,4,18, $red); 75 imagefilledrectangle($src_tc, 7,7,11,11, $red); [all …]
|
H A D | bug53154.phpt | 14 $red = imagecolorallocate($im, 255, 0, 0); 15 imagerectangle($im, 5, 5, 95, 5, $red); 16 var_dump(imagecolorat($im, 5, 4) !== $red); 17 var_dump(imagecolorat($im, 5, 6) !== $red); 18 var_dump(imagecolorat($im, 95, 4) !== $red); 19 var_dump(imagecolorat($im, 95, 6) !== $red);
|
H A D | bug67447.phpt | 9 $red = imagecolorallocate($image, 255, 0, 0); 10 imagefill($image, 0, 0, $red); 12 var_dump(imagecolorat($cropped, 249, 249) === $red); 19 $red = imagecolorallocate($image, 255, 0, 0); 20 imagefill($image, 0, 0, $red); 29 ["red"]=>
|
H A D | bug40764.phpt | 10 $red = imagecolorallocate($image, 255, 0, 0); 21 imageline($image, 200, 0, 200, 400, $red); 22 imageline($image, 0, 200, 400, 200, $red); 23 imageline($image, 0, 0, 392, 392, $red);
|
H A D | colorresolve.phpt | 71 [red] => 255 78 [red] => 255 85 [red] => 246 93 [red] => 255 100 [red] => 255 107 [red] => 246
|
H A D | test_image_equals_file_palette.phpt | 17 $red = imagecolorallocate($im, 255, 0, 0); 18 imagefilledrectangle($im, 3,3, 7,7, $red); 33 $red = imagecolorallocate($im, 255, 0, 0); 34 imagefilledrectangle($im, 3,3, 7,7, $red);
|
H A D | colorclosest.phpt | 88 [red] => 255 95 [red] => 254 102 [red] => 246 111 [red] => 255 118 [red] => 254 125 [red] => 246
|
H A D | imagecopyresampled_variation1.phpt | 43 $red = ($color & 0xFF0000) >> 16; 49 if (!($red >= EXP_RED - 1 && $red <= EXP_RED + 1)) { 50 printf("red: expected roughly %d, got %d\n", EXP_RED, $red);
|
H A D | imagecolorallocate_variation5.phpt | 18 $red = 10; 42 fn() => imagecolorallocate($im, $red, $value, $blue), 43 fn() => imagecolorallocate($im, $red, $green, $value) 61 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive) 81 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive)
|
H A D | bug77200.phpt | 13 $red = imagecolorallocate($orig, 255, 0, 0); 18 imagefilledrectangle($orig, 4, 0, 7, 3, $red); // tr 25 imagefilledrectangle($orig, 0, 0, 3, 3, $red); // tl
|
H A D | copy.phpt | 42 $p1 = $c1['red'] == 0xff && $c1['blue']==0x00 && $c1['green']==0x00; 43 $p2 = $c2['red'] == 0x00 && $c2['blue']==0xff && $c2['green']==0x00; 44 $p3 = $c3['red'] == 0x00 && $c3['blue']==0x00 && $c3['green']==0xff; 71 $p1 = $c1['red'] == 0xff && $c1['blue']==0x00 && $c1['green']==0x00; 72 $p2 = $c2['red'] == 0x00 && $c2['blue']==0xff && $c2['green']==0x00; 73 $p3 = $c3['red'] == 0x00 && $c3['blue']==0x00 && $c3['green']==0xff;
|
H A D | imagecolorallocate_variation6.phpt | 49 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive) 50 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive) 57 !! [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) 65 !! [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)
|
/php-src/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()
|