PHP associative Arrays do not basically make sense in JavaScript plus JSON is simply a protocol, it has nothing to do with JavaScript itself.
This video shows how much confused are PHP developers about JavaScript first, and generic objects after where new stdClass is all we need to handle this kind of exchange.
No comment about the stripslashes stuff, are PHP devs stil using magic_quotes deprecated feature?
Regards
good point, definitely! thanks :-)
Leave a Reply
Note: Only a member of this blog may post a comment.
PHP associative Arrays do not basically make sense in JavaScript plus JSON is simply a protocol, it has nothing to do with JavaScript itself.
This video shows how much confused are PHP developers about JavaScript first, and generic objects after where new stdClass is all we need to handle this kind of exchange.
No comment about the stripslashes stuff, are PHP devs stil using magic_quotes deprecated feature?
Regards
good point, definitely! thanks :-)