[PEPr] Comment on PHP::PHP_Compat_Func
| From: | PEPr | Date: | Tue, 27 Apr 2004 09:23:17 +0000 |
| Subject: | [PEPr] Comment on PHP::PHP_Compat_Func | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-28424@lists.php.net to get a copy of this message | ||
Alan Knowles (http://pear.php.net/user/alan_k) has commented on the proposal for
PHP::PHP_Compat_Func.
Comment:
you can add www.php.net/is_a (there's an example on the page)
having chatted on IRC, it may just be easier not to have any 'loader', just say the usage
is:
if (!function_exists('file_get_contents')) {
require_once 'PHP/Compact/Funct/file_get_contents.php';
}
Although not in the true spirit of PEAR (eg. package of classes) - I think it's a good idea..
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=61
--
Sent by PEPr, the automatic proposal system at http://pear.php.net