Commit graph

726 commits

Author SHA1 Message Date
Andrey Andreev
34bec0531a sscanf() stops reading %s tokens on whitespace chars
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342425 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-26 12:49:04 +00:00
Christoph Michael Becker
20f75bd8da Fix erroneous version information
See <https://3v4l.org/KTWoZ>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342310 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-11 14:43:15 +00:00
Pieter Hordijk
3d974bf87e after https://bugs.php.net/bug.php?id=74362
edit the doc so that it doesn't say that the "only" difference is the accepted arguments.

-- 
Provided by anonymous 81948 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342214 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-03 07:27:21 +00:00
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
Andrey Andreev
64d2ea6c66 Fix docs bug #69449: Explain what happens with ambiguous/missing htmlspecialchars() flags
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342108 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-13 12:42:20 +00:00
Christoph Michael Becker
5dba865d91 Improve wording
Patches provided by anon users.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342074 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-10 18:54:34 +00:00
Christoph Michael Becker
88560fa036 Fix #74202: However, crypt() creates a weak password without the salt.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342072 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-10 18:40:50 +00:00
Peter Cowburn
a77508e1c1 Refactor fash password hashing warning, and remove unused note
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342065 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-09 13:19:13 +00:00
Pieter Hordijk
05590a4b81 Converted note discouraging use of md5 and sha1 for password hashing to a warning at top of page.
I kept the old note in language-snippets.ent. I will check if this is still linked somewhere tonight and convert it to a warning too when needed and after that remove the note if nothing links to it any mroe.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342064 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-09 11:10:51 +00:00
Pieter Hordijk
b50d188c7b Improved explanation of the start param which may be zero too instead of just positive.
Fixes https://bugs.php.net/bug.php?id=74228

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342063 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-09 11:06:17 +00:00
Pieter Hordijk
68cbcb4776 Made MD5 and SHA1 notes on password hashing more prominent
-- 
Provided by anonymous 59531 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342043 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-07 18:47:33 +00:00
Maciek Sokolewicz
ce3996c403 documented the change in behaviour due to aliasing of rand to mt_rand in PHP 7.1.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341933 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-20 22:01:10 +00:00
Christoph Michael Becker
38f81d5579 Fix and clarify example
Patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341652 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-12 18:23:35 +00:00
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
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