Re: Pure PHP 5 Pear Base class

From: Date: Wed, 03 Dec 2008 17:11:49 +0000
Subject: Re: Pure PHP 5 Pear Base class
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-29480@lists.php.net to get a copy of this message
Hi, Micah Gersten wrote:
Is it possible to fork the base class to have a pure PHP 5 version? With the retirement of PHP 4 almost 4 months ago, it would seem that everything should be moving to pure PHP 5 and beyond.
Do you mean PEAR class itself? It's not needed anymore, most of its methods emulate stuff that is natively available in PHP5.
Yes, that's what I meant. Even if the functions inside are no longer needed, then it still should be upgraded to PHP 5 and just have the emulated functions call the appropriate built in PHP 5 functions so the API doesn't break.
That's not quite possible and not quite useful. Most of the functions there deal with error handling and PHP5 error handling in PEAR is based on exceptions.
Anyways, someone else already said this is on task to be completed for PEAR 2.
You misunderstood what was said. Base PEAR2 class that is backwards compatible with base PEAR class is certainly not planned.

« previous php.pear.general (#29480) next »