PHP4 Bug #1786: Previously working classes give divide by zero errors

From: Date: Wed, 21 Jul 1999 07:58:48 +0000
Subject: PHP4 Bug #1786: Previously working classes give divide by zero errors
Groups: php.dev 
Request: Send a blank email to php-dev+get-8848@lists.php.net to get a copy of this message
From: jd@austin.centergate.com Operating system: linux2.2.25 (redhat) PHP version: 4.0 Beta 1 PHP Bug Type: Other Bug description: Previously working classes give divide by zero errors I didn't write this class, but it might help to find the bugs/changes in php4 that make it incompatible. You can get the class at austin.centergate.com/networklog/class.graph It gives the following errors in php4 (that it doesnt with php3). Warning: Division by zero in class.graph on line 972 Warning: Division by zero in class.graph on line 1135 Warning: Division by zero in class.graph on line 1715 The generated graph doesnt plot any data but generates everything else. In the mean time I've reverted to php3. Great job btw!

« previous php.dev (#8848) next »