Re: Class/function scope general question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2006/5/12, Edward Vermillion <evermillion@xxxxxxxxxxxx>:


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.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux