php-src/ext/gd/tests/bug66882.phpt
Christoph M. Becker a375d54785
Migrate skip checks to --EXTENSIONS-- for ext/gd
Cf. PR #6787.

Closes GH-6994.
2021-05-22 15:38:51 +02:00

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)