From: vzeman at gmail dot com Operating system: Windows/Linux PHP version: 5.2.5 PHP Bug Type: JSON related Bug description: json_decode will not decode json string with chars like
Description: ------------ json_decode will not decode string if in value is string like "" Reproduce code: --------------- try to decode string like this: {"params":[{"body":"Hello,Regards,"}]} Expected result: ---------------- params object should contain entry body with text: Hello,Regards, Actual result: -------------- encoding will stop on character R -- Edit bug report at http://bugs.php.net/?id=44321&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44321&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44321&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44321&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44321&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44321&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44321&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44321&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44321&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44321&r=support Expected behavior: http://bugs.php.net/fix.php?id=44321&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44321&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44321&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44321&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44321&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44321&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44321&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44321&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44321&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44321&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44321&r=mysqlcfg