1
0
mirror of https://github.com/php/doc-ja.git synced 2026-04-26 17:38:12 +02:00
Commit Graph

457 Commits

Author SHA1 Message Date
Yoshinari Takaoka 7970f1c69a parse_ini_*(): Add warning that the functions are unsafe with untrusted inputs
https://github.com/php/doc-en/commit/bb54309eff8a7d75ead0fdf48cc6dae99dd00367
2025-10-31 23:57:57 +09:00
Yoshinari Takaoka ff95ca3334 Update fopen.xml for 'n' flag
https://github.com/php/doc-en/commit/18bac8389b98d513c89e965000086acfcdfdd0a9
2025-10-13 19:41:51 +09:00
Yoshinari Takaoka e2c6a1ddcd [reference/filesystem] sync with en 2025-09-02 22:57:09 +09:00
Yoshinari Takaoka 24005b8db2 sync with en / Glob: Mention {} expansion
https://github.com/php/doc-en/commits/master/reference/filesystem/functions/glob.xml
2025-08-09 19:59:15 +09:00
Yoshinari Takaoka fa81f5b015 sync with en / Group related filesystems constants together
https://github.com/php/doc-en/commits/master/reference/filesystem/constants.xml
2025-08-09 19:37:46 +09:00
siwa32 3690cd32b3 PHP 8.4: CSV related changes and deprecations の翻訳 (#250)
* PHP 8.4: CSV related changes and deprecations の取り込み

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

以下も合わせて取り込む

reference/spl/splfileobject/setcsvcontrol.xml
- [skip-revcheck] Fill xi:fallback to avoid 'variablelist incomplete' in some translations
  - https://github.com/php/doc-en/pull/4128
- Update setcsvcontrol.xml Fix typo
  - https://github.com/php/doc-en/pull/4379

reference/spl/splfileobject/fgetcsv.xml
- Update fgetcsv.xml Remove the duplicate sentence
  - https://github.com/php/doc-en/pull/4111

* Fix GH-4175: do not say the parameters are optional の取り込み

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

* Document str_getcsv() and fgetcsv() change in 8.3.0 (closes #4197) の取り込み

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

* Fix: Add explicit $escape parameter in fputcsv for PHP 8.4 compatibility の取り込み

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

* 改行位置を原文と合わせる対応

---------

Co-authored-by: 武田 憲太郎 <takeda@youmind.jp>
2025-01-19 11:40:13 +09:00
KentarouTakeda 180a2c1299 <type>型名</type><type>typeName</type> に修正 (#210) 2024-12-31 12:26:43 +09:00
Yoshinari Takaoka b693c7b88f add Revision tag / Remove XIInclude 1.1 attribute from element
https://github.com/php/doc-en/commit/07e4b982a4097d894d8576ab793f3cf18759983d
2024-12-03 23:56:05 +09:00
Yoshinari Takaoka 07445b8f52 sync with en / Add explicit warning about CSV function's escape parameter
https://github.com/php/doc-en/commit/cef78b0fbe0fbe02003699b027ab50200097e949
2024-12-03 02:20:11 +09:00
Gina Peter Banyard 3b0b2422ea Sync glob() docs with EN 2024-10-31 17:01:22 +00:00
USAMI Kenta 5510f67a8b doc-enの差分を反映(1) (#138)
* Add explicit warning about CSV function's escape parameterName

https://github.com/php/doc-en/commit/cef78b0fbe0fbe02003699b027ab50200097e949

* Add title+titleabbrev to preface and reformat info box

https://github.com/php/doc-en/commit/dee52c067be3be96a735f0c33cbcf0009a996b2e
2024-10-31 07:28:29 -07:00
Yoshinari Takaoka 47475bc5fa [status ready] traslated filesystem/constants.xml 2024-08-17 19:27:46 +09:00
Yoshinari Takaoka 2df9f86010 fopen.xml: add link to the function page
https://github.com/php/doc-en/commit/74b2af242f2131cd43a8830fee3864f1f68ccbed
2024-07-27 18:05:04 +09:00
Yoshinari Takaoka 4313f86186 fopen.xml: remove the string '1' for the boolean parameter
https://github.com/php/doc-en/commit/0bab859f87d184d6e959987ad6731bc7f4e8b66b
2024-07-27 18:02:36 +09:00
Yoshinari Takaoka e030fad6ea fgets.xml: place each file line on new line by PHP_EOL 2024-07-27 18:01:05 +09:00
Yoshinari Takaoka 8d93e53c55 Add PATHINFO_ALL constant
https://github.com/php/doc-en/commit/a93bf76a1bb8f0d1cce34c7ac637fad377432047
2024-07-27 12:02:11 +09:00
Yoshinari Takaoka b350d5a088 Add UPLOAD_ERR constants
https://github.com/php/doc-en/commit/5efcb2dc7204ed8eb0459e62d1d44646de9faa90
2024-07-27 11:49:41 +09:00
Yoshinari Takaoka 6caf9da879 Remove empty requirements pages
https://github.com/php/doc-en/commit/605553e228c78a9368736f4ff36d185cf7e6eb22
2024-07-27 11:26:43 +09:00
Yoshinari Takaoka a5d63ead49 Remove empty installation pages
https://github.com/php/doc-en/commit/57d1b0df36cc1da4fae0113979343405eff223fd
2024-06-29 15:16:59 +09:00
Yoshinari Takaoka 7713a279b6 Improve documentation about fnmatch wildcards
https://github.com/php/doc-en/commit/946fbe44b60bd5fdc1d7b7a5f016be670425f5b4
2024-04-28 17:30:51 +09:00
Yoshinari Takaoka 8dcfb8c529 Change literal to constant tags
https://github.com/php/doc-en/commit/61374bbe228e8e9c55a24aba59a1e2bb2a871148
2024-04-28 14:12:56 +09:00
Yoshinari Takaoka 8b5ec99cd2 XInclude GLOB constants in glob.xml
https://github.com/php/doc-en/commit/850ac483c876e767048222f9133e2498145f9f4a
2024-02-11 20:36:10 +09:00
Yoshinari Takaoka 998f2e49a7 Add GLOB_ERR and description of GLOB constants
https://github.com/php/doc-en/commit/3675d8d7e4cd14e1558d0dd30e8c003536c3eb18
2024-02-11 20:33:06 +09:00
Gina Peter Banyard 3949505003 Apply revchecked skipped commit c60943fefc4ff8950460e76d714a463437cf0eb2
Replace PHP_INI_* with INI_* constants
2024-01-26 13:55:31 +00:00
Gina Peter Banyard 8f4355b84f Replace role="noversion" attribute usage with the new annotations one
Done using the following commands:
find . -type f -name "*.xml" -exec sed -i 's/role="noversion"/annotations="verify_info:false"/g' {} +

Applies	commit ec6e871a47fa15228aa3299f46fed826422adbc0	from doc-en
2023-11-01 16:41:30 +00:00
Yoshinari Takaoka ef5f805cec Syncronize predefined constants with stubs - part 1 2023-09-05 20:35:39 +09:00
Yoshinari Takaoka fde93eb597 Added missing FILE_NO_DEFAULT_CONTEXT for file()
「ストリーム」コンテキストと訳すべきかどうかは疑義があろう。
だが、元のPR ( https://github.com/php/doc-en/pull/2540 ) でも触れられている通り、以下のソースコードの文脈と、context パラメータから、そうとしか読み取れない。またはそう読むのが自然である。

https://heap.space/xref/php-src/main/streams/php_stream_context.h?r=d22d0e26#31-35

https://github.com/php/doc-en/commit/2957432ebc5ba2770805c08d5c867543ced8dd85
2023-06-25 05:19:28 +09:00
Yoshinari Takaoka 45d745b891 Fold in comments for pathinfo()
https://github.com/php/doc-en/commit/d0cc084a925f112c156d0dbac12718b2bd8d4889
2023-05-23 22:18:38 +09:00
Yoshinari Takaoka eefbbac4cf safe_mode is long gone
https://github.com/php/doc-en/commit/fccc7eb7010120c17732c57f93df1f321245376c
2023-01-29 14:07:53 +09:00
Yoshinari Takaoka c0650a8963 Remove redundant parentheses
https://github.com/php/doc-en/commit/7c9f1adb4b7d55a7a37b0503ec895412a6ecc656
2023-01-24 03:27:17 +09:00
Yoshinari Takaoka 7df257a703 tmpfile() uses binary mode
https://github.com/php/doc-en/commit/65bea242c8fe4217602a9759eb8289ddf0d9e899
2023-01-22 18:22:20 +09:00
Yoshinari Takaoka d68f90e3e9 「参照ください」に統一
- 参照下さい
- 参照して下さい
- 参照してください

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

closes: #23
2022-12-19 23:29:40 +09:00
Yoshinari Takaoka e909d4ca41 表記揺れを修正: サーバー / サーバ
find . -type f -name "*.xml" -print0 | xargs -0 sed -i -e "s/\(サーバ\)\([^ー]\)/サーバー\2/g"

closes: #69
2022-12-19 23:00:35 +09:00
Yoshinari Takaoka 5462823f12 Fix example of interpolation in parse_ini_file
https://github.com/php/doc-en/commit/a5346daf2bb2fab250fa03f0f6639a408d0b2240
2022-12-08 21:09:54 +09:00
Yoshinari Takaoka 9b680f392e Update EN-Revision only
英語版は文法の修正をやっているが、日本語的には意味は変わらなかった。

https://github.com/php/doc-en/commit/d1cacac75c04a115ee9b464015ce8e7782bd1517
2022-10-02 09:47:04 +09:00
Yoshinari Takaoka 6858a9c66e improved example output.
出力をコメントにすることは誤訳を誘発しやすく、とても悪いプラクティスである。

https://github.com/php/doc-en/commit/e9c706885ef677389883ee30013fd76580657b0f
2022-10-01 19:10:32 +09:00
nsfisis c372f23024 Fix filetype()'s doc (#60) 2022-10-01 13:56:05 +09:00
Yoshinari Takaoka 7c7e983bfd Fix: fwrite() raises E_WARNING on failure
https://github.com/php/doc-en/commit/bb6247b68128cab1b166b49a3a73a87f40333267
2022-07-15 02:01:31 +09:00
Yoshinari Takaoka 4bff25a5fd fread, references fseek.
https://github.com/php/doc-en/commit/ae5b5761e220b355014d0845e060ea1669befe7a
2022-07-14 02:08:37 +09:00
Yoshinari Takaoka 34b0ad04d4 Added small clarification and fixed grammar mistake
https://github.com/php/doc-en/commit/cfbb1ee52ef133dfd5e464cb18fe2ee60da2bdb2
2022-07-13 01:01:14 +09:00
Yoshinari Takaoka b44db3f1df Add caveats to mkdir based on comments
https://github.com/php/doc-en/commit/6b48028aef8211f89ae6c9fefe64177de2f86e12
2022-07-06 01:31:53 +09:00
takaram 545566fec0 「失敗した場合にfalseを返します」の後に句点を追加 (#48) 2022-05-12 22:47:52 +09:00
Yoshinari Takaoka 9022c73f41 Fix: f/sscanf() do not mention assignment suppression feature
https://github.com/php/doc-en/commit/4225e50bc391ddba99e367c231463da0dc04357d
2022-05-11 05:16:24 +09:00
Yoshinari Takaoka d81b12d238 Fix error in touch() atime param docs
https://github.com/php/doc-en/commit/2b56c905fb0d6fcab44cc0c2abdbf393fc2b69ea
2022-02-07 21:01:30 +09:00
Yoshinari Takaoka 334072faab Fix: "clearstatcache" always clears the stat cache
https://github.com/php/doc-en/commit/e82ff8a846af03b863c4a57fbedc0a93af0e68db
2022-01-15 14:39:08 +09:00
Yoshinari Takaoka b06bad362a Fix fgetcsv() return value section
https://github.com/php/doc-en/commit/34e2e3541c52edc9f60a1ad9735b1f769254eb1e
2021-12-28 19:53:12 +09:00
Yoshinari Takaoka 04d17d4b9b Update the signature of fgetcsv() and fputcsv()
https://github.com/php/doc-en/commit/291d60430d25f2b508bebb5720b41cc68f9a6ec1
2021-12-28 11:00:29 +09:00
Yoshinari Takaoka 1b37af19b7 auto_detect_line_endings is deprecated
auto_detect_line_endings is deprecated as of PHP 8.1.0

https://github.com/php/doc-en/commit/36d8d80891c1dfc49dacecccc7d43b7fe6a6bb89
2021-12-23 22:22:45 +09:00
Yoshinari Takaoka 47c0548504 Clean up filesystem function signatures
https://github.com/php/doc-en/commit/ea62fb83196997032641b50fe44420305466195e
2021-12-23 22:20:58 +09:00
Yoshinari Takaoka 4179bdb300 Errors/Exceptions missing for chmod()
https://github.com/php/doc-en/commit/5eb55cda5cc4bc61e94f17468c6402d631edafa5
2021-12-16 13:04:20 +09:00