TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PHP 5.3.0 Released

45 pointsby danwalmost 16 years ago

4 comments

intranationalmost 16 years ago
Is it just me, or is the namespace syntax HORRIFICALLY ugly?<p>Couldn't they just overload the "::" syntax or something? Maybe ":::"? Every time I look at an example I feel like something is being escaped.<p>EDIT: the reasoning as to why "\" is here: <a href="http://wiki.php.net/rfc/backslashnamespaces#resolution_of_t_string_t_paamayim_nekudotayim_t_string_and_why_this_kills_as_namespace_separator" rel="nofollow">http://wiki.php.net/rfc/backslashnamespaces#resolution_of_t_...</a>
评论 #681451 未加载
评论 #680908 未加载
评论 #680889 未加载
评论 #681135 未加载
craigbellotalmost 16 years ago
The addition of lambda functions and closures is a huge forward step for php.
评论 #680929 未加载
评论 #681943 未加载
评论 #681236 未加载
评论 #681142 未加载
Oompaalmost 16 years ago
I'm going to upgrade immediately so I can use goto.<p>Why am I being downmodded? I'm quite serious. I think it'll help clean up some of my previous PHP code.
评论 #680805 未加载
评论 #681258 未加载
评论 #680786 未加载
shaunxcodealmost 16 years ago
Here is a real question. Why could they not use a simple single : for namespaces? It would be able to parse that just fine. And it would actually look clean/nice.
评论 #682132 未加载