At 07:39 PM 7/28/2004, Ford, Mike [LSS] wrote:

Actually, your problem is that the function bar is *not* local to foo.  Even
though PHP lets you declare functions lexically within the scope of other
functions
<snip>

Ouch! Thanks! Got that much wiser! So for keeping the namespace cleaner using classes is the only way.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to