xref: /php-src/ext/gd/tests/bug66882.phpt (revision a375d547)
1--TEST--
2Bug #66882 (imagerotate by -90 degrees truncates image by 1px)
3--EXTENSIONS--
4gd
5--FILE--
6<?php
7$im = imagerotate(imagecreate(10, 10), -90, 0);
8var_dump(imagesy($im), imagesx($im));
9?>
10--EXPECT--
11int(10)
12int(10)
13