Re: [PHP4BETA] Undocumented behavior of PHP 3.0
| From: | Kristian Köhntopp | Date: | Mon, 17 May 1999 09:39:47 +0000 |
| Subject: | Re: [PHP4BETA] Undocumented behavior of PHP 3.0 | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-885@lists.php.net to get a copy of this message | ||
Zeev Suraski wrote:
> Not that my question is relevant anymore (since I
> already improved Zend to support this:), but just
> so you'd know what I'm talking about:
>
> function declare_foo()
> {
> function foo()
> {
> ...code...
> }
> }
>
> if ($foo_needed) {
> declare_foo();
> foo();
> }
>
> was what I was asking about.
Does this work from inside object member functions, too? And with
objects/classes?
Kristian
--
Kristian Köhntopp, NetUSE Kommunikationstechnologie GmbH
Siemenswall, D-24107 Kiel, Germany, +49 431 386 436 00
Using PHP3? See our web development library at
http://phplib.shonline.de/ (GPL)
--
PHP 4 Beta