[PHP-DEV] Re: PHP 5.3 Autoload+Namespaces+Functions incorret (atleast wierd) behaviour.

2008-03-03 Thread Johannes Schlüter
Hi Fredrik, On Fri, 2008-02-29 at 16:02 +0100, =?ISO-8859-1?Q?Fredrik_Holmstr=F6m?= wrote: Basicly, the call is this: Demo::Functions::test(); where both Demo and Functions are namespaces, and test() is a function inside the Demo::Functions namespace. If you have an autoload handler here and

Re: [PHP-DEV] Re: PHP 5.3 Autoload+Namespaces+Functions incorret (atleast wierd) behaviour.

2008-03-03 Thread Marcus Boerger
Hello Johannes, Monday, March 3, 2008, 12:40:52 PM, you wrote: Hi Fredrik, On Fri, 2008-02-29 at 16:02 +0100, =?ISO-8859-1?Q?Fredrik_Holmstr=F6m?= wrote: Basicly, the call is this: Demo::Functions::test(); where both Demo and Functions are namespaces, and test() is a function inside the

Re: [PHP-DEV] Re: PHP 5.3 Autoload+Namespaces+Functions incorret (atleast wierd) behaviour.

2008-03-03 Thread Johannes Schlüter
Hi Marcus, On Mon, 2008-03-03 at 13:27 +0100, Marcus Boerger wrote: new namespace::class() new namaespace::namedspace::class() and so on, or: namespace::class::functoin() namespace::function() and so on. That is, when detecting braces after it and a new in front than it is a class.