|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17454 graph problem
Submitted: 2002-05-27 10:23 UTC Modified: 2002-05-27 10:24 UTC
From: endeeuk at yahoo dot com Assigned:
Status: Not a bug Package: *Graphics related
PHP Version: 4.0CVS-2002-05-27 OS: Linux
Private report: No CVE-ID: None
 [2002-05-27 10:23 UTC] endeeuk at yahoo dot com
Hi , All

this is my first script:


require "color.php3";
require "graph.php3";
require "Barchart.php3";

$white = new Color(255,255,255);
$blue = new Color(0,0,255);
$red = new Color(255,0,0);
$green = new Color(0,255,0);

$bar = new Barchart(500,500,$white);

$ar1 = array(12,13,16,2,5,10,0,1,2,8);
$ar2 = array(20,13,-1,2,23,11,1,3,4,9);
$ar3 = array(11,15,20,12,6,-10,28,30,10,0);

$bar->add_Array($ar1, $white);
$bar->add_Array($ar2, $green);
$bar->add_Array($ar3, $red);

When I callinn test.php3  In that case it showed me a graph.

That second one is used this script :

main.php3 ?

<img src='test.php3'>

. In that case my browser was brozen.

What should I do ?

Please help me :

php version is  3.0.11
Gd is 1.3


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-27 10:24 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 17:01:31 2024 UTC