/php-src/ext/standard/tests/strings/ |
H A D | show_source_variation2.phpt | 24 string(1705) "<pre><code style="color: #000000"><span style="color: #0000BB"><?php 25 …color: #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… 27 …color: #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 */ 35 …color: #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">?>
|
H A D | show_source_variation1.phpt | 25 <pre><code style="color: #000000"><span style="color: #0000BB"><?php 26 …color: #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… 28 …color: #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 D | show_source_basic.phpt | 24 <pre><code style="color: #000000"><span style="color: #0000BB"><?php 25 …color: #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… 27 …color: #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">?>
|
H A D | highlight_file.phpt | 45 …color: #000000"><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </s… 46 …re><code style="color: #000000"><span style="color: #0000BB"><?php </span><span style="color: #… 47 <pre><code style="color: #000000"> 48 <span style="color: #0000BB"><?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… 52 …color: #0000BB">bar</span><span style="color: #007700">() { </span><span style="color: #0000BB">va… 54 </span><span style="color: #0000BB">?></span></code></pre>bool(true)
|
/php-src/sapi/cli/tests/ |
H A D | 014.phpt | 39 string(1158) "<pre><code style="color: #000000"> 40 <span style="color: #0000BB"><?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">?>
|
/php-src/sapi/cgi/tests/ |
H A D | 008.phpt | 44 <pre><code style="color: #000000"> 45 <span style="color: #0000BB"><?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">?>
|
/php-src/tests/strings/ |
H A D | 004.phpt | 16 …color: #000000"><br /><span style="color: #0000BB"><?php </span><span style="color: #0077… 17 …color: #000000"><br /><span style="color: #0000BB"><?php </span><span style="color: #0077…
|
H A D | bug26703.phpt | 14 …color: #000000"><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </s…
|
/php-src/ext/gd/libgd/ |
H A D | gd_color_match.c | 14 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 D | gd_crop.c | 85 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 D | bug35655.phpt | 22 <pre><code style="color: #000000"> 23 <span style="color: #0000BB"><?php 24 $x </span><span style="color: #007700">= <<<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">?></span></code></pre>
|
/php-src/Zend/tests/heredoc_nowdoc/ |
H A D | nowdoc_013.phpt | 23 <pre><code style="color: #000000"><span style="color: #0000BB"><?php 24 $x </span><span style="color: #007700">= <<<'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">?></span></code></pre>
|
H A D | nowdoc_014.phpt | 21 <pre><code style="color: #000000"><span style="color: #0000BB"><?php 22 $x </span><span style="color: #007700">= <<<'EOT' 24 …pan><span style="color: #0000BB">$y </span><span style="color: #007700">= </span><span style="colo… 25 </span><span style="color: #0000BB">?></span></code></pre>
|
/php-src/ext/gd/tests/ |
H A D | bug52070.phpt | 15 $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 D | implements.phpt | 7 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 D | backed-implements.phpt | 7 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 D | frontcontroller3.phpt | 16 …color: #000000"><span style="color: #0000BB"><?php </span><span style="color: #007700">function…
|
H A D | frontcontroller9.phpt | 16 …color: #000000"><span style="color: #0000BB"><?php </span><span style="color: #007700">function…
|
H A D | frontcontroller15.phpt | 16 …color: #000000"><span style="color: #0000BB"><?php </span><span style="color: #007700">function…
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_set.c | 35 …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 D | frontcontroller9.phpt | 17 …color: #000000"><span style="color: #0000BB"><?php </span><span style="color: #007700">function…
|
/php-src/ext/phar/tests/zip/ |
H A D | frontcontroller9.phar.phpt | 16 …color: #000000"><span style="color: #0000BB"><?php </span><span style="color: #007700">function…
|
H A D | frontcontroller3.phar.phpt | 18 …color: #000000"><span style="color: #0000BB"><?php </span><span style="color: #007700">function…
|
/php-src/ext/phar/tests/tar/ |
H A D | frontcontroller3.phar.phpt | 16 …color: #000000"><span style="color: #0000BB"><?php </span><span style="color: #007700">function…
|
H A D | frontcontroller9.phar.phpt | 16 …color: #000000"><span style="color: #0000BB"><?php </span><span style="color: #007700">function…
|