Commit graph

166 commits

Author SHA1 Message Date
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
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
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
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
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
Jakub Vrana
7f097de6d1 Add mb_ord, mb_chr and mb_scrub
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344014 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-28 17:06:02 +00:00
Jakub Vrana
b8758b0605 Use entities in initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343899 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:11:34 +00:00
Jakub Vrana
fa994a739c Fix function signatures
Some of these probably deserve an entry in changelog, please add it if you have energy.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343898 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:03:56 +00:00
Christoph Michael Becker
1266a49f87 Fix parameter name
Sometimes it has been written as "substrchar" and sometimes as "substchar".
The latter makes more sense since there is no "r" in "substitute", so we 
use it throughout.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343156 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-28 17:42:59 +00:00
Christoph Michael Becker
ff2d928f5c Properly escape entity
The example value is supposed to be displayed as HTML entity, so we have
to escape the ampersand.  We also mark the example results as literals.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343155 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-28 17:39:56 +00:00
Maciej Sobaczewski
95bdd6883b Another round of PHP 4 content removal (mostly inline mentions)
Review is welcome

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341282 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-05 10:17:07 +00:00
Maciej Sobaczewski
bd7f3aaf26 Missed that yesterday - fix changelog entry format
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340961 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-12 07:15:14 +00:00
Maciej Sobaczewski
3906c681cd Fix inconsistent changelogs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340948 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-11 12:55:45 +00:00
Christoph Michael Becker
57304345e7 Fix parameter name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340219 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 12:29:25 +00:00
Christoph Michael Becker
d225d89995 Update manual wrt. <https://wiki.php.net/rfc/negative-string-offsets>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340032 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-14 11:53:33 +00:00
Christoph Michael Becker
a70d5fcf20 Update docs wrt. to bugfix #72711
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339793 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-05 11:46:53 +00:00
Christoph Michael Becker
19320e6c5f Match description of $regs and return value of (mb_)ereg(i)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339748 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-31 10:44:26 +00:00
Christoph Michael Becker
4fb3622c90 Document 'e' modifier deprecation (PHP 7.1)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339738 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-28 12:41:57 +00:00
Christoph Michael Becker
68b263e63d Minor improvements by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339703 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-22 16:33:15 +00:00
Thomas Punt
35699a52ac Resolve doc bug #71866
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338834 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-27 22:02:39 +00:00
Christoph Michael Becker
0245c2d9fa fixed #71496: mb_ereg & mb_eregi definitions are missing & symbol on $regs parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338566 c90b9560-bf6c-de11-be94-00142212c4b1
2016-02-03 18:51:20 +00:00
TAKAGI Masahiro
bae77bed95 Fix default value
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338519 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-17 22:20:07 +00:00
TAKAGI Masahiro
3380c3b4c8 Correct misleading parameter description
Close #71357


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338480 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-13 22:28:05 +00:00
Yasuo Ohgaki
131216c813 Revert: 338292. I will change mb_check_encoding() behavior to match documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338331 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-19 23:21:37 +00:00
Yasuo Ohgaki
456e9a04a6 Fix bug #68842 mb_check_encoding() behavior does not match document
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338292 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 10:02:05 +00:00
Yasuo Ohgaki
5dce0583ce Fix bug #61062 no explanation given about parameter $convmap in mb_decode_numericentity(). Example code is taken from my blog. http://blog.ohgaki.net/javascript-string-escape
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338291 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 09:46:58 +00:00
Christoph Michael Becker
d4d54d7bb6 fixed documentation wrt. $start and $length parameters (fixes #70177)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337268 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-31 17:10:28 +00:00
Maciej Sobaczewski
e41aab5eca Remove changelogs for PHP 4 - 3rd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334621 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-27 17:46:13 +00:00
Andrea Faulds
9804d75897 Clarified function of mb_http_output and the http_output setting
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334422 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-30 15:05:00 +00:00
Yasuo Ohgaki
47718fa3b4 Fixed bug #67373
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334133 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-06 00:10:13 +00:00
Alexey Zakhlestin
54d64fe32a there are 4 function related to calculating lengths of strings.
added cross-links between them via "see also" section

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333972 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-27 14:40:20 +00:00
Philip Olson
0aa774414a Removed removed duplicated duplicated words words
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333548 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-16 20:12:19 +00:00
Yasuo Ohgaki
9a2d38b9b8 Add changelog
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333513 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-12 05:49:08 +00:00
Peter Cowburn
5e40759423 Move example to examples section
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333192 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:54:57 +00:00