diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 15:37:22 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 19:43:12 +0200 |
commit | 7af945e271d042a4991c9510f78b6ff7ac43ac34 (patch) | |
tree | 31d3b7a69f017cd532c5fe31ce1664d426384f82 /ext/gd/tests/imagecopyresampled_basic.phpt | |
parent | afd534f1634e9a5d631afac39a9c9b09b1ba8b33 (diff) | |
download | php-git-7af945e271d042a4991c9510f78b6ff7ac43ac34.tar.gz |
Trim trailing whitespace in *.phpt
Diffstat (limited to 'ext/gd/tests/imagecopyresampled_basic.phpt')
-rw-r--r-- | ext/gd/tests/imagecopyresampled_basic.phpt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/gd/tests/imagecopyresampled_basic.phpt b/ext/gd/tests/imagecopyresampled_basic.phpt index fd96ab6928..bd816f1fec 100644 --- a/ext/gd/tests/imagecopyresampled_basic.phpt +++ b/ext/gd/tests/imagecopyresampled_basic.phpt @@ -1,8 +1,8 @@ --TEST-- imagecopyresampled() --SKIPIF-- -<?php - if (!function_exists('imagecopyresampled')) die('skip imagecopyresampled() not available'); +<?php + if (!function_exists('imagecopyresampled')) die('skip imagecopyresampled() not available'); if (!(imagetype() & IMG_PNG)) die('skip PNG Support is not enabled'); ?> --FILE-- @@ -11,7 +11,7 @@ imagecopyresampled() /* Prototype : bool imagecopyresampled ( resource $dst_image , resource $src_image , int $dst_x , int $dst_y , int $src_x , int $src_y , int $dst_w , int $dst_h , int $src_w , int $src_h ) * Description: Copy and resize part of an image with resampling. * Source code: ext/standard/image.c - * Alias to functions: + * Alias to functions: */ echo "Simple test of imagecopyresampled() function\n"; @@ -22,7 +22,7 @@ $dest_sml = dirname(realpath(__FILE__)) . '/imagesmall.png'; // create a blank image $image_lge = imagecreatetruecolor(400, 300); -// set the background color to black +// set the background color to black $bg = imagecolorallocate($image_lge, 0, 0, 0); // fill polygon with blue @@ -51,14 +51,14 @@ imagepng($image_sml, $dest_sml); list($width, $height) = getimagesize($dest_sml); echo "Size of copy: width=". $width . " height=" . $height . "\n"; -imagedestroy($image_lge); +imagedestroy($image_lge); imagedestroy($image_sml); - -echo "Done\n"; + +echo "Done\n"; ?> --CLEAN-- -<?php +<?php $dest_lge = dirname(realpath(__FILE__)) . '/imagelarge.png'; $dest_sml = dirname(realpath(__FILE__)) . '/imagesmall.png'; @unlink($dest_lge); |