Luffy
6c550e6d0c
Fix Example section, Notes section before changelog ( #3819 )
2024-10-01 19:28:16 +01:00
Jim Winstead
398329d3c6
Document changes to mbstring functions ( fixes #3811 ) ( #3812 )
2024-09-30 10:42:57 -07:00
Christoph M. Becker
d023b296f3
Add mb_scrub() to the mb_substitute_character() list
...
Reported by Nick Lockheart via <https://news-web.php.net/php.doc/969388393 >.
2024-08-06 11:25:57 +02:00
haszi
48ce43fe79
Remove empty resources pages ( #3545 )
...
Co-authored-by: haszi <haszika80@gmail.com >
2024-07-26 02:17:29 +01:00
haszi
605553e228
Remove empty requirements pages ( #3464 )
...
Co-authored-by: haszi <haszika80@gmail.com >
2024-07-07 14:34:34 +01:00
Máté Kocsis
db22a7cfcb
Sync some methodsynopses with stubs ( #3356 )
...
Co-authored-by: Gina Peter Banyard <girgias@php.net >
2024-04-28 21:42:56 +01:00
Gina Peter Banyard
62126c55f1
Minor markup issue fixups
2024-04-22 13:25:39 +01:00
Gina Peter Banyard
d4d5216e7a
[skip-revcheck] Replace PHP_INI_* with INI_* constants
...
Performed via a bash script which can be found on PR GH-3140
Closes GH-3140
Co-authored-by: haszi <haszika80@gmail.com >
2024-01-26 14:00:36 +00:00
Mikhail Alferov
2c17cef6e7
Added missing space in mb_(convert|detect)_encoding() description ( #3111 )
...
* Added missing space in mb-convert-encoding.xml
* Added missing space in mb-detect-encoding.xml
2024-01-15 10:06:52 +00:00
haszi
cfb4b1ea25
Add PHP 8.2 changelog entry to mb_convert_encoding and mb_detect_encoding
2024-01-14 13:18:01 +00:00
haszi
4fe10d0225
[skip-revcheck] Fix whitespace
2024-01-14 13:18:01 +00:00
Mikhail Alferov
14c33cf174
Fix incorrect param name in mb_ereg_replace_callback() docs ( #3068 )
2024-01-05 13:36:24 +00:00
Roland Dalmulder
e4e09f45c9
Update mb-str-pad.xml ( #3001 )
...
Remove extraneous parenthesis in last example
2023-12-09 23:06:35 +01:00
Yoshinari Takaoka
ca4b9d11a2
[PHP 8.3] Passing a negative $width to mb_strimwidth() is now deprecated. ( #2913 )
2023-11-04 14:23:41 +00:00
tekimen
470840865f
Add documentation for mb_str_pad) based on str_pad() ( #2750 )
2023-10-05 01:09:48 +01:00
Máté Kocsis
5e9500ddad
[skip-revcheck] Syncronize predefined constants with stubs - part 1 ( #2739 )
...
Preparation commit for syncing constants with stub.
This reformats the page, which is mainly just whitespace changes.
2023-09-04 23:37:50 +01:00
Yoshinari Takaoka
68e632fcb7
fix wording of previous PR ( #2647 ), followed @Girgias's suggestion.
2023-08-07 22:27:50 +09:00
tekimen
ef9c9fa70f
mb_convert_kana throws ValueError when impossible combination since PHP 8.2 ( #2647 )
2023-08-07 22:10:42 +09:00
Anna Filina
1a025802f7
mb_regex_set_options: behavior and deprecation of the eval option ( #2105 )
...
* mb_regex_set_options: behavior and deprecation of the eval option
2023-07-25 17:57:15 +01:00
Tim Starling
77a60306bc
Improve documentation of a few functions which had &warn.undocumented.func; ( #2517 )
2023-06-16 03:21:44 +01:00
Christoph M. Becker
96bc008584
Fix GH-2205 (mb_encoding_aliases() missing changelog entry for ValueError)
2023-01-17 11:29:56 +01:00
Yoshinari Takaoka
740eb58e8c
Clarify supported encoding list page, because readers does not know where to go in chunked html page.
...
"listed below" is valid only in Single HTML manual.
2022-10-18 19:49:25 +09:00
Kevin Cupp
af844f698b
Document mbstring.regex_retry_limit and mbstring.regex_stack_limit directives
...
Closes GH-1865.
2022-10-05 18:59:12 +02:00
Thomas Wiringa
d2ff0abe16
Calling mb_check_encoding() without argument is deprecated
...
Closes GH-1839.
2022-09-26 13:36:56 +02:00
Yann 'Ze' Richard
5b3fc18be0
Fix GH-1611: mb-internal-encoding() throws ValueError on unknown encoding
...
Closes GH-1613.
Signed-off-by: Yann 'Ze' Richard <ze@nbox.org >
2022-06-06 16:28:30 +02:00
Christoph M. Becker
8a9c2ca098
Link to mb_encoding_aliases() from mb_list_encodings()
2022-04-06 12:51:55 +02:00
Rowan Tommins
99d758bd25
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"
Closes GH-1418.
2022-04-04 12:24:24 +02:00
divinity76
669c19f74e
MBString overloading was removed in 8.0.0
...
Closes GH-1149.
2021-11-26 15:38:33 +01:00
Christoph M. Becker
7fcb23ea98
Fix #76245 : mb_ereg_match matches at beginning of subject only
2021-11-11 11:59:13 +01:00
Christoph M. Becker
936691e744
Fix #81575 : Faulty mb_encode_mimeheader() example code
2021-11-02 17:57:21 +01:00
Kim Hallberg
f63aa0afcd
[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
2021-09-17 20:53:19 +01:00
Kamil Tekiela
d335ba69a1
Remove split() and ereg()
...
Closes GH-716.
2021-06-23 20:20:58 +02:00
Sergey Panteleev
b4afab59db
Re-added mb_* functions unicode section as notes
2021-06-13 12:34:28 +03:00
Sergey Panteleev
30c25e7d49
Fix issues in MbString directory
...
Part of #658
2021-06-10 15:02:51 +03:00
Sergey Panteleev
8cdc6621f9
Remove PHP 5, 7 references ( #563 )
...
- array functions
- datetime functions
- mbstring functions
- strings functions
- var functions
- xml functions
- json functions
2021-05-16 22:07:40 +03:00
Kim Hallberg
c9893954e1
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 GH-582.
2021-05-03 10:52:52 +02:00
Sergey Panteleev
a0ae28d3bc
Removed references to PHP 5, PHP 7.0 ( #545 )
2021-04-24 20:01:17 +03:00
Kamil Tekiela
16a1bdfd1c
Remove double words ( #540 )
2021-04-20 12:54:54 +02:00
Yoshinari Takaoka
220cd5030c
fixed typo
2021-04-18 00:04:31 +09:00
Rowan Tommins
b23076d969
Expand documentation for mb_detect_encoding ( #527 )
...
- 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-14 14:05:39 +02:00
Rowan Tommins
4d3d1ebea1
Document and cross-reference mb_chr() and mb_ord() ( #524 )
2021-04-13 14:49:11 +02:00
Christoph M. Becker
6dfe076725
xi:include INI settings documented elsewhere in ini.list
...
We do not xi:include core INI settings, since we want to keep
alphabetic sort order (well, roughly at least).
We do add xi:fallback elements to all xi:includes, just in case.
2021-02-24 17:58:20 +01:00
Christoph M. Becker
64f2f1c70d
Revert "fixed broken [build|link]."
...
This reverts commit 8ef027f131 .
The proper fix in this case was <7301044b01 >.
2021-02-15 23:52:44 +01:00
Yoshinari Takaoka
8ef027f131
fixed broken [build|link].
2021-02-16 05:49:24 +09:00
Christoph M. Becker
a69f6cf5d2
Clarify what the 'width' in mb_strimwidth means
...
Co-authored-by: Alex Dowad <alexinbeijing@gmail.com >
Closes GH-124.
2021-02-15 17:12:04 +01:00
Yoshinari Takaoka
b5280065f5
In previous commit, we forgot to erase "func_overload", "func_overload_list".
...
c.f: http://git.php.net/?p=doc/en.git;a=commitdiff;h=51105156aac67e5fcb0670aef84a05da3330d8fb
2021-01-29 13:18:07 +09:00
Christoph M. Becker
51105156aa
mbstring.func_overload and related stuff is removed as of PHP 8.0.0
2021-01-28 19:54:40 +01:00
Christoph M. Becker
639380b506
Update mb_get_info() member list
2021-01-28 19:50:46 +01:00
Christoph M. Becker
6040e92853
Remove removed functions from versions.xml
...
These functions are removed as of PHP 5.2.7.
2021-01-17 12:16:08 +01:00
Yoshinari Takaoka
fa6d05b742
Added PHP 8 into versions.xml for mbstring based on stubs.
2021-01-17 12:14:10 +01:00