Re: failing to upgrade to DB_DataObject 1.7.3 - Invalid dependency
| From: | Alan Richmond | Date: | Sat, 25 Dec 2004 23:16:24 +0000 |
| Subject: | Re: failing to upgrade to DB_DataObject 1.7.3 - Invalid dependency | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16466@lists.php.net to get a copy of this message | ||
On Friday 24 December 2004 21:15, Ken Restivo wrote:
> I'm confused too. DOes this mean that 1.7.3 doesn't work with 4.3.10? Or
> that 1.7.2 doesn't work with 4.3.10?
>
> What I'm putting tgether is this:
> - DBDO 1.7.2 works with 4.3.10, as long as you turn overloading off
> - DBDO 1.7.3 does *not* work with 4.3.10, but works with snapshots
Overloading is broken on PHP 4.3.10. Overloading is used by default in DB_DO.
1.7.3 was an attempt to prevent installation of DB_DO on PHP 4.3.10. If you
do not use overloading (automatic getters/setters) and turn on the "do not
use overloading" constant DBDO works just fine on 4.3.10. Otherwise DB_DO
will cause a segfault when using an overloaded method. Using any other
method will NULL the object's properties. This PHP bug is corrected in CVS.
http://bugs.php.net/bug.php?id=31106
-Alan
--
Alan Richmond
Aardwolf Web
http://www.aardwolfweb.com