PHP json_decode(),json_decode函數 對 JSON 格式的字元串進行編碼 - PHP100
Hmm, using eval without proper escaping of the input value .. will not get you anything good ;) Here is my JSON decode function, it does not decode to PHP object/array but only to an array (can be easily changed anyway)....