php-8.0.30-src/ext/gd/tests/bug76041.phpt

16 lines
288 B
PHP

--TEST--
Bug #76041 (null pointer access crashed php)
--SKIPIF--
<?php
if (!extension_loaded('gd')) die('skip gd extension not available');
?>
--FILE--
<?php
$im=imagecreate(100, 100);
imageantialias($im, true);
imageline($im, 0, 0, 10, 10, 0xffffff);
?>
===DONE===
--EXPECT--
===DONE===