If you read what he has to say, though, he'd love to contribute this stuff to 5.3/5.4 but the powers that be are kicking stuff back - if I contribute a patch to something, I don't expect to have to wait a year for it to be evaluated. This did, unfortunately, happen with SMF (though it was more like 6 months rather than a year)
Yes, PHP 6 needs a fresh build and that's not where he's going, but he acknowledges that fact - it is more about raising awareness right now.
$_REQUEST = $_GET + $_POST
What happened to PHP6? It was so promising :(
And you're explicitly distrusting the original contents in favour of something more reliable. ;)
I wasn't too sure about jQuery.getJSON(), does it rely on HTTP POST or GET? (I notice postJSON() doesn't exist.)Quote from Arantor on June 16th, 2011, 05:48 PM And you're explicitly distrusting the original contents in favour of something more reliable. ;)
As of jQuery 1.5, the success callback function receives a "jqXHR" object (in jQuery 1.4, it received the XMLHttpRequest object). However, since JSONP and cross-domain GET requests ...
I wouldn't even bother touching it until a proper IDE is created for it =P
Assuming they went on with the fork of course.
Forcing users to use GET and POST, rather than an ambiguous source is a nice step, though honestly I'd love to see a proper taint detection method such as in Perl, where you explicitly can't do anything to input without some kind of sanity check first.
I don't know which off the top of my head, but if it works how I think it works, it'll be GET - because what it can do is inject a <script> tag into the DOM for the browser to fetch the contents dynamically - and it'll be JSON when it comes in, presumably.
....I wouldn't call the POS IDEs for PHP proper IDE's either. Then again, the only thing I think Microsoft ever did right was Visual Studio so....:/
/quote]
Indeed. I use Phalanger myself for PHP and it works great. I bet it could be hacked relatively easily into supporting a JSON-like array syntax.
-[Unknown]