Changes In Store For PHP V6
An anonymous reader sends in an IBM DeveloperWorks article detailing the changes coming in PHP V6 — from namespaces, to Web 2.0 built-ins, to a few features that are being removed.
← Back to Stories (view on slashdot.org)
People USE Unicode?! Back when I was a youngin' we used ASCII and LIKED IT!
I find PHP incredibly expressive
You will benefit greatly from learning another language. Pretty much every modern language is more expressive than PHP. Even VBScript*.
* Little known fact: a lost appendix to the Bible mentions that VBScript is actually the fifth horseman of the apocalypse.
Did you have to shower after writing this? Did you at least burn the keyboard?
how to invest, a novice's guide
Of course not! Since no one has been stupid enough to directly insert submitted strings into SQL before sending it to the server for at least 5 years now, this won't affect any modern code in the slightest.
Dewey, what part of this looks like authorities should be involved?
It's the only way to be sure.
how to invest, a novice's guide
Well, at least the sample code has clearly been written by a PHP expert. For example, a newbie would write something like
and get paid for just three measly lines of code.
Thank $deity Nathan A. Good (mail@nathanagood.com), Senior Information Engineer, Consultant stepped in and corrected this to
Go, consultant-written code, go!
Confucius say, "Find worm in apple - bad. Find half a worm - worse."
Actually, undoing magic_quotes is quite a bit more involved. Some things to consider:
Here's an excerpt from my personal library that addresses these issues and more. It works in PHP 4+ (I forget which minor version). Just give me some credit if you use it!