Commit graph

891 commits

Author SHA1 Message Date
Christoph Michael Becker
b3e378b59c Fix #77662: 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 #69012: 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 #77529: %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 #61888: 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 #73613: 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
8ccc9da8be Fix #76779: Can't find multibyte functions via string functions
We also remove the link to the removed POSIX Regex functions.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345547 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-22 13:19:50 +00:00
Christoph Michael Becker
2e80c71b32 Fix #76764: 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 #76680: 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 #72113: 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 #72330.

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 #36261: 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 #67566: 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
7c50ead1ed Fix versions based on parsed php-src
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344068 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 15:23:17 +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 #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
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
Dan Ackroyd
11418b6522 Clarified that padding char is optional
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335743 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-14 15:07:34 +00:00
Dan Ackroyd
1220101ce4 Added detail about padding character for bug 61532
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335742 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-14 14:55:44 +00:00
Adam Harvey
20d255c120 Added changelog notes for a BC break to undocumented crypt() behaviour.
Nobody should be relying on this anyway, but since Horde apparently was...


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335700 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-08 19:26:09 +00:00
Jean-Sebastien Hedde
3f69d9b08b Simply fixes a typo.
-- 
Provided by anonymous 53037 (tpunt@hotmail.co.uk)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335494 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-30 13:02:22 +00:00
Jean-Sebastien Hedde
204bc2974d Anonymous contributions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335457 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-29 12:49:12 +00:00
Alexander Moskaliov
d6d8413117 Fix argument and result definition
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335376 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-26 17:47:24 +00:00
Ferenc Kovacs
9122d3efcd this was fixed in 5.4.4 not in 5.4.1
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335217 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-26 16:48:54 +00:00
Maciej Sobaczewski
e4742710ff Change parameter name to make it consistent with:
- strtoupper() documentation
- <parameter> used in inline text

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334895 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-17 03:21:50 +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
Chris Wright
98751e689d Proper noun casing fix
-- 
Provided by anonymous 48275

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334702 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-01 16:21:45 +00:00
Adam Harvey
da75c15e02 Update the changed functions list, and integrate the changes into the text.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334639 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 05:47:47 +00:00
Adam Harvey
b0f439fdc0 Suggest hash_equals() on the crypt() page.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334629 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 03:45:57 +00:00
Adam Harvey
d45a16b5f9 Improve documentation for default_charset in PHP 5.6.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334627 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 03:36:23 +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
Maciej Sobaczewski
8b5940cade Remove changelogs for PHP 4 - 2nd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334605 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-26 14:28:17 +00:00
Maciej Sobaczewski
afc3f34c68 Remove changelogs for PHP 4 - 1st round
Useful changelogs entries remain untouched.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334592 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-23 17:55:23 +00:00
Peter Cowburn
eda3b067eb no more "FIXME PHP_6" todo comments
These mostly were about unicode, which probably won't come
with PHP <next major number here>, and FILE_TEXT/FILE_BINARY.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334374 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-24 12:28:07 +00:00
Anthony Ferrara
925468837b Revert 334297 and 334297, as:
1) there was no discussion prior to edits (even in #66564)
2) It is incorrect, misleading and not the overall sentiment that needs to be communicated

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334309 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-17 22:14:11 +00:00
Yasuo Ohgaki
d2940da2ef Add note for crypt()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334296 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-17 01:20:14 +00:00
Yasuo Ohgaki
68d22233ea Fixed bug #66800
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334153 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-07 05:04:34 +00:00
Ferenc Kovacs
3fb1e0bf88 removing the misleading sentence (reported by Solar Designer, also pointed out by Michal Špaček previously in a comment for #66564)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333973 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-27 15:00:47 +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
Jean-Sebastien Hedde
df427d95b9 Adding example to strcmp (Anonymous contribution)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333616 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-25 12:43:24 +00:00
Maciej Sobaczewski
1d13498b09 Link to mb_stripos() in "see also" section (fixes bug #67275)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333561 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-19 11:51:45 +00:00
Jean-Sebastien Hedde
13c378f08a Fix typo in function name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333487 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-06 13:52:40 +00:00
Dejan Marjanovic
9905374cd0 Replace single quotes with double for (string) <initializer> unless string contains double quotes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333317 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-14 23:48:06 +00:00
Philip Olson
3db1770f78 Testing edit.php.net -- please ignore
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333292 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-09 17:33:26 +00:00
Peter Cowburn
cc99c21bda Wrap parameter order note in <note> tags
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333178 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:53: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
Chris Wright
3a979fd995 Fix All The Trim()s! (aka. do rev. 332762 properly)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332763 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-31 15:17:54 +00:00
Chris Wright
8edc94024c Update name of second argument for trim() to match arginfo for reflection consistency
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-31 14:59:47 +00:00
Sherif Ramadan
824b84746c Add cautionary statement about truncation for crypt and password_hash using BCRYPT. Fixes Bug #66564.
This includes a cautionary statement that the CRYPT_BLOWFISH algorithm in crypt/password_hash functions
will truncate the input string at a maxmimum length of 72 characters. Typically not a problem for the
average use case since this is only likely used for passwords and assuming each hash has a unique salt.
However, it's still a good idea to document this behavior so that users are aware of the side effect.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332747 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-28 13:10:21 +00:00
Chris Wright
e0815cb568 Typo fix in strtr()
---
Provided by anonymous 36934

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332351 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-12 15:20:30 +00:00
Chris Wright
e1e76392d9 Line length correction in explode() example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332330 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-10 11:12:56 +00:00
Yasuo Ohgaki
1453847230 "quote" usually means srrounding string by quote chars (And addtionally escape). "escape" is appropriate word for addslashes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332298 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-09 00:07:42 +00:00
Joe Watkins
74684dc111 fix #66234 add not about wchar and sprintf
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332262 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-04 13:15:03 +00:00
Justin Martin
b18ed2abf4 Documented false return value on failure.
Fixes bug #66035.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332199 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-26 07:32:41 +00:00
Yasuo Ohgaki
c2d7a762b1 Update crypt() manual page for 5.6.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332022 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-30 22:13:59 +00:00
Joe Watkins
9bdac16ec0 #64371 don't use long
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331928 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-23 09:18:48 +00:00
Joe Watkins
85cdaa2e89 #64371 fix alphabetical ordering of specifiers, add table for extra points concerning co-ercion
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331922 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-23 08:31:48 +00:00
Joe Watkins
6a9b6f5fe4 #61626 include warning about %c ignoring width/padding
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331738 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-09 06:16:03 +00:00
Adam Harvey
ab480f7d49 Clarify the charlist warning on the addcslashes() page.
Fixes doc bug #65789 (addcslashes "predefined escape sequences").


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331629 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-01 17:22:13 +00:00
Chris Wright
59a1bbcb6f Whitespace fixes
Fix all outstanding strict whitespace errors flagged by the online editor

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331331 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-09 16:17:46 +00:00
Joe Watkins
5b39c74139 incorrect function signature #65262
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331154 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-19 05:44:24 +00:00
Joe Watkins
002874ff0f spelling correction for #65471
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331151 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-19 05:11:41 +00:00
Yannick Torres
33040b3b1b Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331135 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-16 09:25:19 +00:00
Yoshinari Takaoka
698cad0c1d - fixed syntax.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331017 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-25 08:32:51 +00:00
Yasuo Ohgaki
568ee52377 Fix bug #65290
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331006 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-22 23:25:57 +00:00
Yasuo Ohgaki
10798eed66 Update hex2bin() changelog
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330793 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-08 10:45:54 +00:00
Jakub Vrana
fc6db68bc4 Link quotemeta() and ereg functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330654 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-25 22:21:05 +00:00