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

69 Commits

Author SHA1 Message Date
Yoshinari Takaoka
71908b93a0 Update default value to 'Parent Class' in XML
fc068b4857
2025-10-13 19:40:13 +09:00
Yoshinari Takaoka
8b81bca700 example を修正 / new に関するドキュメントの挿入位置が誤っていたバグを修正
c418145223 でバグが混入していた、、
内容的には影響はないのだが、英語版をベースにする建前は厳守するべき。正直スマンかった。
2025-08-28 19:14:44 +09:00
siwa32
2bd57a5e80 PHP 8.4: Single underscore as class name is deprecated の翻訳 (#215) 2024-12-15 18:07:43 +09:00
Haruki Tazoe
0ecd4d16d7 省略可能な括弧について追記 (#163) 2024-11-10 15:53:08 +09:00
Yoshinari Takaoka
805457c98d Fix markup issues in language section
f94d903985
2024-04-28 14:54:48 +09:00
Yoshinari Takaoka
28608b0c68 Update EN-Revision only / Remove replaceable class from magic constant 2023-05-11 19:50:10 +09:00
Yoshinari Takaoka
ef08b48b43 Constructor visibility can be restricted
99744a3bfa
2023-02-22 19:45:03 +09:00
Yoshinari Takaoka
0d557d8a9e Use FQCN for native attributes
* Use FQCN for native attributes

For attributes, it's non-obvious that they need to be imported with `use` or
referenced with their FQCN, because applying a non-existent attribute is not an
error.

Make the examples copy-and-paste safe by adding the leading backslash, as
already done for `#[\SensitiveParameterValue]`.

6e69d9342e
2023-01-05 21:16:36 +09:00
Yoshinari Takaoka
4717f779ef [readonly class] 訳とリンクテキストを微調整 2022-11-13 11:23:34 +09:00
Yoshinari Takaoka
ce414ed208 Document readonly classes
512670405c
2022-11-13 00:54:28 +09:00
Yoshinari Takaoka
2938da1363 例外は「投げる」ではなく、「スローする」に統一
これは決めの問題だが、私も含めて、「スローする」派が圧倒的に優勢だったので、そちらに倒す。
2022-11-12 15:55:49 +09:00
Yoshinari Takaoka
37ebb6c399 statically call の日本語訳 を改善 (#49) 2022-05-14 16:10:39 +09:00
Yoshinari Takaoka
7cfc3057d7 静的 -> static な文脈をさらに調整 2022-05-03 03:02:27 +09:00
Yoshinari Takaoka
bbc7f38069 s/静的プロパティ/staticプロパティ/
find . -name '*.xml' | xargs sed -i "s/静的プロパティ/staticプロパティ/g"
2022-05-03 02:21:41 +09:00
Yoshinari Takaoka
c418145223 [8.0] Document remaining core changes
* document changes to `new` in php 8.0
* document php 8.0 changes for `instanceof`
* document php 8.0 change to `define`

c36ce0b514
2021-12-16 12:43:51 +09:00
muno92
3760828bc6 クラスのインスタンス化の説明でshouldが「しなければならない」と訳されていたので修正 (#29) 2021-12-15 22:49:36 +09:00
Yoshinari Takaoka
1d2ff355bd [PHP 8.1] Document final class constants.
5d1673b7a0#
2021-11-30 12:46:10 +09:00
Yoshinari Takaoka
e3aa32c34b Refactor OO section part 2
Some misses from the first time

Signed-off-by: Larry Garfield <larry@garfieldtech.com>

Closes GH-329
2021-03-06 00:24:19 +09:00
Yoshinari Takaoka
d0ab65119b $this is not a **reference** to the called object.
It's the value of the called object.

Additionally, in php 7.1, it was no longer possible to reassign $this
indirectly through a reference.

Even in php 7.0, I'd think it would initially be more like a value
(that references can be created from) than
a reference, but I may be misunderstanding what this means or what $this
did in php 5 or older.

Closes GH-380.
2021-01-25 00:09:55 +09:00
Yoshinari Takaoka
5568aa4233 Update method signature section for PHP 7/8
Closes GH-321
2021-01-16 20:45:02 +09:00
Yoshinari Takaoka
f3d0de8cfc Refactor OO section
This mostly consists of removing PHP 5 mentions and rewritting the docs accordingly.

Reviewed by Christoph M. Becker <cmbecker69@gmx.de> and Anna Filina <afilina@gmail.com>

Co-authored-by: Anna Filina <afilina@gmail.com>

Closes GH-277
2021-01-14 04:10:36 +09:00
Yoshinari Takaoka
08d533d600 Fix #80497: Incorrect example #11 for ::class on OOP The Basics page
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351971 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-09 13:18:14 +00:00
Yoshinari Takaoka
3104379697 Document nullsafe operator
Closes GH-244.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351741 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-29 00:52:24 +00:00
Yoshinari Takaoka
622c96d13c Document the ::class constant on objects
Also, improve ::class description based on comments.

Closes GH-239.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351717 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 04:36:46 +00:00
Yoshinari Takaoka
dfde7bc74a Fix #70702: Documentation missing to explain unexpected optimisation
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@350433 c90b9560-bf6c-de11-be94-00142212c4b1
2020-08-31 13:25:28 +00:00
Yoshinari Takaoka
775db8c0dc sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348624 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-20 02:35:42 +00:00
Satoru Yoshida
5755e9e97a sync en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@344811 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-23 14:50:24 +00:00
Satoru Yoshida
85ef9d6c37 sync en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@343835 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-14 04:08:57 +00:00
Satoru Yoshida
05af8b4477 sync en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@341991 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-28 14:37:42 +00:00
TAKAGI Masahiro
9b6a50d73f Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@340887 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-06 08:13:43 +00:00
TAKAGI Masahiro
4b895ecc0e Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@339553 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-03 22:50:58 +00:00
TAKAGI Masahiro
08cde3f923 Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@339399 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-19 12:06:36 +00:00
TAKAGI Masahiro
4d312618ad Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@338543 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-27 03:14:37 +00:00
TAKAGI Masahiro
05bc3a0410 Sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@337778 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-07 22:59:58 +00:00
TAKAGI Masahiro
1293b2707b Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@336716 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-04 21:42:55 +00:00
TAKAGI Masahiro
9241c6860b Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@333219 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-30 06:29:10 +00:00
TAKAGI Masahiro
4a0b7532eb Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@332034 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-31 22:53:30 +00:00
TAKAGI Masahiro
294565433c Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@330603 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-21 08:50:12 +00:00
TAKAGI Masahiro
625f2bef6e Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@330220 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-14 23:28:35 +00:00
TAKAGI Masahiro
9d9be2cc56 Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@328106 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-22 22:28:45 +00:00
TAKAGI Masahiro
e4e55215e3 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@321309 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-21 23:14:02 +00:00
TAKAGI Masahiro
9a4a638e6a sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@306893 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-31 02:33:17 +00:00
TAKAGI Masahiro
fcf282b56c sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@302260 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-15 08:01:54 +00:00
TAKAGI Masahiro
1028fdabdb sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@298406 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-24 01:21:44 +00:00
TAKAGI Masahiro
1d82a713c5 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@297819 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-10 23:31:49 +00:00
TAKAGI Masahiro
5ce5720f84 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@289489 c90b9560-bf6c-de11-be94-00142212c4b1
2009-10-10 05:41:55 +00:00
Torben Wilson
5ba20ff84e Resynched with en (bumped EN-Revision and updated sgml-default-dtd-file).
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@288881 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-28 05:30:52 +00:00
TAKAGI Masahiro
4f184d65fd sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@288283 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-12 19:17:25 +00:00
TAKAGI Masahiro
8568005662 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@287909 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-31 03:51:20 +00:00
Nilgün Belma Bugüner
cfe0f9e820 changed EN-Revision tag as cvs2svn;
fixed svn properties

git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@283941 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-12 16:24:00 +00:00