1
0
mirror of https://github.com/php/doc-ja.git synced 2026-04-25 00:48:05 +02:00
Commit Graph

124 Commits

Author SHA1 Message Date
Yoshinari Takaoka ecfb9cce60 Update JSON extension installation notes
https://github.com/php/doc-en/commit/7e42240fb5f565c469f04d595f0d1c4fdda48dfe
2025-10-04 06:33:17 +09:00
Yoshinari Takaoka 1deb28e61c [reference/json] sync with en 2025-09-02 23:01:16 +09:00
Takuya Aramaki bff619893a Move JSON_ERROR_NON_BACKED_ENUM constant (#279)
https://github.com/php/doc-en/commit/40e4bf862f9c23ffe871a68baebf31f753d4293b
2025-04-20 18:20:35 +09:00
Yoshinari Takaoka c8f27b2429 json: added json_last_error_msg to see-also
https://github.com/php/doc-en/commit/9f2e30a00afda6d6b6a3e19b13956150c2eaf2c1
2024-07-27 21:02:50 +09:00
Yoshinari Takaoka 56d4d96192 Remove empty resources pages
https://github.com/php/doc-en/commit/48ce43fe79fa0c9f31f187ea8ec995b4cb13037e
2024-07-27 20:38:54 +09:00
Yoshinari Takaoka adbc745a9d Remove empty configuration pages
https://github.com/php/doc-en/commit/765b2d6eec7dfbaeed900b32aa91a1360d73df42
2024-07-27 19:04:27 +09:00
Yoshinari Takaoka a5d63ead49 Remove empty installation pages
https://github.com/php/doc-en/commit/57d1b0df36cc1da4fae0113979343405eff223fd
2024-06-29 15:16:59 +09:00
Gina Peter Banyard e4f42ceee3 Apply commit from doc-en PR 3422 2024-06-14 17:01:59 +01:00
Yoshinari Takaoka fb8608dc75 Add JSON_ERROR_NON_BACKED_ENUM constant
https://github.com/php/doc-en/commit/02b1d42099b98f45609d49fde36d10893ad0a314
2024-05-23 20:14:17 +09:00
Yoshinari Takaoka cc4c078dd8 Sync some methodsynopses with stubs
https://github.com/php/doc-en/commit/d715365c098db000eaf7dcd987ee6093f6e83091
2024-04-28 14:23:12 +09:00
Yoshinari Takaoka fe88af44a1 ValueError on flags diferent to JSON_INVALID_UTF8_IGNORE
https://github.com/php/doc-en/commit/305b2134e2959894950914fc915340ad87f1a6b1
2024-01-14 18:14:44 +09:00
Yoshinari Takaoka 9af25d68ae Update example using JsonSerialize
https://github.com/php/doc-en/commit/0a09554f3dd39c61b21ea7319ac7f93f781f9376
2024-01-14 17:35:10 +09:00
Yoshinari Takaoka 88c1c441f4 [PHP 8.3] Added json_validate function description.
https://github.com/php/doc-en/commit/de195fca1537eb3c850cbab48a5001ca057e96b5
2023-11-16 03:07:12 +09:00
Yoshinari Takaoka e68328d50d Synchronize predefined constants with stubs - part 2)
https://github.com/php/doc-en/commit/3b67c8e90cdaa14f9d1a82756dcf0000ffa8f160
2023-09-05 20:37:21 +09:00
Yoshinari Takaoka 3b30b8e440 Use new class synopsis markup
https://github.com/php/doc-en/commit/14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60
2023-08-30 21:53:08 +09:00
Yoshinari Takaoka fe43c4b502 Use new class synopsis markup for interfaces
https://github.com/php/doc-en/commit/9eb4a46bba05da229be4c8f7a3cb64702e1a2f95
2023-07-29 17:33:53 +09:00
Yoshinari Takaoka bfc5c02082 Fix: Reworded json_decode return value paragraph to be more explicit about true, false and null
https://github.com/php/doc-en/commit/ce1856e7b95807615565d2f1427582e107c450a9
2023-07-29 12:06:24 +09:00
Yoshinari Takaoka 1846a79f2f Added variable declarations in classes
Drive-by integer cast fix.

https://github.com/php/doc-en/commit/3d898cf4660609f2c1f55591ffd1556e8cd6d702
2023-05-09 00:39:53 +09:00
Yoshinari Takaoka f3f81c400e List inherited constructors on the class synopsis pages
https://github.com/php/doc-en/commit/3fc56d76de1007a3c4f60b143c60c071f32546fb
2022-12-29 06:38:59 +09:00
Yoshinari Takaoka d68f90e3e9 「参照ください」に統一
- 参照下さい
- 参照して下さい
- 参照してください

を「参照ください」に置き換えた。
個人的には「参照ください」は違和感のある日本語だが、既存の訳で圧倒的な優勢だったそれを採用した。

closes: #23
2022-12-19 23:29:40 +09:00
Yoshinari Takaoka 09a6d3eabc Fix xpointer expressions
When removing the `not()` operator, some closing parentheses have been
overlooked, which resulted in broken xpointer expressions.

