Doc #77881 [Ver->Csd]: JSON_INVALID_UTF8_(IGNORE|SUBSTITUTE) constants are not documented

From: Date: Tue, 16 Apr 2019 18:36:26 +0000
Subject: Doc #77881 [Ver->Csd]: JSON_INVALID_UTF8_(IGNORE|SUBSTITUTE) constants are not documented
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-16588@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77881&edit=1 ID: 77881 Updated by: girgias@php.net Reported by: php at yopmail dot com Summary: JSON_INVALID_UTF8_(IGNORE|SUBSTITUTE) constants are not documented -Status: Verified +Status: Closed Type: Documentation Problem Package: JSON related PHP Version: Irrelevant -Assigned To: +Assigned To: girgias Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2019-04-16 18:31:53] girgias@php.net Automatic comment from SVN on behalf of girgias Revision: http://svn.php.net/viewvc/?view=revision&revision=347250 Log: Add JSON constants to changelog. Fixes: Doc Bug #77798 Doc Bug #77811 Doc Bug #77881 ------------------------------------------------------------------------ [2019-04-16 18:14:24] girgias@php.net Automatic comment from SVN on behalf of girgias Revision: http://svn.php.net/viewvc/?view=revision&revision=347249 Log: Add JSON_INVALID_UTF8_IGNORE and JSON_INVALID_UTF8_SUBSTITUTE constants doc. Partial fix to Doc Bug #77881 ------------------------------------------------------------------------ [2019-04-12 08:55:54] php at yopmail dot com Description: ------------ https://github.com/php/php-src/pull/2606 introduced two new constants JSON_INVALID_UTF8_IGNORE and JSON_INVALID_UTF8_SUBSTITUTE for the json_decode() and json_encode() functions in PHP 7.2.0. They are only briefly mentioned in the "PHP 7 ChangeLog" https://www.php.net/ChangeLog-7.php and listed (without links) on the "Migrating from PHP 7.1.x to PHP 7.2.x" "New global constants" page https://www.php.net/manual/en/migration72.constants.php But there is no mention of them in the reference pages: * https://www.php.net/manual/en/json.constants.php * https://www.php.net/manual/en/function.json-decode.php * https://www.php.net/manual/en/function.json-encode.php (whereas there is for the JSON_THROW_ON_ERROR constant introduced later in PHP 7.3.0) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=77881&edit=1

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