Re: suggestion: phpcompat
| From: | Pierre-Alain Joye | Date: | Sat, 07 Dec 2002 12:41:43 +0000 |
| Subject: | Re: suggestion: phpcompat | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-11424@lists.php.net to get a copy of this message | ||
On 07 Dec 2002 09:32:18 +0100
"Stig S. Bakken" <ssb@fast.no> wrote:
> Hi,
>
> In the PEAR package we sometimes use PHP functions that were
> introduced in a later version of PHP than we require through
> dependencies, and provide an implementation written in PHP if it's
> missing.
>
> What about defining a top-level directory where one can put such
> compatibility hacks? I suggest using one file per function, called
> "phpcompat/function_name.php".
This is really usefull.
+1
pa