Re: Class/function scope general question

From: Date: Fri, 12 May 2006 19:11:05 +0000
Subject: Re: Class/function scope general question
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-236084@lists.php.net to get a copy of this message
2006/5/12, Edward Vermillion <evermillion@doggydoo.net>:
On May 12, 2006, at 1:09 PM, Martin Alterisio wrote: class foo {
        function bar()
        {
                function baz(){}
        }
} baz() will be a global function there.
There are other ways to add member functions at runtime but I haven't had the chance to properly used to them to say they are safe or not.

« previous php.general (#236084) next »