Re: [PHP4BETA] Undocumented behavior of PHP 3.0
| From: | Boris Erdmann | Date: | Sun, 16 May 1999 10:16:57 +0000 |
| Subject: | Re: [PHP4BETA] Undocumented behavior of PHP 3.0 | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-874@lists.php.net to get a copy of this message | ||
Zeev Suraski wrote:
>
> An undocumented behavior of PHP 3.0 was the fact that functions could be
> declared inside control structures, such as if statements or other
> functions.
>
> could be used so that you could declare foo() selectively. This
> behavior was never documented, and pretty much goes against compilation.
>
> My question is, especially for the PHPlib guys - were you aware of this
> behavior, and did you take advantage of it? If it was something many
> people relied on, it might be worth it to consider implementing it in
> Zend, even though it's not that easy (to say the least).
>
> Zeev
>
I dont think we used it anywhere. I have forwarded the above mail to
Kris, so that he can't miss it on the list.
Boris
--
PHP 4 Beta