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.

Ask YC: PHP6?

8 pointsby jdavidabout 17 years ago
How do fellow YC'ers feel about the direction of PHP6? "no magic quotes", etc.. is php becoming like every other language?

8 comments

Jasberabout 17 years ago
I actually like where PHP6 is headed: <a href="http://www.php.net/~derick/meeting-notes.html" rel="nofollow">http://www.php.net/~derick/meeting-notes.html</a><p>There are a couple things I don't agree with. Like adding goto statements. Really? Come on...PHP...<p>But it seems PHP6 wants to finally remove old deprecated behavior (registered globals/magic quotes/safe mode) which I think is a good thing.<p>Not to mention namespaces will be a great addition to the language.<p>At first I had an issue upgrading to PHP5. It didn't have the same speed boost PHP3-&#62;PHP4 had, so I didn't see the need to change.<p>But then I actually looked into the new features.<p>The OOP improvements, exceptions, SimpleXML and iterator support are all great features I use daily and wouldn't want to move back to PHP4.
评论 #188672 未加载
评论 #188669 未加载
评论 #188762 未加载
评论 #188784 未加载
slaterabout 17 years ago
"is php becoming like every other language?" Maybe that's for the better. It'd give everyone using the language a nice reprieve from the usual "hurr lawl php kiddie language!" trolls.
评论 #188750 未加载
jwsabout 17 years ago
I do not look forward to hunting down and fixing another round of defects in all of our deployed PHP code because they have changed the language for ideological purity.<p>Code lives longer then their transition periods.<p>But, thank you for "no magic quotes". I can confidently say that they have only caused me bugs. When our testers try apostrophes in web page input they aren't looking for broken SQL, they are looking for spurious backslashes.
andrewfabout 17 years ago
What do you think sets PHP apart from "every other language" which is actually a positive thing?
art_wellsabout 17 years ago
It seems to me that PHP has trying to be like every other language since it's beginning.
评论 #188645 未加载
ComputerGuruabout 17 years ago
PHP is going towards where other languages have already tread long ago. I highly recommend anyone considering writing a webapp in PHP think twice about alternative languages, Python in particular.<p>Perl, Python, Ruby, and ASP.NET are all great webapp languages; but Perl is old, Ruby is heavy, and .NET is Microsoft - however PHP developers have no reason not switch to a real OOP language like Python and save themselves from a wheelbarrow-load of trouble.
评论 #188773 未加载
daleharveyabout 17 years ago
magic quotes were a terrible idea, the first thing my php does is strip and magic quotes if they are enabled<p>I think namespaces will be a nice addition, and theres a few cases of nice syntactic sugar being done. the icu and xml libraries bundled / enabled looks like a good move as well
henningabout 17 years ago
There is the PHP language, which is getting better over time, and then there is the PHP userbase, that is permanently retarded.
评论 #188999 未加载