Home
last modified time | relevance | path

Searched refs:color (Results 1 – 25 of 138) sorted by relevance

123456

/php-src/ext/standard/tests/strings/
H A Dshow_source_variation2.phpt24 string(1705) "<pre><code style="color: #000000"><span style="color: #0000BB">&lt;?php
25color: #007700">echo </span><span style="color: #DD0000">"*** Test by calling method or function w…
26 …><span style="color: #0000BB">$foo </span><span style="color: #007700">= </span><span style="color
27color: #0000BB">$baz </span><span style="color: #007700">= </span><span style="color: #DD0000">"so…
29 …<span style="color: #0000BB">$foo </span><span style="color: #007700">== </span><span style="color
31 …<span style="color: #0000BB">$baz </span><span style="color: #007700">= </span><span style="color:…
34 </span><span style="color: #FF8000">/* some code here */
35color: #0000BB">$source </span><span style="color: #007700">= </span><span style="color: #0000BB">…
37 …span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color
38 </span><span style="color: #0000BB">?&gt;
H A Dshow_source_variation1.phpt25 <pre><code style="color: #000000"><span style="color: #0000BB">&lt;?php
26color: #007700">echo </span><span style="color: #DD0000">"*** Test by calling method or function w…
27 …><span style="color: #0000BB">$foo </span><span style="color: #007700">= </span><span style="color
28color: #0000BB">$baz </span><span style="color: #007700">= </span><span style="color: #DD0000">"so…
30 …<span style="color: #0000BB">$foo </span><span style="color: #007700">== </span><span style="color
32 …<span style="color: #0000BB">$baz </span><span style="color: #007700">= </span><span style="color:…
35 </span><span style="color: #FF8000">/* some code here */
36 </span><span style="color: #007700">echo </span><span style="color: #0000BB">$baz</span><span style…
37 …an style="color: #0000BB">show_source</span><span style="color: #007700">(</span><span style="colo…
38 echo </span><span style="color: #0000BB">$foo</span><span style="color: #007700">;
[all …]
H A Dshow_source_basic.phpt24 <pre><code style="color: #000000"><span style="color: #0000BB">&lt;?php
25color: #007700">echo </span><span style="color: #DD0000">"*** Test by calling method or function w…
26 …><span style="color: #0000BB">$foo </span><span style="color: #007700">= </span><span style="color
27color: #0000BB">$baz </span><span style="color: #007700">= </span><span style="color: #DD0000">"so…
29 …<span style="color: #0000BB">$foo </span><span style="color: #007700">== </span><span style="color
31 …><span style="color: #0000BB">$baz </span><span style="color: #007700">= </span><span style="color
34 </span><span style="color: #FF8000">/* some code here */
36 …an style="color: #0000BB">show_source</span><span style="color: #007700">(</span><span style="colo…
38 </span><span style="color: #0000BB">?&gt;
H A Dhighlight_file.phpt45color: #000000"><span style="color: #0000BB">&lt;?php </span><span style="color: #007700">echo </s…
46 …re><code style="color: #000000"><span style="color: #0000BB">&lt;?php </span><span style="color: #…
47 <pre><code style="color: #000000">
48 <span style="color: #0000BB">&lt;?php
49 </span><span style="color: #007700">class </span><span style="color: #0000BB">test </span><span sty…
50 …an><span style="color: #0000BB">$var </span><span style="color: #007700">= </span><span style="col…
51 …pan style="color: #0000BB">foo</span><span style="color: #007700">() { echo </span><span style="co…
52color: #0000BB">bar</span><span style="color: #007700">() { </span><span style="color: #0000BB">va…
54 </span><span style="color: #0000BB">?&gt;</span></code></pre>bool(true)
/php-src/sapi/cli/tests/
H A D014.phpt39 string(1158) "<pre><code style="color: #000000">
40 <span style="color: #0000BB">&lt;?php
41 …n><span style="color: #007700">= </span><span style="color: #DD0000">"var"</span><span style="colo…
43 </span><span style="color: #007700">class </span><span style="color: #0000BB">test </span><span sty…
44 private </span><span style="color: #0000BB">$var </span><span style="color: #007700">= array();
46 …<span style="color: #0000BB">foo</span><span style="color: #007700">(</span><span style="color: #0…
47 echo </span><span style="color: #DD0000">"hello"</span><span style="color: #007700">;
48 …<span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="colo…
52 …<span style="color: #0000BB">$o </span><span style="color: #007700">= new </span><span style="colo…
53 </span><span style="color: #0000BB">?&gt;
/php-src/sapi/cgi/tests/
H A D008.phpt44 <pre><code style="color: #000000">
45 <span style="color: #0000BB">&lt;?php
46 …n><span style="color: #007700">= </span><span style="color: #DD0000">"var"</span><span style="colo…
48 </span><span style="color: #007700">class </span><span style="color: #0000BB">test </span><span sty…
49 private </span><span style="color: #0000BB">$var </span><span style="color: #007700">= array();
51 …<span style="color: #0000BB">foo</span><span style="color: #007700">(</span><span style="color: #0…
52 echo </span><span style="color: #DD0000">"hello"</span><span style="color: #007700">;
53 …<span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="colo…
57 …<span style="color: #0000BB">$o </span><span style="color: #007700">= new </span><span style="colo…
58 </span><span style="color: #0000BB">?&gt;
/php-src/tests/strings/
H A D004.phpt16color: #000000">&lt;br /&gt;<span style="color: #0000BB">&lt;?php </span><span style="color: #0077…
17color: #000000">&lt;br /&gt;<span style="color: #0000BB">&lt;?php </span><span style="color: #0077…
H A Dbug26703.phpt14color: #000000"><span style="color: #0000BB">&lt;?php </span><span style="color: #007700">echo </s…
/php-src/ext/gd/libgd/
H A Dgd_color_match.c14 int color, rgb; in gdImageColorMatch() local
36 color = im2->pixels[y][x]; in gdImageColorMatch()
38 bp = buf + (color * 5); in gdImageColorMatch()
47 for (color=0; color<im2->colorsTotal; color++) { in gdImageColorMatch()
50 im2->red[color] = *(bp++) / count; in gdImageColorMatch()
51 im2->green[color] = *(bp++) / count; in gdImageColorMatch()
52 im2->blue[color] = *(bp++) / count; in gdImageColorMatch()
53 im2->alpha[color] = *(bp++) / count; in gdImageColorMatch()
H A Dgd_crop.c85 int color, match; in gdImageCropAuto() local
95 color = gdImageGetTransparent(im); in gdImageCropAuto()
112 color = gdImageGetTransparent(im); in gdImageCropAuto()
124 match = (color == c2); in gdImageCropAuto()
263 *color = tr; in gdGuessBackgroundColorFromCorners()
266 *color = tl; in gdGuessBackgroundColorFromCorners()
269 *color = tl; in gdGuessBackgroundColorFromCorners()
272 *color = tl; in gdGuessBackgroundColorFromCorners()
275 *color = tl; in gdGuessBackgroundColorFromCorners()
278 *color = tr; in gdGuessBackgroundColorFromCorners()
[all …]
/php-src/Zend/tests/
H A Dbug35655.phpt22 <pre><code style="color: #000000">
23 <span style="color: #0000BB">&lt;?php
24 $x </span><span style="color: #007700">= &lt;&lt;&lt;EOT
25 </span><span style="color: #DD0000">some string
26 </span><span style="color: #007700">EOT
27 …pan><span style="color: #0000BB">$y </span><span style="color: #007700">= </span><span style="colo…
28 </span><span style="color: #0000BB">?&gt;</span></code></pre>
/php-src/Zend/tests/heredoc_nowdoc/
H A Dnowdoc_013.phpt23 <pre><code style="color: #000000"><span style="color: #0000BB">&lt;?php
24 $x </span><span style="color: #007700">= &lt;&lt;&lt;'EOT'
25 </span><span style="color: #DD0000">some string
26 </span><span style="color: #007700">EOT
27 …pan><span style="color: #0000BB">$y </span><span style="color: #007700">= </span><span style="colo…
28 </span><span style="color: #0000BB">?&gt;</span></code></pre>
H A Dnowdoc_014.phpt21 <pre><code style="color: #000000"><span style="color: #0000BB">&lt;?php
22 $x </span><span style="color: #007700">= &lt;&lt;&lt;'EOT'
24 …pan><span style="color: #0000BB">$y </span><span style="color: #007700">= </span><span style="colo…
25 </span><span style="color: #0000BB">?&gt;</span></code></pre>
/php-src/ext/gd/tests/
H A Dbug52070.phpt15 $color = imagecolorallocate($im, 255, 255, 255);
16 imagedashedline($im, 800, 400, 300, 400, $color);
17 imagedashedline($im, 800, 400, 300, 800, $color);
18 imagedashedline($im, 800, 400, 400, 800, $color);
19 imagedashedline($im, 800, 400, 500, 800, $color);
20 imagedashedline($im, 800, 400, 600, 800, $color);
21 imagedashedline($im, 800, 400, 700, 800, $color);
22 imagedashedline($im, 800, 400, 800, 800, $color);
/php-src/Zend/tests/enum/
H A Dimplements.phpt7 public function color(): string;
16 public function color(): string {
24 echo Suit::Hearts->color() . "\n";
25 echo Suit::Diamonds->color() . "\n";
26 echo Suit::Clubs->color() . "\n";
27 echo Suit::Spades->color() . "\n";
H A Dbacked-implements.phpt7 public function color(): string;
16 public function color(): string {
24 echo Suit::Hearts->color() . "\n";
25 echo Suit::Diamonds->color() . "\n";
26 echo Suit::Clubs->color() . "\n";
27 echo Suit::Spades->color() . "\n";
/php-src/ext/phar/tests/
H A Dfrontcontroller3.phpt16color: #000000"><span style="color: #0000BB">&lt;?php </span><span style="color: #007700">function…
H A Dfrontcontroller9.phpt16color: #000000"><span style="color: #0000BB">&lt;?php </span><span style="color: #007700">function…
H A Dfrontcontroller15.phpt16color: #000000"><span style="color: #0000BB">&lt;?php </span><span style="color: #007700">function…
/php-src/sapi/phpdbg/
H A Dphpdbg_set.c35 …PHPDBG_SET_COMMAND_D(color, "usage: set color <element> <color>", 'c', set_color, …
142 PHPDBG_SET(color) /* {{{ */ in PHPDBG_SET() argument
144 const phpdbg_color_t *color = phpdbg_get_color(param->next->str, param->next->len); in PHPDBG_SET() local
146 if (!color) { in PHPDBG_SET()
153 phpdbg_notice("setting prompt color to %s (%s)", color->name, color->code); in PHPDBG_SET()
158 phpdbg_set_color(PHPDBG_COLOR_PROMPT, color); in PHPDBG_SET()
162 phpdbg_notice("setting error color to %s (%s)", color->name, color->code); in PHPDBG_SET()
163 phpdbg_set_color(PHPDBG_COLOR_ERROR, color); in PHPDBG_SET()
167 phpdbg_notice("setting notice color to %s (%s)", color->name, color->code); in PHPDBG_SET()
168 phpdbg_set_color(PHPDBG_COLOR_NOTICE, color); in PHPDBG_SET()
/php-src/ext/phar/tests/cache_list/
H A Dfrontcontroller9.phpt17color: #000000"><span style="color: #0000BB">&lt;?php </span><span style="color: #007700">function…
/php-src/ext/phar/tests/zip/
H A Dfrontcontroller9.phar.phpt16color: #000000"><span style="color: #0000BB">&lt;?php </span><span style="color: #007700">function…
H A Dfrontcontroller3.phar.phpt18color: #000000"><span style="color: #0000BB">&lt;?php </span><span style="color: #007700">function…
/php-src/ext/phar/tests/tar/
H A Dfrontcontroller3.phar.phpt16color: #000000"><span style="color: #0000BB">&lt;?php </span><span style="color: #007700">function…
H A Dfrontcontroller9.phar.phpt16color: #000000"><span style="color: #0000BB">&lt;?php </span><span style="color: #007700">function…

Completed in 28 milliseconds

123456