Commit graph

741 commits

Author SHA1 Message Date
Christoph Michael Becker
ead61e4ed7 sprintf() returns false on failure
Thanks to Jos Ahrens for pointing that out.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341385 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-14 10:38:33 +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
92534a2a60 Bring page to 2016, integrate most common user notes, show recommended usage
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341059 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-17 06:14:49 +00:00
Christoph Michael Becker
34f573bce6 add example of exploding when first character of string matches delimiter
-- 
Provided by anonymous 70035 (jay-php@vengefulstapler.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340344 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-07 09:11:19 +00:00
Christoph Michael Becker
93dad5a743 Fix typo (patch provided by Jakob)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340242 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 14:21:13 +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
fef4be29b7 Fix typo (provided by anon user)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339950 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-29 10:11:55 +00:00
Christoph Michael Becker
fd45f2fe08 Fix inverted condition (pointed out by anon user)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339928 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-23 11:26:51 +00:00
Christoph Michael Becker
5acb71cfab Fix #72865: describe difference to echo (with example ideally)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339895 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-17 13:51:52 +00:00
Christoph Michael Becker
aab798bada Typo fixes provided by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339802 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-05 13:14:41 +00:00
Christoph Michael Becker
576091e6b7 Fix #72699: rtrim() does not necessarily strip whitespace
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339765 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-02 17:23:18 +00:00
Christoph Michael Becker
cf895b5554 Add respectively replace &caution.cryptographically-insecure;
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339624 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-10 12:25:24 +00:00
Christoph Michael Becker
6c1ab89a89 Hexadecimal numeric entities are denoted by an x
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339610 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-10 10:47:04 +00:00
Christoph Michael Becker
9525b846ae Fix documentation according to http://news.php.net/php.doc.cvs/14277
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339548 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-03 17:23:12 +00:00
Christoph Michael Becker
30cd273018 Address #63510: Integer overflow with chr
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339537 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-01 20:07:17 +00:00
Christoph Michael Becker
a10fa06420 Improve table introduced with r339499
We replace the quotes with <literal>s and make a real table caption.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339500 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 23:49:54 +00:00
Christoph Michael Becker
ef1b0b43d3 Address #67811: htmlspecialchars: document why/when apos instead of #39 is used
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339499 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 23:35:39 +00:00
Christoph Michael Becker
ec67e42ba8 Fix #70534: See Also suggestion: sprintf, date
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339444 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-21 21:19:59 +00:00
Christoph Michael Becker
b298610f72 markup code
provided by Duncan X. Simpson (K7DXS)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339241 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-30 14:03:31 +00:00
Christoph Michael Becker
4c10034cee fixes by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338916 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-04 17:13:05 +00:00
Christoph Michael Becker
3a0c7df3b6 fixes by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338915 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-04 16:52:36 +00:00
Christoph Michael Becker
83b55322c4 improved example (by Matthew Farren)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338513 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-15 18:15:00 +00:00
Christoph Michael Becker
fba532ed30 integrated user note 118552
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338476 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-13 21:02:15 +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
Thomas Punt
c72e6502c8 Resolve doc bug #69013 with additional information
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338312 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 22:18:56 +00:00
Thomas Punt
e799d1da87 Resolve doc bug #69013
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338311 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 21:50:39 +00:00
Christoph Michael Becker
2cca895c8f documented default $limit of explode()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338293 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 10:05:45 +00:00
Bob Weinand
7e3e160e1b Fix typo in earlier strcspn patch
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338016 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-22 01:43:15 +00:00
Pieter Hordijk
ba9c10d8e2 Removed note about whitespace, because it wasn't correct
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337709 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-02 14:51:58 +00:00
Pieter Hordijk
b5d217a336 Fixed remark about > 5.4.3 ignoring self closing tags in the allowable_tags param
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337708 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-02 14:22:17 +00:00
Christoph Michael Becker
756b6457b6 str_pad() never trims input string
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337681 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-31 21:00:41 +00:00
Christoph Michael Becker
33bb5e19ae hash("crc32b", $str) is not necessarily equal to dechex(crc32($str))
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337619 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-25 01:15:28 +00:00
Christoph Michael Becker
5fb277d606 improve strspn/strcspn documentation (contributed by francois)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337482 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 14:43:21 +00:00
Christoph Michael Becker
1f705a6620 updated substr() documentation for PHP 7 (see #69931)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337321 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-07 12:49:48 +00:00
Christoph Michael Becker
7279eb69e5 typo fixes by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337307 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-06 22:59:13 +00:00
Ferenc Kovacs
84fd583940 document the second optional delimiters argument for ucwords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337118 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-07 16:20:58 +00:00
Christoph Michael Becker
610080f273 fixed markup (fixes #69505)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336949 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-14 15:14:16 +00:00
Christoph Michael Becker
a706ea6af5 fixed typos, grammar, expression
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336939 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-13 22:22:45 +00:00
Maciej Sobaczewski
f9bf9b2045 Document PHP 7 changes for setlocale()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336805 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-20 05:03:42 +00:00
Peter Cowburn
a8eb6731a7 Remove confusing and unnecessary detail.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336762 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-14 07:55:58 +00:00
Pasindu De Silva
2ee8e560cb Fix bug #64092, Added description and example for parameter "cut" is false and word is long than width.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336614 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-22 14:25:37 +00:00
Maciek Sokolewicz
6320f8eb30 fixed quoting the literal period character (was: backtick, period, quote; now it's just a literal period).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336416 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-06 22:04:45 +00:00
Maciej Sobaczewski
ad8e015131 Eliminate few more PHP 4 changelogs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336339 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-03 07:48:13 +00:00
Maciek Sokolewicz
c29a20388c fixed incorrect use of i.e. instead of e.g.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336247 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-29 20:44:32 +00:00
Martin Meredith
ef7842a787 Add note to str_split that it is multibyte-unsafe.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336210 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-26 17:50:22 +00:00
Adam Harvey
fba5aebcd8 Document stripos() as returning mixed, since it does.
Fixes doc bug #67613 (Inconsistency in the documentation); patch by Patrick
Schwisow.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336195 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-25 20:23:58 +00:00
Adam Harvey
9e898bb9ca I parenthesis good.
Fixes doc bug #69157 (typo).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336026 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-02 18:04:08 +00:00
Peter Cowburn
531f2bac34 added comma for clarity
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336019 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-28 14:34:58 +00:00
Adam Harvey
1f448a8a45 Fix strip_tags() documentation around XHTML allowable tags.
Fixes doc bug #69023 (Documentation problem).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335964 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-19 23:25:53 +00:00
Rasmus Lerdorf
79b535ef8b List HHVM alongside other threaded SAPIs here
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335801 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-25 20:18:15 +00:00