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
Jakub Vrana
dd07341fae
Remove trailing fullstop in <refpurpose>
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343888 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:34:22 +00:00
Peter Cowburn
2aa87f30ab
tidy up addslashes description
...
Based on a patch from Stefan Petcu
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343844 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-15 22:33:43 +00:00
Christoph Michael Becker
b84e653f7b
Fix typos
...
Patches provided by anonymous users.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343797 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-09 13:25:35 +00:00
Christoph Michael Becker
f5d51fe0e5
Fix typos
...
Patches provided by anonymous users.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343731 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-01 14:32:12 +00:00
Kalle Sommer Nielsen
d5e7ae6c6a
Documented the change to number_format() where -0 no longer can be returned in 7.2.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343514 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-29 19:56:04 +00:00
Peter Cowburn
833f3869e4
grammar fix
...
Patch by anonymous user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343432 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-20 20:39:29 +00:00
Christoph Michael Becker
efd62777c0
Fix typos
...
Patches provided by anonymous users.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343344 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-30 17:57:49 +00:00
Peter Cowburn
865e03ad05
use mixed for stristr return type
...
stristr() will return false if $needle is not found.
--
Patch by jmonsorno
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343177 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-03 15:34:19 +00:00
Pieter Hordijk
a468efb805
Fixes #75297
...
--
Provided by anonymous 82137 (me@ekins.space )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343167 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-30 23:31:19 +00:00
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
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