Doc #71823 [Asn->Csd]: [DE] description of JSON_FORCE_OBJECT is wrong

From: Date: Tue, 15 Mar 2016 15:57:05 +0000
Subject: Doc #71823 [Asn->Csd]: [DE] description of JSON_FORCE_OBJECT is wrong
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-13326@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71823&edit=1 ID: 71823 Updated by: cmb@php.net Reported by: paul dot voss at chefkoch dot de Summary: [DE] description of JSON_FORCE_OBJECT is wrong -Status: Assigned +Status: Closed Type: Documentation Problem Package: Translation problem PHP Version: Irrelevant Assigned To: cmb Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. > Should I request an account for the "Php Docbook Online Editor" > and fix it myself? You don't have to request an account for using the online editor. Either you can log in anonymously, or you can use any existing Github, Facebook etc. account. Previous Comments: ------------------------------------------------------------------------ [2016-03-15 15:56:04] cmb@php.net Automatic comment from SVN on behalf of cmb Revision: http://svn.php.net/viewvc/?view=revision&revision=338750 Log: fixed #71823 (description of JSON_FORCE_OBJECT is wrong) ------------------------------------------------------------------------ [2016-03-14 15:44:51] paul dot voss at chefkoch dot de Description: ------------ The English documentation says: JSON_FORCE_OBJECT -> Outputs an object rather than an array when a non-associative array is used. ... which sounds completely plausible. The German documentation has a translation error and says the exact opposite: JSON_FORCE_OBJECT -> Gibt ein Objekt bevorzugt als Array aus, wenn ein nichtassoziatives Array Array verwendet wird. (Outputs an array rather than...). ... which is totally confusing, given I just FORCED to cast something to an object. Also, the word "Array" is duplicated. Should I request an account for the "Php Docbook Online Editor" and fix it myself? --- From manual page: http://www.php.net/json.constants And more precisely: http://php.net/manual/de/json.constants.php#constant.json-force-object --- Expected result: ---------------- The first sentence should be: Gibt ein Objekt anstatt einem Array aus, wenn ein nichtassoziatives Array verwendet wird. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=71823&edit=1

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