Yoshinari Takaoka
02177b182e
fixed example comment to be consistent with methodsynopses.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352042 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 19:06:45 +00:00
Christoph Michael Becker
a3db55f0df
Fix order of sections
...
Also, one example section is enough.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352035 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 18:11:57 +00:00
Yoshinari Takaoka
9240fafbb2
s/regs/matches/g
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352032 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 17:35:43 +00:00
Yoshinari Takaoka
1187e24a84
deleted duplicate changelog entry.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352031 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 17:17:34 +00:00
Christoph Michael Becker
92f1b8b177
Generate ext/mbstring methodsynopses based on stubs
...
Closes GH-190.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352028 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 16:32:35 +00:00
Christoph Michael Becker
e41806c30b
Revert revision(s) 351724 from phpdoc/en/trunk:
...
Document false and null return types
Cf. <https://news-web.php.net/php.doc.cvs/17645 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351730 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 18:05:44 +00:00
Christoph Michael Becker
4754397753
Revert revision 351727 from phpdoc/en/trunk:
...
Document false and null return types
Cf. <https://news-web.php.net/php.doc.cvs/17645 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana
69bd53265b
Document false and null return types
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +00:00
Jakub Vrana
c80da7c04a
Document false and null return types
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351724 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 12:54:59 +00:00
Christoph Michael Becker
3e6615fced
Fix #69559 : mb_language() default is "neutral", and the possible languages are more broad
...
We replace the general "notes" column (which only has obsolete PHP 5 specific
info) with an "alias" column, and document all available aliases.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351198 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-03 17:40:55 +00:00
Christoph Michael Becker
b95d28e6ec
Fix return types
...
Functions which return false on failure should state that in their
signature as well.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351135 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:52:35 +00:00
Christoph Michael Becker
86e6094e86
Use canonical type names
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Christoph Michael Becker
9e0f03ac35
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/en/trunk@351129 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 11:17:26 +00:00
Christoph Michael Becker
e4f3cc7f4c
Fix #78142 : Function prototype return value does not contain type in case of failure
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351059 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-29 16:26:49 +00:00
Christoph Michael Becker
4df3260b89
Fix #80293 : oniguruma not bundled in mbstring extension per docs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351034 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-29 11:32:21 +00:00
Christoph Michael Becker
ac83c2c7d8
Return value of mb_regex_set_options() has changed
...
Cf. <https://github.com/php/php-src/pull/5264 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350810 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-07 17:28:26 +00:00
Christoph Michael Becker
80872147aa
Get rid of "callback" types
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350788 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-06 09:11:05 +00:00
Christoph Michael Becker
3e15d2894f
Remove more changelog entries, mostly from PHP 5.4 era
...
Patch contributed by Sobak <msobaczewski@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350656 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:15:17 +00:00
Christoph Michael Becker
9af43469f4
Remove more changelog entries, mostly from PHP 5.2 era
...
Patch contributed by Sobak <msobaczewski@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350654 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:52:31 +00:00
Christoph Michael Becker
be5b0f33a1
Remove more changelog entries, mostly from PHP 5.1 era
...
Patch contributed by Sobak <msobaczewski@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350653 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:45:57 +00:00
Christoph Michael Becker
3211df4680
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/en/trunk@350280 c90b9560-bf6c-de11-be94-00142212c4b1
2020-08-04 06:49:52 +00:00
Christoph Michael Becker
488b11037f
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/en/trunk@350143 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-12 10:09:21 +00:00
Nikita Popov
8ca69ba3fb
Update flag --with-onig information
...
Patch by demiurge-ash.
Closes php/doc-en#80 .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349764 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-10 08:37:01 +00:00
Christoph Michael Becker
9e4c917c09
Fix other miscellaneous typos
...
Detected by codespell
Patch provided by tandre@php.net .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349709 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-27 06:50:00 +00:00
George Peter Banyard
ce86a92f2a
Add some explanations to the MB_CASE_* constants.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349616 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-05 01:22:37 +00:00
Christoph Michael Becker
cd10685d87
Fix #79425 : Function mb_str_split is not documented yet
...
Patch provided by Tomas Zubiri.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349604 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-03 11:09:13 +00:00
Christoph Michael Becker
ecc27549d8
Fix return values section
...
See bug #76999 .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349529 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-27 09:48:17 +00:00
Nikita Popov
70629e8390
Added changelog documentation to mb_convert_case()
...
Patch by thg2k.
Closes php/doc-en#59 .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349373 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-10 20:52:39 +00:00
Yoshinari Takaoka
7e2d369487
reverted r349048 because added 7.4.0 changelog obviously conflicts with mb_strrpos manual notes.
...
see also: https://www.php.net/manual/en/function.mb-strrpos.php#refsect1-function.mb-strrpos-notes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349067 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-30 13:42:03 +00:00
Sherif Ramadan
5820d502f6
Update changelog for PHP 7.4
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349048 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-29 02:44:09 +00:00
Christoph Michael Becker
983d613db3
Document MB_ONIGURUMA_VERSION
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348369 c90b9560-bf6c-de11-be94-00142212c4b1
2019-11-29 15:56:00 +00:00
Christoph Michael Becker
f8726b45fe
mb_split() can also return FALSE
...
This integrates user note 124413.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348333 c90b9560-bf6c-de11-be94-00142212c4b1
2019-11-23 15:13:53 +00:00
Nikita Popov
643de69303
Add missing MB_CASE_UPPER_SIMPLE constant
...
Patch by BenMorel.
Closes php/doc-en#17 .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348297 c90b9560-bf6c-de11-be94-00142212c4b1
2019-11-14 19:11:03 +00:00
Christoph Michael Becker
7aea25a569
Fix #78609 : mb_check_encoding() no longer supports stringable objects
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348104 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-30 07:45:18 +00:00
Christoph Michael Becker
0840fc6d62
Fix #78579 : mb_decode_numericentity: args number inconsistency
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348030 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-21 14:46:28 +00:00
Christoph Michael Becker
ad94e27dec
Document all supported languages
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347774 c90b9560-bf6c-de11-be94-00142212c4b1
2019-07-19 14:18:04 +00:00
Christoph Michael Becker
8eea2392e4
Split signature
...
mb_language() works either as setter or getter; there is no default parameter.
Also, when used as getter, it always returns a string.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347773 c90b9560-bf6c-de11-be94-00142212c4b1
2019-07-19 13:36:47 +00:00
George Peter Banyard
efec308453
Use only function in initializer tag, this allows not to have a file with errors in translations that translate the "Determined by".
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347771 c90b9560-bf6c-de11-be94-00142212c4b1
2019-07-19 12:45:25 +00:00
George Peter Banyard
b824e2b108
Remove PHP 4 and 5.0.0 mentions.
...
This includes changelogs but also some paragraphs and notes which mention PHP 4.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347555 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-05 17:31:34 +00:00
George Peter Banyard
7aa9a34be3
Fixed changelog order.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347544 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-04 22:00:56 +00:00
Pieter Hordijk
8dd9dbfc62
mb_strlen now throws a warning instead of returning false when an unknown encoding value is passed in as the 2nd parameter.
...
--
Provided by anonymous 96370 (mbniebergall@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347424 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-15 16:08:33 +00:00
Tyson Andre
a9ada9d6f9
fix typos in extension documentation
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346848 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-18 05:42:50 +00:00
Christoph Michael Becker
8f1674d579
Add information about the new MBString constants available in PHP 7.3
...
--
Provided by anonymous 93866 (giantcrabby@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345714 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-29 11:51:48 +00:00
Christoph Michael Becker
761bd0ba2d
Some of the aliases for encodings were marked as such ("(alias:...)") but others weren't (just "(...)"). Added "alias:" to those missing it for (a) consistency and (b) at least one person (see user notes) didn't understand that "(...)" represented an alias.
...
--
Provided by anonymous 92003 ()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345173 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-19 15:10:34 +00:00
Christoph Michael Becker
7fe8548cfe
Document missing mbregex config options
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344615 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-04 12:53:10 +00:00
Christoph Michael Becker
049bcd5a1f
--with-libmbfl
is removed as of PHP 7.3.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344614 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-04 12:25:59 +00:00
Peter Cowburn
0dad2268d5
add missing svn properties, svn:eol-style and svn:keywords
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344522 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-15 22:01:56 +00:00
Christoph Michael Becker
8bbef51787
Document that $additional_headers may now be an array
...
Cf. <https://github.com/php/php-src/blob/PHP-7.2.4/UPGRADING#L219-L225 >
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344497 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-13 17:59:10 +00:00
Christoph Michael Becker
7644e2087c
Improve mb_strwidth() docs
...
* clarify the meaning of "width" in this context
* fix character width info (cf.
https://github.com/php/php-src/blob/master/ext/mbstring/libmbfl/mbfl/eaw_table.h )
* remove the misinformation that multibyte characters would usually be
twice as wide than single byte characters
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344481 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-11 15:42:33 +00:00
Jakub Vrana
0745cfbf0f
Link mb_regex_set_options (bug #75401 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344083 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 22:51:33 +00:00