ID: 35128 Updated by: [EMAIL PROTECTED] Reported By: swolf at x-project dot net -Status: Open +Status: Bogus Bug Type: GD related Operating System: Gentoo ~X86 -PHP Version: 4CVS-2005-11-06 (snap) +PHP Version: 5CVS-2005-11-06 (snap) New Comment:
You say you used PHP 5 snapshot, yet you reported this as '4CVS..' ? Which one is it? Also, you have used weird function names. They're all lower cased in PHP. And if I copy'n'paste that script, it only outputs the content of the script. (hint: most sane people have short-tag disabled!) Feel free to submit better report in future, this is not acceptable. Previous Comments: ------------------------------------------------------------------------ [2005-11-06 17:58:56] swolf at x-project dot net Description: ------------ I use a selfcompiled version from PHP Version 5.1.0RC5-dev Only vertical lines you can create, the horizontal lines are not visible Reproduce code: --------------- <? $pic = ImageCreate (150, 50); $bg = ImageColoralLocate($pic, 230,230,230); $dl = ImageColoralLocate($pic, 50, 50, 50); ImageDashedLine($pic, 1, 36, 149, 36, $dl); // don't work imageDashedline($pic, 37, 2, 37, 49, $dl); // works header('Content-Type: image/jpeg'); imagegif($pic); ?> Expected result: ---------------- You can only show the vertical lines!!! Actual result: -------------- PHP don't crash!! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35128&edit=1