diff options
| author | Stanislav Malyshev <stas@php.net> | 2013-06-10 14:31:57 -0700 |
|---|---|---|
| committer | Stanislav Malyshev <stas@php.net> | 2013-06-10 14:31:57 -0700 |
| commit | 8ac131503ddeee5b1de8225510f9d2927e903620 (patch) | |
| tree | f02250a3e6cb8712adc02d23eb2e1b0f5dd3b3fd /ext/gd | |
| parent | d7c943e2a1f54c445276fc77369918f33c4f6cce (diff) | |
| parent | 4427d1dcfdca5e5e4b7e1b1226cf4771cc82389f (diff) | |
| download | php-git-8ac131503ddeee5b1de8225510f9d2927e903620.tar.gz | |
Merge branch 'PHP-5.5'
* PHP-5.5:
Merge branch 'pull-request/341'
Merge branch 'pull-request/341'
Diffstat (limited to 'ext/gd')
| -rw-r--r-- | ext/gd/tests/imagecopyresampled_basic.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/gd/tests/imagecopyresampled_basic.phpt b/ext/gd/tests/imagecopyresampled_basic.phpt index a0454faf86..fd96ab6928 100644 --- a/ext/gd/tests/imagecopyresampled_basic.phpt +++ b/ext/gd/tests/imagecopyresampled_basic.phpt @@ -35,9 +35,9 @@ imagefilledellipse($image_lge, 200, 150, 300, 200, $col_ellipse); imagepng($image_lge, $dest_lge); // Get new dimensions -$percent = 0.5; // new image 50% of orginal +$percent = 0.5; // new image 50% of original list($width, $height) = getimagesize($dest_lge); -echo "Size of orginal: width=". $width . " height=" . $height . "\n"; +echo "Size of original: width=". $width . " height=" . $height . "\n"; $new_width = $width * $percent; $new_height = $height * $percent; @@ -66,6 +66,6 @@ echo "Done\n"; ?> --EXPECT-- Simple test of imagecopyresampled() function -Size of orginal: width=400 height=300 +Size of original: width=400 height=300 Size of copy: width=200 height=150 Done |
