Re: [PHP4BETA] cvs: php4 / php.h /ext/standard/ basic_functions.c crypt.c datetime.c dns.c file.c microtime.c
[email protected] (Andrei Zmievski)
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 27 May 2000, Andi Gutmans wrote:
> andi Sat May 27 11:55:11 2000 EDT
>
> Modified files:
> /php4 php.h
> /php4/ext/standard basic_functions.c crypt.c datetime.c dns.c
> file.c microtime.c
> Log:
> - I'm not sure if PHP_NOT_IN_THIS_BUILD is the way to handle these
> - functions but in any case I have changed it to PHP_NOT_IN_THIS_BUILD()
I thought we were going to be changing it to something like:
#if HAVE_SYSTIME_H
PHP_FE(foo, NULL)
#else
PHP_FALIAS(foo, not_in_this_build, NULL)
#endif
and PHP_FUNCTION(not_in_this_build) would print out the above message.
Much cleaner, in my opinion.
-Andrei
Hacker: Any person who derives joy from
discovering ways to circumvent limitations.