1
0
mirror of https://github.com/php/doc-ja.git synced 2026-03-24 07:02:08 +01:00

43 Commits

Author SHA1 Message Date
Yoshinari Takaoka
9f1b814a2b Add &warn.deprecated.function-*; to all deprecated functions
ce98b568f8
2025-10-05 13:34:14 +09:00
Yoshinari Takaoka
99bb1f3e92 Update function attributes
42d5fb01e0
2025-10-05 13:31:39 +09:00
Yoshinari Takaoka
f7d26aa5db [ext/reflection] sync with en. 2025-08-27 18:54:39 +09:00
siwa32
b8ed28cd20 PHP8.4 doc-en#4037とdoc-en#4244を翻訳 (#224)
* PHP 8.4: Document reflection changes を翻訳

https://github.com/php/doc-en/pull/4037

* [PHP 8.4] Add class constant types for Reflection を翻訳

https://github.com/php/doc-en/pull/4244/files

* インデント微調整

---------

Co-authored-by: 武田 憲太郎 <takeda@youmind.jp>
2024-12-23 14:06:17 +09:00
Yoshinari Takaoka
0d56df5219 [PHP 8.3] ReflectionMethod::createFromMethodName
5b57360795
2023-11-16 01:27:32 +09:00
Yoshinari Takaoka
728ede7f39 Reflection: fix some "undocumented" methods, and some other edits for consistency
* If a method has a refpurpose, description, parameters and return
  values, it's documented, there's no need for the warning box.
* Add description where there was none. It is usually very similar
  to the refpurpose.
* Document ReflectionZendExtension::__construct(), and update
  ReflectionExtension::__construct() for consistency.
* In ReflectionFunction::__toString()
* Remove some references to deprecated export() methods.
* Add example for ReflectionParameter::__toString().

ca840c9a6d
2023-06-17 11:10:20 +09:00
Yoshinari Takaoka
79cec4de43 Fix: ReflectionFunction has isStatic, but missing in docs
170218df33
2023-01-03 10:10:39 +09:00
Yoshinari Takaoka
cdafb72cba Update ext/reflection role attributes
ec2fe9a592
2022-12-12 20:33:00 +09:00
Yoshinari Takaoka
46298c96d9 Add invokeArgs Changelog
46359240e6
2022-12-11 22:18:15 +09:00
Yoshinari Takaoka
35ffb219f7 未訳部分を修正 2022-11-08 21:55:26 +09:00
Yoshinari Takaoka
98ece40704 [PHP 8.2] Add ReflectionFunction::isAnonymous and ReflectionMethod::hasPrototype methods
ee2e49869d
2022-09-30 00:48:04 +09:00
Yoshinari Takaoka
7a512f8031 s/静的メソッド/staticメソッド/
find . -name '*.xml' | xargs sed -i "s/静的メソッド/staticメソッド/g"
2022-05-03 02:15:42 +09:00
Yoshinari Takaoka
18fe544b89 Remove return value section for Reflection constructors
967b4787ba
2022-04-08 23:30:10 +09:00
Yoshinari Takaoka
3bf0366dc5 Remove &warn.undocumented.func; from Reflection
Removed from all the places where it wasn't stricly necessary.

