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

434 Commits

Author SHA1 Message Date
KentarouTakeda
bede85bf76 戻り値型 bool→true 同期・return type sync 40 件 (#357)
## 翻訳内容

### reference/image(34件)— return type アノテーション修正

- reference/image/functions/imageresolution.xml — 戻り値型を `array|bool` から `array|true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagealphablending.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imageantialias.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagearc.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagechar.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagecharup.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagecolordeallocate.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagecolormatch.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagecopy.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagecopymerge.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagecopymergegray.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagecopyresampled.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagecopyresized.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagedashedline.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagedestroy.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imageellipse.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagefill.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagefilledarc.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagefilledellipse.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagefilledrectangle.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagefilltoborder.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imageflip.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagegammacorrect.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagelayereffect.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imageline.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagerectangle.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagesavealpha.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagesetbrush.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagesetclip.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagesetpixel.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagesetthickness.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagesettile.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagestring.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214
- reference/image/functions/imagestringup.xml — 戻り値型を `bool` から `true` に修正
  1. php/doc-en@fcd9214

### 独立ファイル

- reference/array/functions/array-multisort.xml — 戻り値型を `bool` から `true` に変更、8.5.0 changelog 追加
  1. php/doc-en@5b76466
- reference/fileinfo/functions/finfo-close.xml — 戻り値型を `true` に変更、NOP化・非推奨の changelog 追加
  1. php/doc-en@fcd9214
  2. php/doc-en@34bd6f0
  3. php/doc-en@5b76466
- reference/ftp/functions/ftp-set-option.xml — 戻り値型を `true` に変更、errors セクション追加、8.5.0 changelog 追加
  1. php/doc-en@fcd9214
  2. php/doc-en@5b76466
- reference/sem/functions/shm-detach.xml — 戻り値型を `bool` から `true` に変更、8.5.0 changelog 追加
  1. php/doc-en@5b76466
- reference/pcntl/functions/pcntl-exec.xml — 戻り値型を `bool` から `false` に修正、エンティティエンコーディング修正
  1. php/doc-en@fcd9214
- reference/libxml/functions/libxml-set-external-entity-loader.xml — 戻り値型を `bool` から `true` に変更、8.5.0 changelog 追加
  1. php/doc-en@5b76466
2026-03-16 21:02:10 +09:00
Takuya Aramaki
89cee477f6 関数名の記載ミス訂正 (#323)
doc-en -> doc-ja の反映漏れ

- cc50ece11c
- 40fc7aab33
2026-02-23 21:55:04 +09:00
Yoshinari Takaoka
b81b83ee52 余計な "and" を削除 2026-01-05 18:58:33 +09:00
Yoshinari Takaoka
2b57e6952b Update array-key-exists.xml with deprecation notice
faa17c20aa
2026-01-05 10:25:18 +09:00
Yoshinari Takaoka
fdba6983e2 Markup nits for new array_first and array_last function docs
b68b5e427e
2025-11-04 20:40:33 +09:00
Yoshinari Takaoka
69893787f4 array_walk: Fix misleading wording
4ca7cdeaee
2025-10-31 23:53:05 +09:00
Yoshinari Takaoka
52eb20bd31 array-map.xml Change the misleading wording
1f5bcc30ee
2025-10-18 15:52:38 +09:00
Yoshinari Takaoka
dc9dbf5622 直前のコミットの、修正漏れを対応
85c47f89f3
2025-10-14 10:44:06 +09:00
Yoshinari Takaoka
e33bc583ef [PHP 8.5] added array_[first|last] Documentation
85c47f89f3
2025-10-14 04:17:55 +09:00
Yoshinari Takaoka
094cc807ce Fix type juggling notes for list() and array destructuring
eaec4ab10a
2025-08-24 18:46:07 +09:00
Yoshinari Takaoka
c1a50d5699 [reference/array] [ext/strings] followed all updates made on or after Oct 1, 2024.
https://github.com/php/doc-en/commits/master/reference/array
2025-08-23 20:48:04 +09:00
Yoshinari Takaoka
c58c421e44 Remove wddx_deserialize from extract example
f53ab502a1
2025-08-22 19:24:17 +09:00
Yoshinari Takaoka
492937c6e4 数値文字列 -> 数値形式の文字列
find . -type f -name "*.xml" -print0 | xargs -0 sed -i -e "s/数値文字列/数値形式の文字列/"
2025-08-16 21:16:18 +09:00
Takuya Aramaki
9ddd8fa588 array_udiffの説明を更新 (#280)
`array_udiff`が内部関数を利用するかのような記述になっていたのを修正しています。
2025-04-20 18:21:21 +09:00
nsfisis
c631142083 Synchronize manual with stubs for PHP 8.4 - part 1 を取り込み (#251)
* chore: change line ending from CRLF to LF

* Synchronize manual with stubs for PHP 8.4 - part 1 を取り込み
2025-01-19 11:49:06 +09:00
KentarouTakeda
180a2c1299 <type>型名</type><type>typeName</type> に修正 (#210) 2024-12-31 12:26:43 +09:00
Yoshinari Takaoka
0819b55a70 Simplify array_replace description and add nested array example
5cc10e8d90
2024-12-04 22:55:06 +09:00
KentarouTakeda
c5c503a46a array_slice() 誤訳の修正 (#177) 2024-11-19 15:39:14 +09:00
KentarouTakeda
8d30e88c47 [PHP 8.4] array_all, array_any, array_find, array_find_key の翻訳 (#166)
* 英語版状態

* [PHP 8.4] `array_all`, `array_any`, `array-find`, `array_find_key` の翻訳
2024-11-14 22:00:38 +09:00
Yoshinari Takaoka
892f542088 Standardise casting spacing
8859c8b96c
2024-09-16 21:38:02 +09:00
Yoshinari Takaoka
86d7410596 Updated EN-Revision only / fix typo in range() exception case description
647d5c50e3
2024-09-16 21:06:00 +09:00
Yoshinari Takaoka
737223290a array-map.xml: add an explanation of the 'zip operation' term
33968dfebb
2024-09-07 22:54:07 +09:00
Yoshinari Takaoka
bd4aec18ab Add a link to the explanation of the term 'symbol table' + slightly adjust the code of the examples
d58ee8eaaa
2024-09-01 15:20:18 +09:00
Yoshinari Takaoka
2226917e70 Fix: ksort() behavior changed since PHP 8.2
4acad9b77f
2024-08-11 10:18:27 +09:00
Yoshinari Takaoka
04c0da42a0 Fix: Mismatch between array_walk(_recursive) return type in stub and documentation
cec5275f23
2024-08-02 21:26:57 +09:00
Yoshinari Takaoka
3ca436bb9c array-filter.xml: leave one: delete or unset as identical
1de7b5b65f
2024-07-27 21:03:48 +09:00
Takuya Aramaki
d6b4442ddd array_rand() may throw ValueError since 8.0 (#117) 2024-03-12 01:07:31 +09:00
Yoshinari Takaoka
33a3c95602 updated EN-Revision only 2024-02-18 10:10:35 +09:00
Yoshinari Takaoka
62e1460930 Fix wrong parameter name in reference to array_keys()
768876982f
2024-02-18 10:09:51 +09:00
Yoshinari Takaoka
40bbf7ecfa Update array_pad docs for 8.3
2ed209827b
2024-02-18 10:08:56 +09:00
Yoshinari Takaoka
e3ac785a0d Fix: array_udiff(): Add precision to the comparison function 2024-02-11 20:07:10 +09:00
Yoshinari Takaoka
64ec527b0e Update array_key_exists() key parameter type as of PHP 8.0.0
89fe795cc8
2024-01-27 20:05:35 +09:00
Takuya Aramaki
1aa8ff975d EXTR_IF_EXISTSの説明の訳を修正 (#113) 2024-01-23 22:10:29 +09:00
Yoshinari Takaoka
d1c73edb6b [PHP 8.3] Update functions
443d81b33e
2024-01-21 16:52:49 +09:00
Yoshinari Takaoka
ac9de2dddc [status ready] translated range function changelog 2023-10-17 11:56:43 +09:00
Yoshinari Takaoka
ad052903c8 [status working] sync with en / range: Update for PHP 8.3
62421b98a9
2023-10-17 03:02:17 +09:00
Yoshinari Takaoka
ca9e8fd27f Remove ZPP failure mention in array_change_key_case()
58d11dfe19
2023-10-11 00:35:55 +09:00
Yoshinari Takaoka
3687432618 compact() issues an E_WARNING as of PHP 8.0
e311803cd2
2023-09-20 02:49:51 +09:00
ktakeda11
b076b2a99c count() の翻訳を修正 (#103) 2023-09-05 22:50:42 +09:00
Hiromi Hishida
11a406a97b rangeは整数の範囲を返すとは限らない (#101) 2023-08-29 23:41:46 +09:00
Yoshinari Takaoka
66ef9d6c4e Fix: Clarify array_diff_(u)assoc examples
6b64170daa
2023-08-11 16:21:26 +09:00
Yoshinari Takaoka
1d4caa26b5 Fix: Fix examples for array diff functions
55b7203be4
2023-08-02 08:45:54 +09:00
Yoshinari Takaoka
c084f05079 訳を改善 2023-07-06 01:50:36 +09:00
Yoshinari Takaoka
6af0091b95 Improve the refpurpose of array_count_values()
6b56e6f444
2023-07-05 09:18:33 +09:00
Yoshinari Takaoka
89a3216785 docs: add a reference to array_map from array_combine
71e3c74047
2023-06-24 17:28:26 +09:00
Yoshinari Takaoka
395b40f83a Narrow bool return types to true when possible
f781803449
2023-05-09 00:54:15 +09:00
KOSEKI Kengo
dfc1eb9cb4 Add sort.callback.description entity (#85)
* Add sort.callback.description entity and restore the caution

This caution was removed from usort() document at 663a376446 . Add literal tags to the original.

* Replace the description of sort callback function to the entity

* Add emphasis tag to the caution

Co-authored-by: Yoshinari Takaoka <mumumu@mumumu.org>

---------

Co-authored-by: Yoshinari Takaoka <mumumu@mumumu.org>
2023-03-25 13:08:29 +09:00
Yoshinari Takaoka
191ad624a6 fix: true return type for return true always function
Various functions and method have had their return type changed to true.

Fix this and add changelog entries.

2ca0903429
2023-02-22 15:45:00 +09:00
Yoshinari Takaoka
1bb038b706 Don't mention sorting but comparison
The array_unique function doesn't sort, but compares.
It uses the same constants but terms are mixed up.
The text uses "sorting" while each constant uses "compare".

This is now streamlined in order to reduce friction while reading.

3ba15fd3df
2023-02-18 11:09:26 +09:00
Yoshinari Takaoka
c6a7dcd937 Update EN-Revision only / Plurality grammar correction
複数形と単数形の修正は、日本語訳に影響しない
2023-02-18 10:40:02 +09:00