Re: [PHP-DEV] questions about namespaces, functions vs. closures

2008-07-16 Thread Stanislav Malyshev
Hi! namespace Foo { } OMG, not again... How many times should we talk about the same thing? -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, vi

Re: [PHP-DEV] questions about namespaces, functions vs. closures

2008-07-16 Thread Larry Garfield
On Wednesday 16 July 2008 9:36:24 pm Greg Beaver wrote: > Hi, > > Some questions about namespaces now that PHP 5.3 continues to evolve > > 1) Do we need functions in namespaces now that we have closures? > > One of the main reasons I wanted functions in namespaces was to > implement callbacks. Now

Re: [PHP-DEV] questions about namespaces, functions vs. closures

2008-07-16 Thread Robert Cummings
On Wed, 2008-07-16 at 22:36 -0400, Greg Beaver wrote: > Hi, > > Some questions about namespaces now that PHP 5.3 continues to evolve > > 1) Do we need functions in namespaces now that we have closures? Functions suffer just as much as classes with respect to naming collisions. Removal of support