Commit graph

217 commits

Author SHA1 Message Date
Andrey Andreev
028513e94b Document PHP 7.2 deprecations as the result of https://wiki.php.net/rfc/deprecations_php_7_2
Also, simplify the first paragraph of 'Traditional assertions' in assert() docs

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342126 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-14 11:30:59 +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
4ad69796da Add missing encodings
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339803 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-05 13:25:44 +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
Adam Harvey
41d8e7ffe4 Update version information to include PHP 7.
This was mostly done programmatically, and is likely wrong for a small number
of functions. We may have to wait for bug reports, unless someone wants to
review this by hand. Basic efforts were made to avoid adding "PHP 7" to
functions that were removed in PHP 5.x (x > 0) and PHP 7, but there are
undoubtedly still issues.

In case we're still using Docbook for PHP 8, I've uploaded the script that I
wrote to do this to GitHub at
https://github.com/LawnGnome/php-doc-version-migrator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338406 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-04 21:40:07 +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
9a4f5c4096 typo fix by Glamus Development
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337310 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-06 23:30:10 +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
Peter Cowburn
64fbd19c62 ArmSCII8
--
Patch by hayk

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336884 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-08 22:07:44 +00:00
Simion Onea
14af302c9c Making the XML definition consistent across the entire project.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:44:07 +00:00
Maciej Sobaczewski
f1177c82c0 Remove PHP 4 functions
It is mostly cleanup of versions.xml because most of PHP 4 functions were already removed

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334644 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 08:41:15 +00:00
Adam Harvey
b58a71d289 Add deprecation warnings for 5.6 deprecated iconv and mbstring options.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334636 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 04:53:06 +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
Yasuo Ohgaki
556fb71ea4 Add changes needed for https://wiki.php.net/rfc/default_encoding
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332850 c90b9560-bf6c-de11-be94-00142212c4b1
2014-02-14 04:46:43 +00:00
Yasuo Ohgaki
f23fa0e5e7 Mention obsolete mbstring.script_encoding INI
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332745 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-28 02:44:43 +00:00
Yasuo Ohgaki
c782d9acfd Add security notes to mail() and mb_send_mail()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332578 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-04 23:25:27 +00:00
Yasuo Ohgaki
719247b2cc Fixed mb_send_mail() addtional_header param description. (Copied from mail())
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332513 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-26 06:58:01 +00:00
Matthew Fonda
c1d5750657 mb_strlen returns false if invalid encoding is given (fixes #66246)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332297 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-08 17:19:11 +00:00
Joe Watkins
8c2aa928b0 fix #66215 (add note to clarify type of encoding for mb_split, possibly others)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332259 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-04 11:53:23 +00:00
Nikita Popov
a0efd60818 Remove mentions of create_function from docs. Add caution to create_function docs advising to use anon funcs instead.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331556 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-28 15:43:16 +00:00
Chris Wright
4757bd1743 Fix missingInitializer strict errors in mbstring
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331340 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-10 16:06:26 +00:00
Pieter Hordijk
8702e0b434 Fixed typo enconding -> encoding
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331012 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-24 08:52:13 +00:00
Jakub Vrana
1634a88641 Delete redundant <!-- Membership: -->
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330340 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-23 17:38:21 +00:00
Jakub Vrana
759b9d93ea Add version info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330295 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-19 17:58:51 +00:00
Yoshinari Takaoka
43eb39a60c - fixed function desctiption.
- added notice, the internal encoding is not changed by this function.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329546 c90b9560-bf6c-de11-be94-00142212c4b1
2013-02-22 15:49:07 +00:00
Yoshinari Takaoka
fa3df4d216 - added notice about the encoding for multibyte regex.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329545 c90b9560-bf6c-de11-be94-00142212c4b1
2013-02-22 15:47:01 +00:00
TAKAGI Masahiro
4d2ed4ef0b mbstring: Fix prototypes
mb_convert_case(): 2nd parameter is not optional so default value is meaningless.
mb_decode_numericentity(): 3rd parameter is optional and its default value is internal encoding.
mb_encode_numericentity(): 3rd parameter is optional and its default value is internal encoding.
                           added 4th parameter as of PHP 5.4.0.
mb_regex_set_options(): no default value of "options"


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329377 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-30 21:03:39 +00:00
Reeze Xia
82278af75e Fixed doc bug #63565
Patch by daijie

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328489 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-24 19:40:33 +00:00
Joe Watkins
e25450d9dc many bugs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328365 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-15 13:40:31 +00:00
Adam Harvey
57ec267b58 Clarify the mbstring.func_overload documentation, specifically where it can be
changed.

Fixes doc bug #49189 (mbstring.func_overload can not be changed out of
php.ini).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328314 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 02:42:57 +00:00
Adam Harvey
741c112cee Fix doc bug #62458 (unclear/incomplete about return value - mb_ereg_pos).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326414 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-02 01:31:49 +00:00