note 74525 deleted from function.json-decode by nlopess
| From: | nlopess@php.net | Date: | Tue, 01 May 2007 13:36:02 +0000 |
| Subject: | note 74525 deleted from function.json-decode by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-126033@lists.php.net to get a copy of this message | ||
Note Submitter:
----
to tandler at adaptik dot de
You should escape your strings:
json_decode({"a":"123\"321"},true);
will return value with " in the middle;
Use strip_tags() instead of stripslashes()