mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
a375d54785
Cf. PR #6787. Closes GH-6994.
13 lines
221 B
PHP
13 lines
221 B
PHP
--TEST--
|
|
Bug #66882 (imagerotate by -90 degrees truncates image by 1px)
|
|
--EXTENSIONS--
|
|
gd
|
|
--FILE--
|
|
<?php
|
|
$im = imagerotate(imagecreate(10, 10), -90, 0);
|
|
var_dump(imagesy($im), imagesx($im));
|
|
?>
|
|
--EXPECT--
|
|
int(10)
|
|
int(10)
|