Re: PHP_Compat, best approach

From: Date: Wed, 26 May 2004 21:23:18 +0000
Subject: Re: PHP_Compat, best approach
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-29732@lists.php.net to get a copy of this message
Hi,
Why not raise a PEAR Error? Then the users can handle them however they want?
Because the package name is PHP_Compat. The package is used, whenever you have some code that relies on a PHP feature that has been introduced in a later version than the one available on the server. The function *have* to behave exactly like the built-in PHP functions, otherwise they are useless. Stephan

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