On Wednesday 02 April 2008, Jochem Maas wrote:
> > there is one curiosity / caveat underlying the 5.3 implementation... so
> > does the namespace get supplied to the autoload function as well as the
> > class name? is it just one big string or are they separate?
>
> one big string. how does php
Richard Heyes wrote:
err-um sorry for the noise; actually the namespaces work w/ functions
as well.
So not OO specific? Is there anything I can read that describes them?
Yes, it's on the docs site. Although this continues to change as I
believe brackets {} are now the declaration method (but
err-um sorry for the noise; actually the namespaces work w/ functions as
well.
So not OO specific? Is there anything I can read that describes them?
--
Richard Heyes
Employ me:
http://www.phpguru.org/cv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
On Wed, Apr 2, 2008 at 12:44 PM, Nathan Nobbe <[EMAIL PROTECTED]>
wrote:
> On Wed, Apr 2, 2008 at 12:25 PM, Richard Heyes <[EMAIL PROTECTED]>
> wrote:
>
> > Playing around with dev PHP 5.3 and namespaces
> > >
> >
> > PHP 5.3 will have namespaces?
>
>
> ya; that and late static binding are like t
On Wed, Apr 2, 2008 at 12:25 PM, Richard Heyes <[EMAIL PROTECTED]> wrote:
> Playing around with dev PHP 5.3 and namespaces
> >
>
> PHP 5.3 will have namespaces?
ya; that and late static binding are like the two headliners.
both oo btw ;)
-nathan
Jochem Maas wrote:
essentially it boils down to replacing '::' with '/' to determine the path
from the namespace in your case - that is easy enough, your still stuck
with
finding out whether your being asked to load a namespace, class, or
function
(do namespaced functions even trigger an autolo
Playing around with dev PHP 5.3 and namespaces
PHP 5.3 will have namespaces?
--
Richard Heyes
Employ me:
http://www.phpguru.org/cv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nathan Nobbe schreef:
On Tue, Apr 1, 2008 at 8:28 PM, Ryan Panning <[EMAIL PROTECTED]> wrote:
I haven't been keeping an eye on this list so if this has come up before
please point me in the right direction. :)
Playing around with dev PHP 5.3 and namespaces, I'm finding it hard to
write an auto
On Tue, Apr 1, 2008 at 8:28 PM, Ryan Panning <[EMAIL PROTECTED]> wrote:
> I haven't been keeping an eye on this list so if this has come up before
> please point me in the right direction. :)
>
> Playing around with dev PHP 5.3 and namespaces, I'm finding it hard to
> write an autoload function. S
I haven't been keeping an eye on this list so if this has come up before
please point me in the right direction. :)
Playing around with dev PHP 5.3 and namespaces, I'm finding it hard to
write an autoload function. Since autoload will be triggered on any
namespace call, the request could be fo
10 matches
Mail list logo