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

103 Commits

Author SHA1 Message Date
Yoshinari Takaoka
6c39ca672d xml: Remove xml_parser_free() from all examples
b47e4bea19
2025-10-20 21:13:43 +09:00
Yoshinari Takaoka
68fa286442 Mark xml_parser_free as deprecated.
00a8ae0c87
2025-10-05 13:41:44 +09:00
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
4759d2f93d [ext/xml] sync with en 2025-08-26 21:44:23 +09:00
Yoshinari Takaoka
b551d8a9e0 Synchronize manual with stubs for PHP 8.4 - part 8
18aa2012f6
2025-08-26 21:35:38 +09:00
KentarouTakeda
5393cd2c83 [PHP 8.4] xml,xsl関連機能の翻訳 (#172) 2024-11-17 14:57:48 +09:00
Yoshinari Takaoka
adbc745a9d Remove empty configuration pages
765b2d6eec
2024-07-27 19:04:27 +09:00
Yoshinari Takaoka
73d38a4b0d may also return "Unknown" if no description was found
ad323a863f
2024-06-16 17:56:54 +09:00
Gina Peter Banyard
e4f42ceee3 Apply commit from doc-en PR 3422 2024-06-14 17:01:59 +01:00
Yoshinari Takaoka
62f0f823f4 原文の消し忘れを削除 2023-10-07 21:29:49 +09:00
Yoshinari Takaoka
4810eff38c Overhaul XML handler docs
変更の趣旨としてはわかるんだが、translator には全く優しくない変更

5a14f904d2
2023-10-07 20:06:01 +09:00
Yoshinari Takaoka
b5bb3c2bd6 Corrections to xml_parser_[gs]et_option
9fb00a4cf8
2023-09-21 21:14:23 +09:00
Yoshinari Takaoka
ef5f805cec Syncronize predefined constants with stubs - part 1 2023-09-05 20:35:39 +09:00
Yoshinari Takaoka
3b30b8e440 Use new class synopsis markup
14767af0f0
2023-08-30 21:53:08 +09:00
Yoshinari Takaoka
5cbc0d4d26 Fix: Improve xml_parser_get/set_option parameters section
98b4495458
2023-08-02 08:56:12 +09:00
Yoshinari Takaoka
395b40f83a Narrow bool return types to true when possible
f781803449
2023-05-09 00:54:15 +09:00
Yoshinari Takaoka
f6a2e3c3f1 Drop xml_get_error_code() return false description
7b841d339c
2023-01-18 12:43:08 +09:00
Yoshinari Takaoka
6d800d3db8 Drop xml_get_current_line_number() return false description
a34ba2aef0
2023-01-18 12:42:11 +09:00
Yoshinari Takaoka
08745a4735 Drop xml_get_current_column_number() return false description
462e616265
2023-01-18 12:41:05 +09:00
Yoshinari Takaoka
a6f671fcbe Drop xml_get_current_byte_index() return false description
5dc10a2e57
2023-01-18 12:39:56 +09:00
Yoshinari Takaoka
ddbf7d42bc Revert "Add documentation for default constructors - part 1
adf11d8d64
2022-12-28 18:56:59 +09:00
Yoshinari Takaoka
18d1a009ea Add documentation for default constructors - part 1
0510540984
2022-12-20 10:06:09 +09:00
Yoshinari Takaoka
d68f90e3e9 「参照ください」に統一
- 参照下さい
- 参照して下さい
- 参照してください

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

closes: #23
2022-12-19 23:29:40 +09:00
Yoshinari Takaoka
1b92d2dd7c 最終的に、全体を「拡張モジュール」に統一することとした
closes: #24
2022-10-17 22:00:50 +09:00
Yoshinari Takaoka
c15b552230 s/エクステンション/拡張モジュール/
relates to: #24
2022-10-16 01:35:20 +09:00
Yoshinari Takaoka
be79ce66fa Fix casing of XMLParser class name
4b8dfa8d22
2022-09-03 01:08:22 +09:00
Yoshinari Takaoka
5885c10916 Fix return null description for xml_error_string()
e700973701
2022-07-09 00:08:28 +09:00
Yoshinari Takaoka
616f8944b2 Fix XMLParser example for more recent PHP versions
The example uses the `$parser` as array index, but that implicit
conversion to integer already raises a notice as of PHP 7.0.0, and
outright fails as of PHP 8.0.0, since the `$parser` is an object now.

Since there doesn't appear a good reason for `$depth` to be an array
which supports different parsers, we change it to an integer, what also
simplifies the example.

This basically integrates user note 127199.

f5992156e6
2022-07-02 18:28:02 +09:00
Yoshinari Takaoka
006f695931 Improve documentation of string encoding conversion functions
- Move utf8_encode and utf8_decode into the strings chapter, since
  they were moved out of the XML extension in 7.2
- Recommend mb_convert_encoding, iconv, and UConverter::transcode
  when mentioning encoding in passing
- Document UConverter::transcode, based on examination of source
  and upstream ICU docs
- Make the language used more consistent, e.g. "convert" rather
  than "encode"/"decode", "encoding" rather than "charset"

99d758bd25
2022-04-04 22:36:51 +09:00
Yoshinari Takaoka
0555fa191f s/返り値/戻り値/g 2021-10-09 02:40:05 +09:00
Yoshinari Takaoka
b74c7b4d3b Add note about NOP code
52dc204a77
2021-09-15 00:47:51 +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
b8f3d30fa9 Fix xml_get_current_byte_index notes section before changelog (php/doc-en#575) 2021-05-01 15:40:00 +09:00
Yoshinari Takaoka
1dc3511a7a Fix xml_set_default_handler return values section out-of-order (php/doc-en#575) 2021-05-01 15:38:31 +09:00
Yoshinari Takaoka
4c4cf5d04b Removed references to PHP 5, PHP 7.0 (php/doc-en#548) 2021-04-26 21:29:47 +09:00
Yoshinari Takaoka
7bdc4e3201 Remove or rewrite examples using implode("", file(...)) (#523)
This is a weirdly inefficient way of getting a file's content into
a string, and I'm not sure why anyone would think it was a good
idea.
2021-04-15 03:16:31 +09:00
Yoshinari Takaoka
7d411ce02e updated EN-Revision only 2021-03-20 05:20:44 +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
def02cf418 Generate some standard methodsynopses based on stubs
Cf. <https://github.com/php/doc-en/pull/289>.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@352198 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 04:34:12 +00: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
d94eece62e Document new opaque classes which replace resources
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351936 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-06 22:57:14 +00:00
Yoshinari Takaoka
25cefc6119 XmlParser has been renamed to XMLParser
Although class names are case-insensitive, we better document the proper case.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351805 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-01 01:30:55 +00:00
Yoshinari Takaoka
445e4ee936 XML parsers are objects as of PHP 8.0.0
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351481 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-22 00:31:22 +00:00
Yoshinari Takaoka
a3a3e93e64 Generate xml 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@351479 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-22 00:08:08 +00:00
Yoshinari Takaoka
cb307a5acd Mark up constants as such
Maybe some day we'll get automatic linking of constants – one may dream.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351477 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-21 22:38:08 +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
8f542adde4 Status: working -> ready
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348872 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-12 02:36:31 +00:00
Yoshinari Takaoka
4e36554c1f sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348828 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-06 17:22:52 +00:00