On 08.09.2008, at 18:52, Stanislav Malyshev wrote:

Hi!

I think given the feedback from users, we really need to actually benchmark the performance slow down that Greg's proposed changes will bring. I also guess there are two types of users out there:

Could you summarize the feedback?

I am mainly baseing myself on the feedback I got at:
http://pooteeweet.org/blog/1288

However I also got some feedback from others on IRC that all went in the same direction.

I think Liz summarized the gripes best (especially the second paragraph is important to note): "I've been using namespaces since then went into 5.3. From my experience functions in namespaces are basically unusable (you can't alias in a function like you can a class from a namespace - plus there's the ambiguity issue with static methods).

Writing HUGE blocks of use statements at the top is going to turn people off and since included files have their own namespace level you can't even have a file that keeps a block of use statements that are needed on every page.

Since I do more than just web applications with PHP, I HAVE run into the need to get away from the "one namespace per file" rule, and the fact that you can't have ANYTHING before the opening <?php tag in a file with a namespace (no whitespace, no html, nothing) without a fatal error annoys me to no end."

Chuck adds:
"I think that user-level classes are far more common in PHP than internal classes, and as such should be given priority."

regards,
Lukas Kahwe Smith
[EMAIL PROTECTED]




--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to