diff options
Diffstat (limited to 'ext/gd/tests/imagefilltoborder_error6.phpt')
-rw-r--r-- | ext/gd/tests/imagefilltoborder_error6.phpt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ext/gd/tests/imagefilltoborder_error6.phpt b/ext/gd/tests/imagefilltoborder_error6.phpt index b5ce53b0d6..03ac65be9c 100644 --- a/ext/gd/tests/imagefilltoborder_error6.phpt +++ b/ext/gd/tests/imagefilltoborder_error6.phpt @@ -1,16 +1,16 @@ ---TEST-- -Testing wrong param passing imagefilltoborder() of GD library ---CREDITS-- -Ivan Rosolen <contato [at] ivanrosolen [dot] com> +--TEST-- +Testing wrong param passing imagefilltoborder() of GD library +--CREDITS-- +Ivan Rosolen <contato [at] ivanrosolen [dot] com> #testfest PHPSP on 2009-06-30 ---SKIPIF-- -<?php -if (!extension_loaded("gd")) die("skip GD not present"); -?> +--SKIPIF-- +<?php +if (!extension_loaded("gd")) die("skip GD not present"); +?> --FILE-- <?php -// Create a image -$image = imagecreatetruecolor( 100, 100 ); +// Create a image +$image = imagecreatetruecolor( 100, 100 ); // Draw a rectangle imagefilledrectangle( $image, 0, 0, 100, 100, imagecolorallocate( $image, 255, 255, 255 ) ); @@ -22,7 +22,7 @@ imageellipse( $image, 50, 50, 50, 50, imagecolorallocate( $image, 0, 0, 0 ) ); $image_foo = tmpfile(); imagefilltoborder( $image_foo, 50, 50, imagecolorallocate( $image, 0, 0, 0 ), imagecolorallocate( $image, 255, 0, 0 ) ); -?> +?> --EXPECTF-- Warning: imagefilltoborder(): supplied resource is not a valid Image resource in %s on line %d |