Re: autoload with namespace

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

 



Colin Guthrie wrote:
Ryan Panning wrote:
Your idea for replacing '::' with '/' is good but I'd think it'll
interfere with the arithmetic operator '/'. I'm sure they must have
discussed such options.

He didn't mean doing that in the code syntax, just in the autoload
function to convert it to a filename :)

Is this something I should bring up on the internals? I think it is an
issue, autoload not being able to know if it's class or namespace related.

However, I think the call for namespace functions and constants is good,
just need to know it's for namespaces... Gives you the opportunity to
load the missing files.


If you look in the list archives there is a very thorough and detailed
writeup from Martin Alterisio just after xmas on this topic:

http://marc.info/?l=php-internals&m=119864555003877&w=2

This will perhaps make you think about discussing on internals.

Col


I read too fast I guess. :) Did they ever talk about a different delimiter?

Now that you bring up that internals post, I remember when that was brought up. It talks about autoload rules issues and possible enhancements. But not about the issue of determining the namespace call vs class call.

I just think if I post it to the internals they'll just brush it off as something that I need to worry about. Rather than really thinking about issue and solutions, such as a different delimiter.

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


[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