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

155 Commits

Author SHA1 Message Date
Yoshinari Takaoka 001c5ff031 Calling mb_check_encoding() without argument is deprecated
https://github.com/php/doc-en/commit/d2ff0abe1650703e8974acaa7674c678e587a696
2022-10-02 09:58:37 +09:00
Yoshinari Takaoka 6fba6bfaed Fix: mb-internal-encoding() throws ValueError on unknown encoding
https://github.com/php/doc-en/commit/5b3fc18be040c1d552da1497415b20296163012f
2022-06-07 00:35:44 +09:00
Yoshinari Takaoka 58e65586d2 Link to mb_encoding_aliases() from mb_list_encodings()
https://github.com/php/doc-en/commit/8a9c2ca09875219d680f7f77b53cde025686ed7d
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"

https://github.com/php/doc-en/commit/99d758bd259fa80c2828cf8cc250984cb683ee8f
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
https://github.com/php/doc-en/commit/7fcb23ea98c75f40553bfcee73b782e62f4e72b4
2021-11-11 23:27:21 +09:00
Yoshinari Takaoka 0b317fce67 Faulty mb_encode_mimeheader() example code
https://github.com/php/doc-en/commit/936691e7449fe193b474f7d29df152952e9b8df6
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

https://github.com/php/doc-en/commit/f63aa0afcde35bf8450e32128295d6e08cd6b120
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 <https://github.com/php/doc-base/commit/7301044b01ba250b9e0887bd97bf19809c5d1c80>.
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
Yoshinari Takaoka 4f19e74d1f updated EN-Revision only / we already deleted "func_overload", "func_overload_list" in Japanese version. 2021-01-29 13:22:34 +09:00
Yoshinari Takaoka e756c91ad0 mbstring.func_overload and related stuff is removed as of PHP 8.0.0 2021-01-29 13:17:12 +09:00
Yoshinari Takaoka a0e3ded5bf Update mb_get_info() member list 2021-01-29 13:08:47 +09:00
Yoshinari Takaoka fd1355a1ec fixed example comment to be consistent with methodsynopses.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@352043 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 19:09:39 +00:00
Yoshinari Takaoka 556f905064 Fix order of sections
Also, one example section is enough.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@352040 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 18:42:49 +00:00
Yoshinari Takaoka 5e7aab1712 Generate ext/mbstring methodsynopses based on stubs
Closes GH-190.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@352036 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 18:33:55 +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 076abc394a mb_language() default is "neutral"
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351203 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-03 22:40:00 +00:00
Yoshinari Takaoka eb3777f5de Use canonical type names, part II.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351158 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 20:44:33 +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 c58bf47244 Proper variadics instead of pseudo variadics
We markup variadic parameters with the `rep=repeat` standard DocBook
attribute of `<methodparam>`, and use proper variable names instead of
using the old pseudo variable name `...`.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351140 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 16:41:17 +00:00
Yoshinari Takaoka 9be81fe85e Fix #78142: Function prototype return value does not contain type
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351070 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 09:43:33 +00:00
Yoshinari Takaoka 69f2301675 Return value of mb_regex_set_options() has changed
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@350839 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-10 08:09:18 +00:00
Yoshinari Takaoka 8cad649719 Get rid of "callback" types
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@350805 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-06 21:36:49 +00:00
Yoshinari Takaoka 73ccac34bf Remove PHP4 or PHP5 only extension, changelogs
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@350668 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-27 01:47:22 +00:00
Yoshinari Takaoka d1f1eeff06 The 2nd argument to mb_parse_str is not optional
Using mb_parse_str without the 2nd argument was deprecated in PHP 7.2. Nikita
Popov made it a required argument in ff780feca4f1b2dd5c1b7cf692781070d49df7cb.

Patch contributed by Alex Dowad <alexinbeijing@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@350286 c90b9560-bf6c-de11-be94-00142212c4b1
2020-08-05 12:29:58 +00:00
Yoshinari Takaoka 7c45dee9e9 fixed "magnitude of a negative" value translation, abs value.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@350150 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-13 16:41:58 +00:00
Yoshinari Takaoka 971e7c5dbd Fully document behavior of negative arguments to mb_strcut
When reading the source code, I noticed there is some special handling of
negative 'start' and 'length' arguments which is not mentioned in the
manual.

Patch contributed by Alex Dowad.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@350146 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-12 22:26:40 +00:00
Yoshinari Takaoka cf024747f7 s/ケースフォルディング/ケースフォールディング/g
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@349747 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-04 16:06:32 +00:00
Yoshinari Takaoka fa54c62cf2 fixed typo (mostly updated EN-Revision only)
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@349714 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-27 08:25:24 +00:00
Yoshinari Takaoka 5040bf1932 Fix #79425: Function mb_str_split is not documented yet
Patch provided by Tomas Zubiri.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@349605 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-03 14:16:46 +00:00
Yoshinari Takaoka a4c062a44b Fix return values section
See bug #76999.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@349531 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-27 12:14:57 +00:00
Yoshinari Takaoka 9371c62112 Added changelog documentation to mb_convert_case()
Patch by thg2k.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@349374 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-10 22:52:56 +00:00
Yoshinari Takaoka 9c61a1e081 updated EN-Revision only
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@349068 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-30 13:48:47 +00:00
Yoshinari Takaoka c8a76465be added missing mbstring function doc translations
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348862 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-10 16:46:48 +00:00
Yoshinari Takaoka c6fe1fd3fc sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348715 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-28 12:43:54 +00:00
Satoru Yoshida 34d2932ea8 sync en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@344885 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-30 12:32:45 +00:00
Satoru Yoshida 5755e9e97a sync en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@344811 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-23 14:50:24 +00:00
TAKAGI Masahiro 8f0ed7fa22 Add Japanese translation
-- 
Provided by anonymous 85766 (hello@iwamot.com)

git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@343107 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-18 22:43:07 +00:00
Satoru Yoshida 418699f4d1 There are too few Japanese text that can be inherited. Please translate again if needed.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@342484 c90b9560-bf6c-de11-be94-00142212c4b1
2017-05-13 04:13:01 +00:00
Satoru Yoshida 0bed154a49 sync en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@342077 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-11 05:07:38 +00:00
TAKAGI Masahiro 49456d95d2 Update translation
Patch by Kurita Takashi

git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@341892 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-13 20:16:55 +00:00