xref: /PHP-8.4/ext/gd/tests/bug79067.phpt (revision a375d547)
1--TEST--
2Bug #79067 (gdTransformAffineCopy() may use unitialized values)
3--EXTENSIONS--
4gd
5--FILE--
6<?php
7$matrix = [1, 1, 1, 1, 1, 1];
8$src = imagecreatetruecolor(8, 8);
9var_dump(imageaffine($src, $matrix));
10?>
11--EXPECT--
12bool(false)
13