php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35128 imageDashedline horizontal don't work
Submitted: 2005-11-06 17:58 UTC Modified: 2005-11-06 23:15 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: swolf at x-project dot net Assigned:
Status: Not a bug Package: GD related
PHP Version: 5CVS-2005-11-06 (snap) OS: Gentoo ~X86
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: swolf at x-project dot net
New email:
PHP Version: OS:

 

 [2005-11-06 17:58 UTC] 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!!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-06 23:15 UTC] sniper@php.net
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.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Jul 04 23:01:33 2025 UTC