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

19 Commits

Author SHA1 Message Date
Yoshinari Takaoka
fa834f526e Standardize ArrayAccess::offsetExists() example
09003ff79e
2023-06-26 23:48:41 +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
6edcf79fbd Update ArrayAccess role attributes
ed312486ff
2022-12-13 01:32:36 +09:00
Yoshinari Takaoka
742b3faafe Remove backslash prefix for some ReturnTypeWillChange attributes
Backslashes before ReturnTypeWillChange in deprecation messages were left as-is, since those are quoting actual output from PHP. See 081cf71 for those messages.

362f36f682
2022-08-19 04:55:26 +09:00
Yoshinari Takaoka
6a385a04aa Fix ArrayAccess::offsetExists() example for PHP 8.1+
The newly introduced tentative return types require us to specify
return types for the method implementation.  Since `mixed` is only
available as of PHP 8.0.0, we use the `ReturnTypeWillChange` attribute
to suppress the deprecation for now.

This includes user note 127108 (well, at least the relevant parts of
it).

cfaa7659da
2022-05-17 23:35:04 +09:00
Yoshinari Takaoka
5939d60b80 Remove abstract modifier from ArrayAccess methods
9e9e3c019b
2021-08-06 09:36:06 +09:00
Yoshinari Takaoka
615191abe1 Fix some issues in predefined directory 2021-06-13 20:34:02 +09: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
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
TAKAGI Masahiro
9f952c86d8 Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@336804 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-19 22:51:42 +00:00
TAKAGI Masahiro
af4747c17b Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@335771 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-18 02:03:27 +00:00
TAKAGI Masahiro
551e022d37 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@305728 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-24 21:13:41 +00:00
TAKAGI Masahiro
5d2ae4d085 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@301379 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-19 01:00:10 +00:00
Satoru Yoshida
fa4820d881 Update language/predefines
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@297751 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-09 14:17:57 +00:00
TAKAGI Masahiro
18787bcfd9 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@290156 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-03 00:38:59 +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
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
TAKAGI Masahiro
0f5e3002eb sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@276178 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-20 03:57:53 +00:00