Doc #81138 [NEW]: json_encode doesn't mention dtring could be returned

From: Date: Mon, 14 Jun 2021 16:48:03 +0000
Subject: Doc #81138 [NEW]: json_encode doesn't mention dtring could be returned
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18854@lists.php.net to get a copy of this message
From: tim dot d dot whitney at gmail dot com Operating system: PHP version: 7.4.20 Package: Documentation problem Bug Type: Documentation Problem Bug description:json_encode doesn't mention dtring could be returned Description: ------------ --- From manual page: https://php.net/function.json-decode --- >>> json_decode('"{\"test\": 123}"', TRUE); => "{"test": 123}" The documentation does not mention that a string could be returned. Test script: --------------- >>> json_decode('"{\"test\": 123}"', TRUE); => "{"test": 123}" -- Edit bug report at https://bugs.php.net/bug.php?id=81138&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=81138&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=81138&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=81138&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=81138&r=needscript Try newer version: https://bugs.php.net/fix.php?id=81138&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=81138&r=support Expected behavior: https://bugs.php.net/fix.php?id=81138&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=81138&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=81138&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=81138&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=81138&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=81138&r=dst IIS Stability: https://bugs.php.net/fix.php?id=81138&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=81138&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=81138&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=81138&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=81138&r=mysqlcfg

« previous php.doc.bugs (#18854) next »