Commit graph

761 commits

Author SHA1 Message Date
Christoph Michael Becker
b3e378b59c Fix : htmlspecialchars does not behave as documented regarding ambiguous $flags
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346899 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-25 11:24:20 +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
ad34011f87 Fix : examples in echo documentation are misleading
Patch provided by girgias.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346811 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-12 16:16:07 +00:00
Christoph Michael Becker
448a9cab14 Fix : %G modifier is possibly incorrect
Patch provided by girgias.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346810 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-12 16:05:24 +00:00
Christoph Michael Becker
82dfa0d98d Fix : crypt() should be documented as not binary safe
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346579 c90b9560-bf6c-de11-be94-00142212c4b1
2019-01-09 18:00:01 +00:00
Christoph Michael Becker
ff7a473972 Link to mb_chr() and mb_ord(), respectively
Even though these functions are not yet properly documented, this
appears to be more useful than user note 123462, which only works for
little-endian architectures.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346452 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-28 14:58:12 +00:00
Christoph Michael Becker
8f828979a0 As of PHP 7.4.0 an empty escape string means no escaping
Cf. <https://github.com/php/php-src/pull/3515>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346346 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-15 15:15:12 +00:00
Christoph Michael Becker
80267cad62 Searching strings for non-string needle is deprecated as of PHP 7.3.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346302 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-12 11:27:56 +00:00
Christoph Michael Becker
962214a5cc Simplify signature of variadic functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346102 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-27 19:09:14 +00:00
Christoph Michael Becker
85234fc2fc Fix typo
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345681 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-23 14:04:13 +00:00
Christoph Michael Becker
1712ed85e1 Fix : Not warning if length == 0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345591 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-03 21:28:08 +00:00
Christoph Michael Becker
2e80c71b32 Fix : Wrong parameter type for stripos()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345530 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-18 17:00:15 +00:00
Christoph Michael Becker
98b76b79d6 Fix : Uncertainty in description of html_entity_decode
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345421 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-02 22:23:22 +00:00
Pieter Hordijk
79ebd89049 The ord() and chr() functions do not interpret their inputs as ASCII or any other encoding, but work with single bytes. This should be made clearer.
-- 
Provided by anonymous 73458 (rowan.collins@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345229 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-28 10:36:19 +00:00
Christoph Michael Becker
0dfd64fc2a Link to alternative functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344962 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-05 12:32:24 +00:00
Christoph Michael Becker
4925366b0e Fix : convert_uudecode() fails to decode data
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344961 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-05 12:14:27 +00:00
Christoph Michael Becker
856862c5ab Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344709 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-18 13:38:04 +00:00
Christoph Michael Becker
0885e3a08d Join the changelogs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344708 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-18 13:29:27 +00:00
Christoph Michael Becker
431db906eb str_getcsv() is not about files
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344694 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-17 17:05:56 +00:00
Christoph Michael Becker
b45d8c1772 Nested <link>s can't work
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344693 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-17 16:10:01 +00:00
Christoph Michael Becker
f93af4fcac Clarify locale awareness of the CSV reading functions
See bug .

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344648 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-10 17:00:52 +00:00
Christoph Michael Becker
0fe00e3574 Minor doc improvements
Patches provided by anonymous users.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344469 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-09 12:44:59 +00:00
Christoph Michael Becker
d95d5914f5 Fix bug : similar_text parameters aren't swappable
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344329 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-22 17:42:20 +00:00
Christoph Michael Becker
9421e06e34 Fix bug : escape parameter in fgetcsv() is sometimes ignored
We clarify the actual meaning of $escape.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344268 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-15 17:04:23 +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
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
-- 
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 : 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 : 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