Home
last modified time | relevance | path

Searched refs:green (Results 1 – 25 of 94) sorted by relevance

1234

/PHP-8.2/ext/standard/tests/array/
H A Darray_splice_basic.phpt11 $input = array("red", "green", "blue", "yellow");
14 // $input is now array("red", "green")
20 // $input is now array("red", "green")
37 // $input is now array("red", "green",
44 // $input is now array("red", "green",
62 string(5) "green"
75 string(5) "green"
80 string(5) "green"
93 string(5) "green"
113 string(5) "green"
[all …]
H A Darray_combine.phpt5 $array1 = array('green', 'red', 'yellow');
33 [green] => green
39 [green] => 1
45 [green] => 0
51 [green] => 1
57 [1] => green
81 [0] => green
105 [1] => green
H A Darray_fill_variation5.phpt24 array( 'color' => 'red' , 2 => 'green ' ),
26 array( TRUE => "red" , FALSE => "green" ),
30 array( ""=>1, "color" => "green"),
149 string(6) "green "
156 string(6) "green "
183 string(5) "green"
190 string(5) "green"
200 string(5) "green"
207 string(5) "green"
255 string(5) "green"
[all …]
H A Darray_diff_assoc.phpt5 $array1 = array("a" => "green", "b" => "brown", "c" => "blue", "red", "");
6 $array2 = array("a" => "green", "yellow", "red", TRUE);
27 [a] => green
34 [a] => green
H A Darray_intersect_key_basic.phpt8 $array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4);
9 $array2 = array('green' => 5, 'blue' => 6, 'yellow' => 7, 'cyan' => 8);
16 ["green"]=>
H A Darray_intersect_ukey_variation9.phpt8 $array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4);
9 $array2 = array('green' => 5, 'blue' => 6, 'yellow' => 7, 'cyan' => 8);
38 ["green"]=>
44 ["green"]=>
52 ["green"]=>
H A Darray_intersect_uassoc_variation10.phpt8 $array1 = array("a" => "green", "c" => "blue", "red");
9 $array2 = array("a" => "green", "yellow", "red");
37 string(5) "green"
41 string(5) "green"
47 string(5) "green"
H A Darray_intersect_ukey_basic.phpt13 $array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4);
14 $array2 = array('green' => 5, 'blue' => 6, 'yellow' => 7, 'cyan' => 8);
21 ["green"]=>
H A Darray_intersect_uassoc_basic.phpt15 $array1 = array("a" => "green", "b" => "brown", "c" => "blue", "red");
16 $array2 = array("a" => "green", "yellow", "red");
23 string(5) "green"
H A Darray_reverse_basic1.phpt12 $array = array("a", "green", "red", 'blue', 10, 13.33);
35 string(5) "green"
49 string(5) "green"
63 string(5) "green"
H A Darray_diff_key_basic.phpt8 $array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4);
9 $array2 = array('green' => 5, 'blue' => 6, 'yellow' => 7, 'cyan' => 8);
/PHP-8.2/ext/gd/libgd/
H A Dgddemo.c23 int green; in main() local
55 green = gdImageColorAllocate (im_out, 0, 255, 0); in main()
58 gdImageLine (im_out, 16, 16, 240, 16, green); in main()
59 gdImageLine (im_out, 240, 16, 240, 240, green); in main()
60 gdImageLine (im_out, 240, 240, 16, 240, green); in main()
61 gdImageLine (im_out, 16, 240, 16, 16, green); in main()
76 gdImageFilledPolygon (im_out, points, 3, green); in main()
H A Dgdxpm.c26 int red = 0, green = 0, blue = 0; in gdImageCreateFromXpm() local
54 green = strtol(buf, NULL, 16); in gdImageCreateFromXpm()
68 green = strtol(buf, NULL, 16); in gdImageCreateFromXpm()
86 green = strtol(buf, NULL, 16); in gdImageCreateFromXpm()
87 green /= 64; in gdImageCreateFromXpm()
109 green = strtol(buf, NULL, 16); in gdImageCreateFromXpm()
110 green /= 256; in gdImageCreateFromXpm()
122 colors[i] = gdImageColorResolve(im, red, green, blue); in gdImageCreateFromXpm()
/PHP-8.2/ext/gd/tests/
H A Dbug77200.phpt14 $green = imagecolorallocate($orig, 0, 255, 0);
17 imagefilledrectangle($orig, 0, 0, 3, 3, $green); // tl
19 imagefilledrectangle($orig, 0, 4, 3, 7, $green); // bl
26 imagefilledrectangle($orig, 4, 0, 7, 3, $green); // tr
28 imagefilledrectangle($orig, 4, 4, 7, 7, $green); // br
H A Dcolorresolve.phpt72 [green] => 0
79 [green] => 0
86 [green] => 10
94 [green] => 0
101 [green] => 0
108 [green] => 10
H A Dcolorclosest.phpt89 [green] => 0
96 [green] => 0
103 [green] => 10
112 [green] => 0
119 [green] => 0
126 [green] => 10
H A Dimagecopyresampled_variation1.phpt44 $green = ($color & 0x00FF00) >> 8;
52 if (!($green >= EXP_GREEN - 1 && $green <= EXP_GREEN + 1)) {
53 printf("green: expected roughly %d, got %d\n", EXP_GREEN, $green);
H A Dbug75124.phpt20 $green = ($color >> 8) & 0xff;
22 if ($red != $green || $green != $blue) {
H A Dimagecolorallocate_variation5.phpt19 $green = 10;
41 fn() => imagecolorallocate($im, $value, $green, $blue),
43 fn() => imagecolorallocate($im, $red, $green, $value)
62 !! [ValueError] imagecolorallocate(): Argument #3 ($green) must be between 0 and 255 (inclusive)
82 !! [ValueError] imagecolorallocate(): Argument #3 ($green) must be between 0 and 255 (inclusive)
H A Dcopy.phpt42 $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 Dimagecolorallocate_variation6.phpt51 !! [ValueError] imagecolorallocate(): Argument #3 ($green) must be between 0 and 255 (inclusive)
52 !! [ValueError] imagecolorallocate(): Argument #3 ($green) must be between 0 and 255 (inclusive)
59 !! [ValueError] imagecolorallocate(): Argument #3 ($green) must be between 0 and 255 (inclusive)
60 !! [ValueError] imagecolorallocate(): Argument #3 ($green) must be between 0 and 255 (inclusive)
67 !! [ValueError] imagecolorallocate(): Argument #3 ($green) must be between 0 and 255 (inclusive)
68 !! [ValueError] imagecolorallocate(): Argument #3 ($green) must be between 0 and 255 (inclusive)
H A Dimagefilledpolygon_basic.phpt31 // fill polygon with green
70 ["green"]=>
80 ["green"]=>
90 ["green"]=>
/PHP-8.2/ext/session/tests/
H A Dsession_start_variation6.phpt16 $_SESSION['colour'] = 'green';
35 string(5) "green"
46 string(5) "green"
56 string(5) "green"
H A Dsession_start_variation5.phpt16 $_SESSION['colour'] = 'green';
34 string(5) "green"
45 string(5) "green"
H A Dsession_start_variation7.phpt16 $_SESSION['colour'] = 'green';
35 string(5) "green"
46 string(5) "green"

Completed in 23 milliseconds

1234