Christian Schneider
4e69a9f2b1
Remove descriptions of obsolete parameters not in synopsis ( #5246 )
...
Co-authored-by: Christian Schneider <schneider@search.ch >
2026-02-06 14:42:29 +00:00
Kamil Tekiela
3f1dbc451b
Remove <para> in invalid places ( #4999 )
2025-11-15 02:02:26 +00:00
Mikhail Alferov
8c262f2df6
[skip-revcheck] Correct punctuation ( #4968 )
2025-11-03 23:39:51 +09:00
Mikhail Alferov
95d0554643
mb-strpos.xml Use parameter names instead of types, fix typos and XML syntax ( #4964 )
2025-10-31 15:33:32 +00:00
Kevin Boyd
4b72b23513
Update strpos docs with error handling details when offset exceeds length ( #4959 )
...
* Update strpos.xml with error handling details
Added error handling information for offset parameter, after observing this un/underdocumented fatal in production.
Note: Using the github web editor, I am not sure if I can pull a second file into this PR, so I may submit a second PR to handle `stripos`.
* Document error for offset exceeding haystack length
Added error handling information for offset parameter.
* Document error for exceeding offset length
Added error handling information for offset parameter.
* Document error for offset exceeding haystack length
Added error handling information for offset parameter.
* Apply suggestions from code review
Co-authored-by: Tim Düsterhus <timwolla@googlemail.com >
* Apply review suggestions
* Remove csprng-specific html entity
* Add invalid offset ValueError information to strrpos-related methods
* Fix whitespace for strprpos error message info
---------
Co-authored-by: Tim Düsterhus <tim@bastelstu.be >
2025-10-28 23:22:11 +01:00
John Spaetzel
7c4b5fb40a
add details about php8.1 mb-detect-encoding unordered encodings ( #2426 )
...
* add details about php8.1 being unordered
* simplify message about exclusions
* add comment to example
2025-10-15 10:03:25 -04:00
natsuki ueda
a60ef65239
fix role of codeblocks ( #4853 )
2025-08-30 13:10:53 +09:00
Saki Takamachi
34f90a6591
Modified the examples for mb_convert_kana, mb_detect_encoding, mb_encode_numericentity ( #4510 )
2025-04-24 09:32:51 +09:00
Derick Rethans
c1f37a6c27
Mark oop5 and xml* categories as 'interactive' (with exceptions) and use 'examples/' dir for XML example files so they (will) work with WASM
2025-03-06 14:35:36 +00:00
Derick Rethans
d6f54016d6
Fixed examples, and made some self-contained
2025-03-06 14:33:15 +00:00
Derick Rethans
22583751fb
Fixed syntax errors in more examples
2025-02-07 11:21:39 +00:00
Kamil Tekiela
bb66ce4d44
Cross-ref explode in some functions ( #4271 )
2024-12-09 14:10:46 +00:00
Alexandre Daubois
d553fa3694
[PHP 8.4] Update ext-mbstring ( #4245 )
2024-12-05 12:00:22 +00:00
Máté Kocsis
154d938992
Synchronize manual with stubs for PHP 8.4 - part 7 ( #4226 )
2024-12-03 20:21:40 +01:00
tekimen
d0e23f4816
[PHP 8.4] Add more explaination for added mbstring functions ( #3929 )
...
* [PHP 8.4] mb_[lr]?trim functions trimmed characters and some words modified.
Add more explaination for mb_ucfirst and mb_lcfirst functions
2024-11-12 17:41:40 -08:00
Mikhail Alferov
5dd2d0f74e
mb_* func: add link to the list of supported encodings (GH-3985)
2024-11-02 11:47:15 +01:00
tekimen
31e3015907
[PHP 8.4] Add manual for grapheme_str_split function (GH-3956)
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de >
2024-10-30 15:53:18 +01:00
Sergey Panteleev
27ae0a4a16
[PHP 8.4] Add mb_* functions ( #3922 )
...
Co-authored-by: Gina Peter Banyard <girgias@php.net >
Co-authored-by: tekimen <youkidearitai@gmail.com >
2024-10-24 23:33:20 +03:00
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