Re: DB_DataObject bug with overload function for version > 4.3.2

From: Date: Wed, 17 Sep 2003 10:09:49 +0000
Subject: Re: DB_DataObject bug with overload function for version > 4.3.2
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-21620@lists.php.net to get a copy of this message
This is a known bug with Zend Optimizer/Accelerator - Zeev has promised to fix it ... I think the manual is incorrect (although it will disapear in PHP5 as it's built in.) Regards Alan Pascal Van Hecke wrote:
Hi, I found that in my installed version (PHP Version 4.3.3) DB/DataObject.php ( * $Id: DataObject.php,v 1.95 2003/05/20 12:56:25 alan_k Exp $) segfaults on line 2167 if ((phpversion() != '4.3.2-RC1') && (version_compare( phpversion(), "4.3.1") > 0)) { On http://php.belnet.be/manual/en/function.overload.php I found that overload() is (4.2.0 - 4.3.2 only) . Shouldn't this line than be changed to: if ((phpversion() != '4.3.2-RC1') && (version_compare( phpversion(), "4.3.1") > 0) && (version_compare( phpversion(), "4.3.2") <= 0)) { Regards, pascal van hecke
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

« previous php.pear.dev (#21620) next »