ab58951f68
2022-03-30 20:20:36 +09:00
Yoshinari Takaoka
92c25c7114 Reflection(Property|Method)::setAccessible() no longer has effect
Cf. <https://wiki.php.net/rfc/make-reflection-setaccessible-no-op>.
7b6a20ed5d
2021-11-27 23:33:36 +09:00
Yoshinari Takaoka
b328f5e58c Fix #81065: Changes to Reflection modifiers not documented 2021-05-24 00:31:05 +09:00
Yoshinari Takaoka
5cc4e054f3 replaced deprected warning with deprecated-removed one. 2021-05-02 14:26:16 +09:00
Yoshinari Takaoka
0cecdba62d Fix typo / Updated EN-Revision only.
Pointed out by GSokol / 日本語版は前のコミットで修正済み。
2021-04-29 18:32:53 +09:00
Yoshinari Takaoka
1533df741f Add note for passing references to invoke methods.
During running unit tests for a private method I faced the lack of
documentation about how to pass arguments by references through `invoke`
method. (See https://bugs.php.net/bug.php?id=80991) I'd like to add
notes to clarify the workaround to make it easier for others.

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes php/doc-en#550
2021-04-29 18:32:01 +09:00
George Peter Banyard
223542483b Update EN-Revision tags for new rev-check
This only updates files which have an empty diff between the two different revisions
2021-02-02 18:27:13 +00:00
Yoshinari Takaoka
987c394d49 Fix #55026: Document access to protected/private members using reflection
Closes GH-325.
2021-01-13 01:50:18 +09:00
Yoshinari Takaoka
f384e4041b Restore overloaded signature of reflectionmethod::__construct()
Still not great, but that constructor is a mess.
2021-01-03 10:59:37 +09:00
Yoshinari Takaoka
d491c15b49 Remove duplicate constructorsynopsis 2021-01-03 07:10:30 +09:00
Yoshinari Takaoka
9b47fea4f6 Generate reflection methodsynopses based on stubs
We also document the new `$filter` parameter for the `ReflectionClass`
methods `::getConstants()` and `::getReflectionConstants()` and the
respective constants.

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-298.
2021-01-01 05:41:07 +09:00
Yoshinari Takaoka
975835b9bd update EN-Revision only
EN-Revision was fully updated, because of revert r351730, r351729.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@352016 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-11 19:06:49 +00:00
Yoshinari Takaoka
c58bf47244 Proper variadics instead of pseudo variadics
We markup variadic parameters with the `rep=repeat` standard DocBook
attribute of `<methodparam>`, and use proper variable names instead of
using the old pseudo variable name `...`.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351140 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 16:41:17 +00:00
Yoshinari Takaoka
eb11a4126e ReflectionMethod accepts string|object, not mixed
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351073 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 09:50:01 +00:00
Yoshinari Takaoka
9a4def4699 Reflection*::export is deprecated as of PHP 7.4.0
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@350502 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-03 10:08:11 +00:00
Yoshinari Takaoka
6d08cf5c86 updated reflection related translation
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348846 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-08 14:01:43 +00:00
Yoshinari Takaoka
988cd07cb5 The signature of ReflectionMethod::getClosure() depends on its usage
As already pointed out in the description of the $object parameter.
See also bug #78897.

Bug: https://bugs.php.net/78897 (Assigned) ReflectionMethod::getClosure declaration changed silently in 7.4


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348414 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-03 19:46:51 +00:00
Satoru Yoshida
8004cadd1c sync en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@346978 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-07 15:10:41 +00:00
Satoru Yoshida
e2c6ddaec9 sync en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@346959 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-03 06:08:55 +00:00
TAKAGI Masahiro
11129635ff Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@331680 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-05 04:36:32 +00:00
TAKAGI Masahiro
26db65190d Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@330283 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-19 02:54:42 +00:00
TAKAGI Masahiro
fbc1903528 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@322654 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-24 10:43:01 +00:00
TAKAGI Masahiro
ac0576e6f5 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@321714 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-03 10:12:35 +00:00
TAKAGI Masahiro
b462447b0a sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@317972 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-10 13:31:35 +00:00
TAKAGI Masahiro
ada42031cf update EN-Revision :-)
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@317728 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-04 20:52:09 +00:00
Richard Quadling
2d53af9267 Native EOL
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@317669 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-03 16:39:46 +00:00
TAKAGI Masahiro
7d72d588bf sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@313922 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-29 13:16:12 +00:00
TAKAGI Masahiro
cc02f4aa71 add Japanese translation.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@313099 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-10 01:07:50 +00:00
TAKAGI Masahiro
958e8c994c sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@308719 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-27 09:39:37 +00:00
TAKAGI Masahiro
821fbfb9bc add Japanese translation.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@303284 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-12 01:23:18 +00:00