1
0
mirror of https://github.com/php/doc-ja.git synced 2026-04-23 16:08:07 +02:00

66 Commits

Author SHA1 Message Date
Louis-Arnaud add3c14224 表記揺れ修正: fatal エラー → 致命的なエラー (#324)
Closes #321
2026-02-24 23:35:38 +09:00
Yoshinari Takaoka 610b9069a3 Array type: Add a top of page link to the array functions docs
https://github.com/php/doc-en/commit/3061900171d4ae84d532571bfd6eda823726dad4
2025-12-28 23:09:18 +09:00
Yoshinari Takaoka 90f682d79a Undefined constant throws an error instead of E_NOTICE
https://github.com/php/doc-en/commit/094816bd170e26abf0e057dae1cfb498dd6aad88
2025-10-04 07:29:00 +09:00
Yoshinari Takaoka be5d377503 [array.xml] "re"sync with en.
https://github.com/php/doc-ja/commit/96f658ab3087e3f05dc22989d31f0c87e8d19bc4 をやり直したもの。ほとんど違いはないが。
2025-08-27 20:43:43 +09:00
Yoshinari Takaoka 094cc807ce Fix type juggling notes for list() and array destructuring
https://github.com/php/doc-en/commit/eaec4ab10a65c4515ee2fb899d06e89bae3754b0
2025-08-24 18:46:07 +09:00
Yoshinari Takaoka 492937c6e4 数値文字列 -> 数値形式の文字列
find . -type f -name "*.xml" -print0 | xargs -0 sed -i -e "s/数値文字列/数値形式の文字列/"
2025-08-16 21:16:18 +09:00
Yoshinari Takaoka 96f658ab30 Revert "sync with en"
This reverts commit d5bfce951c.

上記コミットには、生成AI を使って生成した翻訳が含まれている[*1]
https://github.com/php/doc-ja/commit/15e43dcb33fd8b767bd38896841f3e2b9e27d965 と同様の理由で、gemini が生成した出力は取り込まないこととする。

[*1] https://zenn.dev/mumumu/articles/408116bf4c3f7c
2025-08-13 06:10:57 +09:00
Yoshinari Takaoka d5bfce951c sync with en
https://github.com/php/doc-en/commits/master/language/types/array.xml
2025-08-10 07:52:19 +09:00
KentarouTakeda 180a2c1299 <type>型名</type><type>typeName</type> に修正 (#210) 2024-12-31 12:26:43 +09:00
Yoshinari Takaoka 892f542088 Standardise casting spacing
https://github.com/php/doc-en/commit/8859c8b96cd9e80652813f7bcf561432a5e9f934
2024-09-16 21:38:02 +09:00
Yoshinari Takaoka 2f940e3f6a Use mb_strtoupper() instead of strtoupper() in array type example
https://github.com/php/doc-en/commit/c97d8be813dd0189f2a97359795fbe7173792878
2024-01-21 16:56:34 +09:00
Yajima Tatsuro 7fe456a275 fix: typo in array (これはは、→これは、) (#93) 2023-08-06 19:24:28 +09:00
Yoshinari Takaoka 398cc9bb73 Replace <literal>true/false</literal> by their respective entities
https://github.com/php/doc-en/commit/cdc9d28d334bbc08386fecf8aade66080004a9dd
2023-04-09 15:25:47 +09:00
Yoshinari Takaoka e7a26214e1 Updated EN-Revision only / Fix: Typo in unpacking
日本語版では意味が同じだったので、更新不要

https://github.com/php/doc-en/commit/5d775e7df53dd224004ca057dadbd2e8083e229a
2022-12-27 10:30:40 +09:00
Yoshinari Takaoka d68f90e3e9 「参照ください」に統一
- 参照下さい
- 参照して下さい
- 参照してください

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

closes: #23
2022-12-19 23:29:40 +09:00
Yoshinari Takaoka 5f9734c3b8 Describe PHP8 behavior as default in array doc 2022-09-10 11:37:12 +09:00
Yoshinari Takaoka 38091e2599 Add docs about array destructuring
https://github.com/php/doc-en/commit/fb6ffde9728aa008bf89e9d0043de8d8acc2bb82
2022-08-19 04:54:07 +09:00
Yoshinari Takaoka 4c060f84b7 整数と数値のブレを修正 2021-12-03 22:54:02 +09:00
Yoshinari Takaoka e98cf8be27 [PHP 8.1] Document Array Unpacking with [int|string] Keys.
2年間ドキュメント化されなかった機能がこうして日の目を見たのは、Girgias の怒涛かつ高速なレビューのお陰です。

https://github.com/php/doc-en/commit/2ff6e6bcad9700adaf50f9e1639c6d7d7d1f059d
2021-12-03 22:47:29 +09:00
Yoshinari Takaoka cc218de2c5 Document autovivification from false deprecation.
https://github.com/php/doc-en/commit/c140370c354496b38b97dfafe2e31f3f8df8bb44
2021-11-27 02:38:56 +09:00
Yoshinari Takaoka f23375ace3 Uninitialized type properties are silently discarded on array cast
Cf. <https://bugs.php.net/81629>.
https://github.com/php/doc-en/commit/d332b5ae70bd27873fa1b51b366a721957042e69
2021-11-18 01:10:03 +09:00
Yoshinari Takaoka 97323ea542 The fallback for undefined constants is removed as of PHP 8
https://github.com/php/doc-en/commit/a8b8d435a7fef626867bbc3928e687b17eeef117
2021-08-07 04:49:55 +09:00
Yoshinari Takaoka 34989e9a14 Updated string & array curly brace access with support notice (php/doc-en#546)
The documentation still states that array/string curly brace access
is possible but this was deprecated as of PHP 7.4 as per this RFC:
https://wiki.php.net/rfc/deprecate_curly_braces_array_access
and no longer supported as of PHP 8.
2021-04-26 21:38:42 +09:00
Yoshinari Takaoka c01b860bee Fix errors in the comments of example number 6 2021-03-23 03:30:06 +09:00
Yoshinari Takaoka 240006d899 Update EN-Revision only / Hot fix for comment of last line 2021-03-12 08:48:30 +09:00
Yoshinari Takaoka bc69bb0b0f Add example of a float string as an array key
The behaviour is different from a float key

Also reorder to put this example closer to the numeric keys
Use single quotes consistently

Closes GH-487
2021-03-12 08:47:10 +09:00
Yoshinari Takaoka 26856cc712 Add final example includes all variations of type casting and overwriting
Closes GH-450.
2021-02-23 21:51:51 +09:00
Yoshinari Takaoka af35b78ad2 Slightly improve previous commit
Sorry, forgot to do right away.
2021-02-23 21:39:38 +09:00
Yoshinari Takaoka 81f9298297 Added protected property example for Object To Array conversion
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-453.
2021-02-23 21:37:23 +09:00
Yoshinari Takaoka 04394a1507 Update note wrt. PHP 7.4 and 8.0
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351230 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-04 17:57:13 +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 5d2df4a7cf Remove mention of PHP 5 in Language Reference section
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351114 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-01 06:37:26 +00:00
Satoru Yoshida 536eee1ab8 correct typo
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348753 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-01 10:07:00 +00:00
Yoshinari Takaoka c0257491bf sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348600 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-19 21:12:46 +00:00
Satoru Yoshida 8a2f8ac6cc sync en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@343160 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-30 04:12:21 +00:00
Satoru Yoshida c822260ce1 sync en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@342456 c90b9560-bf6c-de11-be94-00142212c4b1
2017-05-06 15:05:25 +00:00
TAKAGI Masahiro 7d1a1292f6 Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@340042 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-15 22:46:07 +00:00
TAKAGI Masahiro 9ffe24df30 Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@340015 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-11 22:52:57 +00:00
TAKAGI Masahiro 51a2d7a517 Correct mistranslation
see; http://ml.php.gr.jp/pipermail/php-doc/2014-July/001142.html


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@334298 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-17 03:55:25 +00:00
TAKAGI Masahiro 0933e098cf Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@332550 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-01 23:39:45 +00:00
TAKAGI Masahiro 9ed04b8aa9 Update translation
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@331552 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-27 21:15:44 +00:00
TAKAGI Masahiro a6cc2d5afd Update translation (see: http://ml.php.gr.jp/pipermail/php-doc/2013-September/001129.html)
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@331551 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-27 21:10:58 +00:00
TAKAGI Masahiro 1cedc318ce Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@331146 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-17 22:12:48 +00:00
TAKAGI Masahiro d89b598206 Fix bug #65005
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@330619 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-22 07:45:19 +00:00
TAKAGI Masahiro 0f4367701a Update EN-Revision
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@329358 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-29 22:40:37 +00:00
TAKAGI Masahiro 3518544a69 Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@328432 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-20 16:14:11 +00:00
TAKAGI Masahiro bc10bcb956 Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@328386 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-17 02:31:36 +00:00
TAKAGI Masahiro e670c99b2c Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@327274 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-25 20:41:00 +00:00
TAKAGI Masahiro 789243cc92 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@325252 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-16 20:58:12 +00:00
TAKAGI Masahiro b8401c56c5 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@324722 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-02 23:12:35 +00:00