Commit graph

72 commits

Author SHA1 Message Date
Justin Martin
c73d1979c2 Noted non-sequential array encoding behaviour, and added example. Closes bug #60418.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320527 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-06 23:36:32 +00:00
Justin Martin
cbf0a79d44 Typo in changelog. Closes bug #55786.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320399 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-05 06:51:58 +00:00
Justin Martin
7a6ad89fc2 Moved 5.2.1 changelog item from -encode to -decode, as it was meant to be. Closes bug #55786.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320312 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-03 19:41:28 +00:00
Richard Quadling
2dfaaa96a9 W/S, Tab removal
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317827 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-06 09:41:05 +00:00
Richard Quadling
8b6d169424 Native EOL
Use consistent line terminator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317663 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-03 16:27:39 +00:00
Richard Quadling
29d60cdd32 Use consistent line terminator.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317652 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-03 13:18:10 +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
Justin Martin
155e012d7f Added JSON_BIGINT_AS_STRING and JSON_UNESCAPED_SLASHES to 5.4.0 entry in changelog.
Added 5.3.3 entry to changelog noting when JSON_NUMERIC_CHECK became available.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@314219 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-04 01:16:14 +00:00
Justin Martin
ab468bab4d Added changelog entry for JSON_PRETTY_PRINT, as per bug #55297.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313798 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-27 22:17:57 +00:00
Jakub Vrana
ac04b2ea21 Extension purpose is not needed anymore
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313269 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-15 15:46:15 +00:00
Peter Cowburn
261b11b5d1 fix newline at end of file
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313050 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-07 12:38:18 +00:00
Peter Cowburn
d8b3b5d9cf added jsonserializable version info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313049 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-07 12:20:39 +00:00
Jakub Vrana
12971b9ed8 JsonSerializable prototype
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312696 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-30 14:12:25 +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
408baf1537 Trunk became PHP 5.4.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312690 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-30 13:41:29 +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
f26226bf76 Whitespace
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312208 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-16 12:57:06 +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
Peter Cowburn
2557a1fb89 better example title and description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312023 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-10 19:01:24 +00:00
Peter Cowburn
6557e8b9b6 json_last_error() reports on json_encode() errors too (doc #54075)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310659 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-30 13:13:52 +00:00
Richard Quadling
5a37ef5632 Added associative array encoding to example.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304559 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 10:17:23 +00:00
Kalle Sommer Nielsen
d72cf8d57b Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304517 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 00:08:48 +00:00
Adam Harvey
79422caf1a Fix doc bug #52622 (Mention that JSON must be UTF-8 encoded).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302383 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-17 08:31:12 +00:00
Philip Olson
a72b61edd5 Improved wording to describe JSON_ERROR_STATE_MISMATCH, as per PHP bug #52313 (via jerome dot auge at anakeen dot com)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302054 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-10 00:43:03 +00:00
Philip Olson
c24a2f41cd Added JSON_ERROR_STATE_MISMATCH, and updated JSON_ERROR_UTF8 version info. Closed PHP bug #52391
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301629 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-28 00:50:16 +00:00
Philip Olson
99ae2b40a6 Implemented new version.trunk. entities
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299628 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-22 17:23:13 +00:00
TAKAGI Masahiro
ccf8fcc72d fix build.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299625 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-22 16:38:10 +00:00
Sara Golemon
fb241e221a Ooops, didn't notice the changelog at the bottom...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299624 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-22 11:35:52 +00:00
Sara Golemon
a675b6d76f Document new parameter to json_decode()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299623 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-22 11:32:54 +00:00
Joey Smith
f86f89b517 Fix the JSON documentation (install and requirements got swapped)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297373 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-02 20:05:41 +00:00
Daniel Egeberg
96c9d88bad Converted to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +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
Richard Quadling
c43ed67994 W/S tabs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294397 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-03 14:08:33 +00:00
Jakub Vrana
201dc3748c Prefer <initializer> before "defaults to"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291313 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-25 14:49:47 +00:00
Jakub Vrana
4a0548937b Can return anything (bug #46518)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291072 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-20 12:15:07 +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
Richard Quadling
1cbf677fff Return type will be null, not false, when an error occurs. Use json_last_error() to determine exact cause. Bug#49133.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@286730 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-03 12:15:33 +00:00
Scott MacVicar
fc759157c9 Clarify json_decode() depth change and change nesting to recursion depth.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@286384 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-27 03:31:00 +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
Hannes Magnusson
91c3c84922 document the detph parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282676 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-23 19:41:31 +00:00
Kalle Sommer Nielsen
4ad80308a1 Changelog is always newest first
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282450 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-19 19:06:49 +00:00
Philip Olson
f57b4a3ccd Fixed spelling errors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278109 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-01 07:39:55 +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
Carola 'Sammy' Kummert
0585a8a903 fix entity
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@276860 c90b9560-bf6c-de11-be94-00142212c4b1
2009-03-07 23:15:54 +00:00
Jakub Vrana
01af159c81 Initializers - part 2
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273374 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-12 15:45:03 +00:00
Yannick Torres
cf94a4cc94 Typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271940 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-26 20:25:12 +00:00
Kalle Sommer Nielsen
2466f3fea0 * Theres no actual PECL release for JSON where the json_last_error exists in, so lets just say 5.3.0 for now
* Merge Simion's grammar changes to json_last_error
* Fix typo in example


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271882 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-25 20:25:58 +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