xref: /PHP-7.2/ext/gd/tests/bug66882.phpt (revision 2e34febb)
1--TEST--
2Bug #66882 (imagerotate by -90 degrees truncates image by 1px)
3--SKIPIF--
4<?php
5if (!extension_loaded('gd')) die('skip gd extension not available');
6?>
7--FILE--
8<?php
9$im = imagerotate(imagecreate(10, 10), -90, 0);
10var_dump(imagesy($im), imagesx($im));
11?>
12--EXPECT--
13int(10)
14int(10)
15