1
0
mirror of https://github.com/php/doc-ja.git synced 2026-04-29 11:03:19 +02:00
Commit Graph

417 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
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 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 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
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 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 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
Yoshinari Takaoka 36c0963fe9 fopen() $mode is ignored for several php:// stream wrappers
Cf. <https://bugs.php.net/79905>.
https://github.com/php/doc-en/commit/c5c3a4153df3b8c8007a33488f676e31b8e0f906
2021-12-10 19:23:18 +09:00
Yoshinari Takaoka af01ffeeba parse_ini_file and parse_ini_string don't actually support value interpolation
https://github.com/php/doc-en/commit/f8b0bb410016270b696b28d3d416672dd2f7e66b
2021-11-16 00:54:52 +09:00
Yoshinari Takaoka 6bb8feda99 PDO_PGSQL DSN could have "sslmode" documented
https://github.com/php/doc-en/commit/a0f0f0446d4327a1c7a48ea7ee3502b6ebec56b8
2021-11-09 07:44:45 +09:00
Yoshinari Takaoka 9cea980d07 dirname(): add warning about risk of infinite loop
親ディレクトリに遡っていって、ディレクトリの中身を読み取るようなコードが該当する。ループの終了条件に注意な。

https://github.com/php/doc-en/commit/67ca0d930c95a85ea49aff456409409f6ae06c1b
2021-11-08 21:48:27 +09:00
Yoshinari Takaoka 1f34312aec s/ふるまい/振る舞い/g
$ find . -type f -name "*.xml" -print0 | xargs -0 sed -i -e "s/ふるまい/振る舞い/g"
2021-10-16 05:30:56 +09:00
Yoshinari Takaoka a090f39826 [PHP 8.1] Add fdatasync and fsync description
https://github.com/php/doc-en/commit/21129de1745eb016452f0ce8a2c3e47fbb8484de
2021-10-09 09:07:50 +09:00
Yoshinari Takaoka 0555fa191f s/返り値/戻り値/g 2021-10-09 02:40:05 +09:00
Yoshinari Takaoka 08c8cec237 [PHP 8.1] Update fputcsv and SplFileObject::fputcsv description
https://github.com/php/doc-en/commit/fcbbbd9fda2c03ed4a2e02ac23f2c06f8983f9d0
2021-09-28 23:40:59 +09:00
Yoshinari Takaoka 6b9ee5750b CSV 関連の「プロプライエタリ」の訳を修正 (#15) 2021-09-28 23:23:32 +09:00
Yoshinari Takaoka d7681c2155 tempnam() issues E_NOTICE on temp dir fallback as of PHP 7.1.0
https://github.com/php/doc-en/commit/2f07d53d999169b7446669a51dfd6ce9b3c20435
2021-09-28 00:14:46 +09:00