PEAR & PHP 4.0.0

From: Date: Mon, 23 Apr 2001 16:57:57 +0000
Subject: PEAR & PHP 4.0.0
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-293@lists.php.net to get a copy of this message
Hi, I'm playing with PEAR DB layer under PHP 4.0.0. It works fine, but only one thing isn't working : php 4.0.0 doesn't uderstand a couple of constructions in DB.php : "@$obj = & new $classname;". Is it possible to replace these lines with something like "@$tmpobj = new $classname; @$obj = & $tmpobj;" ? Unfortunately I can't change hoster company and therefore can't use newer version of PHP, but I want to use PEAR classes. What is your opinion about compatibility PEAR with older versions of PHP? What can you suggest me ? -- Best regards, Ed

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