xref: /PHP-7.3/ext/gd/tests/bug79067.phpt (revision 2c586051)
1--TEST--
2Bug #79067 (gdTransformAffineCopy() may use unitialized values)
3--SKIPIF--
4<?php
5if (!extension_loaded('gd')) die('skip gd extension not available');
6?>
7--FILE--
8<?php
9$matrix = [1, 1, 1, 1, 1, 1];
10$src = imagecreatetruecolor(8, 8);
11var_dump(imageaffine($src, $matrix));
12?>
13--EXPECT--
14bool(false)
15