📄 bug28147.phpt
字号:
--TEST--Bug #28147 (Crash with anti-aliased line)--SKIPIF--<?php if (!extension_loaded('gd')) die("skip gd extension not available\n"); if (!GD_BUNDLED) die('skip external GD libraries always fail');?>--FILE--<?php//// This script will generate a Seg Fault on Linux//$im = imagecreatetruecolor(300, 300);$w = imagecolorallocate($im, 255, 255, 255);$red = imagecolorallocate($im, 255, 0, 0); imagefilledrectangle($im,0,0,299,299,$w); imageantialias($im,true);imageline($im, 299, 299, 0, 299, $red); imagedestroy($im);echo "Alive\n";?>--EXPECT--Alive
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -