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

187 Commits

Author SHA1 Message Date
KentarouTakeda
768e8d6ed7 軽微な差分を優先し26ファイルを既訳更新 (#349)
- reference/mbstring/functions/mb-decode-numericentity.xml
  1. php/doc-en@4e69a9f2b1
- reference/imap/functions/imap-headerinfo.xml
  1. php/doc-en@4e69a9f2b1
- reference/ssh2/functions/ssh2-auth-pubkey-file.xml
  1. php/doc-en@74ef2355c5
- reference/ssh2/functions/ssh2-connect.xml
  1. php/doc-en@74ef2355c5
- reference/stream/functions/stream-filter-append.xml
  1. php/doc-en@a684294e0b
- reference/stream/functions/stream-filter-prepend.xml
  1. php/doc-en@a684294e0b
- reference/filesystem/functions/fgetcsv.xml
  1. php/doc-en@e1fd0bef1d
  2. php/doc-en@0a3648a718
  3. `&warning.csv.escape-parameter;` の重複を削除(既訳のバグ修正)
- reference/spl/splfileobject/fgetcsv.xml
  1. php/doc-en@e1fd0bef1d
  2. php/doc-en@3a89b55d11
  3. php/doc-en@0a3648a718
- language/predefined/attributes/nodiscard.xml
  1. php/doc-en@30bda33771
- reference/pdo_sqlite/pdo/sqlite/createfunction.xml
  1. php/doc-en@28930349ca
- reference/math/functions/fmod.xml
  1. php/doc-en@54a788ca59
- reference/simplexml/simplexmlelement/addChild.xml
  1. php/doc-en@dca2a8354f
- reference/json/functions/json-last-error.xml
  1. php/doc-en@058ea1e842
- features/commandline.xml
  1. php/doc-en@96b10a9885
- appendices/migration85/incompatible.xml
  1. php/doc-en@048982b729
  2. php/doc-en@f81bbcf9d3
- reference/random/random/randomizer/getfloat.xml
  1. php/doc-en@1ada637cc8
  2. php/doc-en@423a1da63f
- reference/mysqli/mysqli/multi-query.xml
  1. php/doc-en@1beae37b69
- reference/image/functions/getimagesize.xml
  1. php/doc-en@6bb90d24b2
- reference/curl/functions/curl-close.xml
  1. php/doc-en@86c8ebd19e
- reference/curl/functions/curl-share-close.xml
  1. php/doc-en@29c3d13980
- reference/yaml/functions/yaml-parse-file.xml
  1. php/doc-en@132d2a8d63
- reference/mysqli/mysqli/options.xml
  1. php/doc-en@e309a62b16
  2. MYSQLI_SERVER_PUBLIC_KEY の古い「PHP 5.5.0 以降」テキストを削除(既訳のバグ修正)
- appendices/transports.xml
  1. php/doc-en@ae90ecc932
- reference/soap/soapserver/addfunction.xml
  1. php/doc-en@577239f64b
- reference/var/functions/settype.xml
  1. php/doc-en@8d49e302b4
- features/http-auth.xml
  1. php/doc-en@cd4180557a
2026-03-10 08:58:57 +09:00
Yoshinari Takaoka
fd1d3e303a mb-strpos.xml Use parameter names instead of types, fix typos and XML syntax
95d0554643
2025-11-01 00:58:40 +09:00
Yoshinari Takaoka
89e170b80f Update strpos docs with error handling details when offset exceeds length
4b72b23513
2025-10-31 23:49:53 +09:00
Yoshinari Takaoka
03e953435f add details about php8.1 mb-detect-encoding unordered encodings
7c4b5fb40a
2025-10-16 00:10:40 +09:00
Yoshinari Takaoka
9e83c653a8 fix role of codeblocks
a60ef65239
2025-08-30 13:14:50 +09:00
Yoshinari Takaoka
c811d09cec [ext/mbstring] followed all updates made on or after November 13, 2024.
https://github.com/php/doc-en/commits/master/reference/mbstring
2025-08-22 20:50:26 +09:00
KentarouTakeda
180a2c1299 <type>型名</type><type>typeName</type> に修正 (#210) 2024-12-31 12:26:43 +09:00
nyan-dot
691c409688 Fix: add links (#222) 2024-12-22 12:40:56 +09:00
Yoshinari Takaoka
2c32d9817d mb_* func: add link to the list of supported encodings
5dd2d0f74e
2024-12-15 20:53:09 +09:00
Yoshinari Takaoka
7f256859f6 [PHP 8.4] Add manual for grapheme_str_split function
31e3015907
2024-12-15 14:45:06 +09:00
Yoshinari Takaoka
0e33646904 Fix Example section, Notes section before changelog
6c550e6d0c
2024-12-04 00:22:05 +09:00
Yoshinari Takaoka
f2f3a7660b Document changes to mbstring functions
398329d3c6
2024-12-04 00:14:23 +09:00
KentarouTakeda
4fd70d64f0 chore: マルチバイト関連の新規作成ページの原文リビジョンとクレジットを追加 (#174) 2024-11-17 16:40:04 +09:00
tekimen
d9165dc090 [PHP 8.4] mbstring関数の追加 (#167)
* [PHP 8.4] mbstring関数の追加

 - mb_trim
 - mb_ltrim
 - mb_rtrim
 - mb_ucfirst
 - mb_lcfirst

* Update reference/mbstring/functions/mb-lcfirst.xml

Co-authored-by: wakaba <wakabadou@gmail.com>

* Update reference/mbstring/functions/mb-ltrim.xml

Co-authored-by: wakaba <wakabadou@gmail.com>

* Update reference/mbstring/functions/mb-rtrim.xml

Co-authored-by: wakaba <wakabadou@gmail.com>

---------

Co-authored-by: wakaba <wakabadou@gmail.com>
2024-11-15 14:54:12 +09:00
Yoshinari Takaoka
1e3d658546 Add mb_scrub() to the mb_substitute_character() list
d023b296f3
2024-08-11 10:06:55 +09:00
Yoshinari Takaoka
e4880011cf Sync some methodsynopses with stubs
db22a7cfcb
2024-04-29 20:57:51 +09:00
Yoshinari Takaoka
ff0855a931 Minor markup issue fixups
62126c55f1
2024-04-28 14:39:23 +09:00
Yoshinari Takaoka
eae74b5c3a Added missing space in mb_(convert|detect)_encoding() description
2c17cef6e7
2024-01-21 16:44:23 +09:00
Yoshinari Takaoka
dded9c0ccf Add PHP 8.2 changelog entry to mb_convert_encoding and mb_detect_encoding
cfb4b1ea25
2024-01-21 16:18:14 +09:00
Yoshinari Takaoka
263ba90ae7 Fix incorrect param name in mb_ereg_replace_callback() docs
14c33cf174
2024-01-06 20:16:23 +09:00
Yoshinari Takaoka
11a937cd2e Update mb-str-pad.xml 2023-12-10 19:25:25 +09:00
Yoshinari Takaoka
a1323a4817 [PHP 8.3] Passing a negative $width to mb_strimwidth() is now deprecated.
ca4b9d11a2
2023-11-05 10:23:30 +09:00
Yoshinari Takaoka
4f1d523739 Add documentation for mb_str_pad) based on str_pad()
470840865f
2023-10-06 22:24:28 +09:00
Yoshinari Takaoka
c32efb4664 sync with en 2023-10-05 20:36:17 +09:00
Yoshinari Takaoka
4e6ef2d363 mb_convert_kana throws ValueError when impossible combination since PHP 8.2
てきめんさんによる修正

ef9c9fa70f
2023-08-07 22:50:04 +09:00
rui-tanaka-takuho
2ca833ae00 Update mb-detect-encoding.xml (#96)
typo correction
2023-08-07 20:08:57 +09:00
Yoshinari Takaoka
bcc8b6ecf8 直前のコミットの反映漏れを修正 2023-07-26 08:39:12 +09:00
Yoshinari Takaoka
613a772e2f mb_regex_set_options: behavior and deprecation of the eval option
1a025802f7
2023-07-26 08:35:33 +09:00
Yoshinari Takaoka
7406445baf fixed typo 2023-07-16 18:18:33 +09:00
Yoshinari Takaoka
23fdeaee9b Improve documentation of a few functions which had &warn.undocumented.func;
77a60306bc
2023-06-17 11:28:51 +09:00
Yoshinari Takaoka
f8963abb56 Fix: (mb_encoding_aliases() missing changelog entry for ValueError)
96bc008584
2023-01-17 19:52:40 +09:00
Yoshinari Takaoka
d68f90e3e9 「参照ください」に統一
- 参照下さい
- 参照して下さい
- 参照してください

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

closes: #23
2022-12-19 23:29:40 +09:00
Yoshinari Takaoka
001c5ff031 Calling mb_check_encoding() without argument is deprecated
d2ff0abe16
2022-10-02 09:58:37 +09:00
Yoshinari Takaoka
6fba6bfaed Fix: mb-internal-encoding() throws ValueError on unknown encoding
5b3fc18be0
2022-06-07 00:35:44 +09:00
Yoshinari Takaoka
58e65586d2 Link to mb_encoding_aliases() from mb_list_encodings()
8a9c2ca098
2022-04-07 02:56:12 +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
72c986691d mb_ereg_match matches at beginning of subject only
酷いバグ... PHP 9 あたりで直されないものか。

https://bugs.php.net/bug.php?id=76245
7fcb23ea98
2021-11-11 23:27:21 +09:00
Yoshinari Takaoka
0b317fce67 Faulty mb_encode_mimeheader() example code
936691e744
2021-11-03 10:27:57 +09:00
Yoshinari Takaoka
75a9ee3539 [80738] Update MB string functions (#630)
* Add new `mbstring.changelog.needle-empty` entity

* Update changelog with `mbstring.changelog.needle-empty` entity
The following functions now support an empty `needle` argument.

- mb_strpos
- mb_strrpos
- mb_stripos
- mb_strripos
- mb_strstr
- mb_stristr
- mb_strrchr
- mb_strrichr

f63aa0afcd
2021-09-18 18:05:18 +09:00
Yoshinari Takaoka
bcd87f77cd Re-added mb_* functions unicode section as notes 2021-06-13 20:45:37 +09:00
Yoshinari Takaoka
15827c9ee0 Fix issues in MbString directory 2021-06-11 01:41:11 +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
64b6ceceff Fix #80671: Update mb_convert_encoding
* Update `mb_convert_encoding` changelog
Now throws `ValueError` if either $to_encoding or $from_encoding
are passed an invalid encoding, this change was introduced in PHP 8.0
* Add errors section to `mb_convert_encoding`

Co-authored-by: George Peter Banyard <girgias@php.net>

Closes php/doc-en#582
2021-05-03 19:26:48 +09:00
Yoshinari Takaoka
7e87bd79a6 Remove double words / Updated EN-Revision only. 2021-04-21 02:13:20 +09:00
Yoshinari Takaoka
053477168c fixed typo / Updated EN-Revision only.
日本語訳を修正してから英語版も修正したため、EN-Revision のみを更新
2021-04-18 00:11:50 +09:00
Yoshinari Takaoka
8a352a5062 Expand documentation for mb_detect_encoding
- People expect this function to work miracles. Add some examples
  of why that's not possible. Hat tip to this FAQ for the cipher
  comparison: https://chardet.readthedocs.io/en/latest/faq.html
- The strict parameter wasn't really explained at all. I *think*
  this is what it actually does.
- General expansion and grammar fixes (I suspect the original
  author didn't speak English as a first language, which makes
  sense since the mbstring extension originated in Japan).
2021-04-17 23:13:56 +09:00
Yoshinari Takaoka
53c0a2c829 fixed build error 2021-04-17 23:11:23 +09:00
Yoshinari Takaoka
aaadd7a06d Document and cross-reference mb_chr() and mb_ord() 2021-04-17 22:38:05 +09:00
Yoshinari Takaoka
234379bbfe Revert "fixed broken [build|link]."
This reverts commit 8ef027f13166f0315c70eaf47f02d849b427652d.

The proper fix in this case was <7301044b01>.
2021-02-16 08:27:20 +09:00
Yoshinari Takaoka
6b0d987ae3 Clarify what the 'width' in mb_strimwidth means
Co-authored-by: Alex Dowad <alexinbeijing@gmail.com>

Closes GH-124.
2021-02-16 07:38:10 +09:00