https://github.com/php/doc-en/commit/071a588364ddef3af5e008b3d6213f98c617b5a0
2022-12-13 20:26:16 +09:00
Yoshinari Takaoka ee2d7da259 Update Error, Exception, and Throwable role attributes
https://github.com/php/doc-en/commit/09c49da6f0167fcdfe53a76e3ea28ecfc0eb337b
2022-12-13 01:46:50 +09:00
Yoshinari Takaoka f9f9309ce8 Update JsonSerializable role attributes
https://github.com/php/doc-en/commit/a605fd10c648c8d4cd8315d62a1341323484338e
2022-12-13 01:29:08 +09:00
Yoshinari Takaoka 2938da1363 例外は「投げる」ではなく、「スローする」に統一
これは決めの問題だが、私も含めて、「スローする」派が圧倒的に優勢だったので、そちらに倒す。
2022-11-12 15:55:49 +09:00
Yoshinari Takaoka 3a60d17b6c JSON DECODE: Change PHP variable into PHP value
https://github.com/php/doc-en/commit/16ae0ea8268ffedb47a620cd38fb078e26135022
2022-10-16 20:43:33 +09:00
Yoshinari Takaoka c14a0dbac7 Remove references to "double" and use float instead
https://github.com/php/doc-en/commit/19e8122137a1d42ed60f17fe2c0c2b69b0b2d16b
2022-10-02 16:29:20 +09:00
Yoshinari Takaoka f5cc500165 Document allowed range for json_decode()'s $depth parameter
Cf. <php/php-src#9359 (comment)>.

https://github.com/php/doc-en/commit/20717145cf4551420cc8aa421f159ed55aa779f4
2022-08-19 04:03:44 +09:00
Yoshinari Takaoka 961554b72b Clarify object and array handling in json_encode
https://github.com/php/doc-en/commit/29fcbf994781acc66c4ae16d6c1999880721bd64
2022-07-06 01:16:19 +09:00
Yoshinari Takaoka d1032f32dd Generate ext/json class synopses from stubs
https://github.com/php/doc-en/commit/83569ce5f5c884d79286f6d15daabd7f1a4ee1b5
2021-11-18 20:54:19 +09:00
Yoshinari Takaoka 20c2f8431f Remove some unnecessary abstract modifier from methodsynopses
https://github.com/php/doc-en/commit/35b57d9df064ca7e1496fb73c4b9c1e30a7cd611
2021-09-15 00:39:25 +09:00
Yoshinari Takaoka 6752f055bf Mark a few interfaces as oointerface rather than ooclass
https://github.com/php/doc-en/commit/ab57ab68497e60d75aebee92a623dbfbfeb54518
2021-07-31 21:22:06 +09:00
Yoshinari Takaoka 44e44619de Fix extension doc membership (php/doc-en#647) 2021-06-14 10:44:30 +09:00
Yoshinari Takaoka d8a1fc6480 Remove PHP 5, 7 references (php/doc-en#563)
- array functions
- datetime functions
- mbstring functions
- strings functions
- var functions
- xml functions
- json functions
2021-05-17 10:16:49 +09:00
Yoshinari Takaoka 5d5b81b2e5 Update json-encode.xml
Should be 'flags' instead of 'options' because argument `$options` was renamed to `$flags`.

Closes GH-455

Signed-off-by: George Peter Banyard <girgias@php.net>
2021-02-19 22:06:16 +09:00
Yoshinari Takaoka 99a294f9f1 Remove obsolete PHP 5 related info 2021-02-08 22:48:13 +09:00
Yoshinari Takaoka fb0d6847b0 Add a note that json is always available in php 8.0
See https://wiki.php.net/rfc/always_enable_json

Base the wording on https://www.php.net/manual/en/hash.installation.php

Closes GH-438.
2021-02-08 22:46:10 +09:00
Yoshinari Takaoka abd82b8e5c json_decode: better explanation and example of 'depth' parameter
Closes GH-275.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@352004 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-10 22:37:08 +00:00
Yoshinari Takaoka bdbc5034a2 Generate json methodsynopses based on stubs
Based on a patch contributed by Máté Kocsis <kocsismate@woohoolabs.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351438 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-18 23:45:32 +00:00
Yoshinari Takaoka e70a9d4629 Fix return types
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351156 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 19:51:55 +00:00
Yoshinari Takaoka 144f5f2124 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351153 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 19:20:32 +00:00
Yoshinari Takaoka cb04a92efc fixed untranslated part, part II.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@350997 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-26 09:49:36 +00:00
Yoshinari Takaoka 73ccac34bf Remove PHP4 or PHP5 only extension, changelogs
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@350668 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-27 01:47:22 +00:00
Yoshinari Takaoka f1d7f041de Update default value of json_decode()'s $assoc parameter
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@350594 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-20 00:14:47 +00:00
Yoshinari Takaoka 4dcbb524d0 Document changes to json_encode in php 5.5
Returning false when there was any encoding error is an improvement,
but would be backwards incompatible if applications depended on the
implicit JSON_PARTIAL_OUTPUT_ON_ERROR behavior of PHP 5.4 and earlier.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@349760 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-09 01:05:11 +00:00
Yoshinari Takaoka c27842c607 fixed typo
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348767 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-02 08:50:51 +00:00
Yoshinari Takaoka e3115c9449 updated translation
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348759 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-01 15:18:57 +00:00
Yoshinari Takaoka b97c4d1ca6 added missing jsonexception page.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348756 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-01 14:44:46 +00:00
Yoshinari Takaoka bfb1754553 updated overall json related doc translations
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348754 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-01 12:26:15 +00:00
Satoru Yoshida 528edfb4b5 correct typo and sync en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348199 c90b9560-bf6c-de11-be94-00142212c4b1
2019-10-22 00:16:08 +00:00
Satoru Yoshida a5f336342e sync en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@346771 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-10 12:32:37 +00:00