1
0
mirror of https://github.com/php/doc-en.git synced 2026-04-27 01:08:09 +02:00
Commit Graph

33 Commits

Author SHA1 Message Date
Sergey Panteleev 8cdc6621f9 Remove PHP 5, 7 references (#563)
- array functions
- datetime functions
- mbstring functions
- strings functions
- var functions
- xml functions
- json functions
2021-05-16 22:07:40 +03:00
Yoshinari Takaoka bd5c1c0ac0 Description about JSON_ERROR_UTF16 is wrong, because this constant is not for json_encode but json_decode function.
Also, the following testcase shows that JSON_ERROR_UTF16 is used for json_decode function.

https://github.com/php/php-src/blob/12ce73a5bb5554f45950b6bcf85100f0b2db960e/ext/json/tests/bug62010.phpt


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348752 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-01 10:02:15 +00:00
Andrea Faulds e60f506c01 Clarify that JsonException::$code uses the same values as json_last_error()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347475 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-24 01:02:50 +00:00
Christoph Michael Becker b9b36ec757 Clarify current behavior of JSON_THROW_ON_ERROR
Cf. <http://news.php.net/php.internals/105653>

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347407 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-11 12:24:24 +00:00
George Peter Banyard 24e93cc272 Add JSON_INVALID_UTF8_IGNORE and JSON_INVALID_UTF8_SUBSTITUTE constants doc.
Partial fix to Doc Bug #77881

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347249 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-16 18:14:22 +00:00
George Peter Banyard dafc5f55c9 Updated JSON doc, 'since' => 'as of'; Use entities instead of <type>*</type>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347247 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-16 17:56:04 +00:00
Christoph Michael Becker c0693bf1fc Document JSON_THROW_ON_ERROR only once
We introduce a new “section” for options of json_encode() and json_decode().

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345719 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-29 12:11:06 +00:00
Christoph Michael Becker a0b7deb4a4 Added constant under options for json_decode and json_encode.
-- 
Provided by anonymous 93868 (zion@intzone.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345717 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-29 12:01:27 +00:00
Pieter Hordijk 9bea20e670 Renamed duplicate JSON_ERROR_INVALID_PROPERTY_NAME to correct JSON_ERROR_UTF16
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342548 c90b9560-bf6c-de11-be94-00142212c4b1
2017-06-06 10:07:20 +00:00
Jakub Zelenka 24e4bc70a6 Fix, improve and add missing JSON constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341082 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-20 21:05:36 +00:00
Christoph Michael Becker 0e75cfe1a9 Fix #73525: Not all JSON_ERROR_* constants are documented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341024 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-15 11:56:38 +00:00
Christoph Michael Becker d6d7fb6e14 documented JSON_PARTIAL_OUTPUT_ON_ERROR
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337480 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 14:34:32 +00:00
Peter Cowburn 543e4ac314 document JSON_PRESERVE_ZERO_FRACTION (patch by Pasindu)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336513 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-13 14:21:21 +00:00
André Luis Ferreira da Silva Bacci 43af58dcc6 Typo fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331700 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-06 05:12:34 +00:00
Adam Harvey c29b97cf6e Document the new JSON error constants in PHP 5.5, since the naughty person who
implemented them didn't add them to UPGRADING. :)

Fixes doc bug #65803 (JSON errors missing a value).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331633 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-01 19:51:11 +00:00
Paul Dragoonis 278b221882 Changing JSON_ERROR_UTF8 message, it says it was added on 5.3.1, but it was added on 5.3.3 as per this page: http://uk.php.net/ChangeLog-5.php
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328443 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-21 13:11:15 +00:00
Jakub Vrana 4de5cce5d8 Linkable reference constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323624 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 13:22:09 +00:00
Alexander Moskaliov 6e45d90574 fix #60673
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321949 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-09 11:30:17 +00:00
Gwynne Raskind ed2b6f7ce8 Add documentation for the JSON_UNESCAPED_UNICODE flag (bug #53946)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315718 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-29 16:22:02 +00:00
Jakub Vrana 7855926da7 New constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312694 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-30 14:02:46 +00:00
Jakub Vrana d99462746f New constant
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312689 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-30 13:40:55 +00:00
Jakub Vrana 0da36c5a16 Constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312207 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-16 12:55:11 +00:00
Kalle Sommer Nielsen c65729614f Fixed bug #51194 (Missing documentation for errorcode PHP_JSON_ERROR_UTF8)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@296350 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-18 17:15:03 +00:00
Torben Wilson af4410a7e1 Normalized the sgml-default-dtd-file local-variable line for those
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Nilgün Belma Bugüner 50f05a02f3 fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283820 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 07:50:41 +00:00
Richard Quadling 78ecfdf616 Documented JSON_FORCE_OBJECT
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@277482 c90b9560-bf6c-de11-be94-00142212c4b1
2009-03-19 15:42:54 +00:00
Simion Onea f02db0087a Wrapped a line around 70 cols, as suggested by Daniel Convissor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271826 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-24 19:33:24 +00:00
Simion Onea 58b50788ea Replaced 'since' with 'as of' according to Nomenclature and Style Guide
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271823 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-24 19:09:46 +00:00
Simion Onea d2fe0e7255 Minor grammar corrections.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271815 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-24 15:01:09 +00:00
Kalle Sommer Nielsen 4fb8b8c34c * Document new json_last_error() function
* Document new JSON error constants


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271591 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-19 07:52:29 +00:00
Hannes Magnusson 729578590f Revert accidental translation commit
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@258322 c90b9560-bf6c-de11-be94-00142212c4b1
2008-04-23 17:58:34 +00:00
Kalle Sommer Nielsen 0c66a50541 Initial translation for JSON into danish
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@258321 c90b9560-bf6c-de11-be94-00142212c4b1
2008-04-23 17:44:25 +00:00
Hannes Magnusson 41bd6175e5 MFB: Upgrade to the new-reference-structure
- (Created missing setup sections in setup.xml, if any)
 - Moved the intro to book.xml
 - Changed the intro ID from <extname>.intro to intro.<extname>
 - Added empty constants appendix
 - Moved the requirements section to setup.xml


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@248855 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-23 20:45:22 +00:00