diff options
Diffstat (limited to 'ext/gd/tests/imageflip.phpt')
| -rw-r--r-- | ext/gd/tests/imageflip.phpt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/gd/tests/imageflip.phpt b/ext/gd/tests/imageflip.phpt index f4660940a2..8a439075f2 100644 --- a/ext/gd/tests/imageflip.phpt +++ b/ext/gd/tests/imageflip.phpt @@ -1,13 +1,13 @@ ---TEST-- -Testing imageflip() of GD library ---SKIPIF-- -<?php -if ( ! extension_loaded('gd') || !function_exists('imageflip')) die( 'skip GD not present; skipping test' ); -?> +--TEST-- +Testing imageflip() of GD library +--SKIPIF-- +<?php +if ( ! extension_loaded('gd') || !function_exists('imageflip')) die( 'skip GD not present; skipping test' ); +?> --FILE-- <?php -$im = imagecreatetruecolor( 99, 99 ); +$im = imagecreatetruecolor( 99, 99 ); imagesetpixel($im, 0, 0, 0xFF); imagesetpixel($im, 0, 98, 0x00FF00); @@ -22,8 +22,8 @@ var_dump(dechex(imagecolorat($im, 0, 0))); var_dump(dechex(imagecolorat($im, 0, 98))); var_dump(dechex(imagecolorat($im, 98, 0))); var_dump(dechex(imagecolorat($im, 98, 98))); -?> ---EXPECT-- +?> +--EXPECT-- string(2) "ff" string(4) "ff00" string(6) "ff0000" |
