Commit graph

23480 commits

Author SHA1 Message Date
Christoph Michael Becker
f7ad59e1e0 Fix typo
Patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342150 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-17 13:07:39 +00:00
Peter Cowburn
827e289577 WS - fix extra whitespace in function prototype example
This caused extra vertical whitespace when rendered in the manual.

There are a bunch of other whitespace oddities in this file
but, for the sake of a small diff here, they remain in place
for now.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342148 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-17 12:33:18 +00:00
Christoph Michael Becker
c957c1054f Fix #74245: No other ways to get all constants from class but using reflection
We're not actually fixing this issue, but rather document
ReflectionClass::getConstants().

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342147 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-17 12:25:04 +00:00
Christoph Michael Becker
7ec5fffa2f Fix #74239: getimagesize returns incorrect value for corrupt file.
We promote the respective notice to a caution, move it up, and explain
that the returned array may contain nonsense.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342146 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-17 12:12:36 +00:00
Andrey Andreev
36e4bf067b Docs bug #66542: Fix inconsistencies in PDOStatement::fetchAll() examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342140 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-16 12:17:12 +00:00
Andrey Andreev
7edc885311 Document https://wiki.php.net/rfc/get_class_disallow_null_parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342130 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-14 12:31:33 +00:00
Maciek Sokolewicz
93b9a05101 Documented changes in E_STRICT throwing as of PHP 7.0 for compatible properties in traits (thanks for mentioning this, Sherif)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342129 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-14 12:18:23 +00:00
Andrey Andreev
54d1080654 Fix an error from r342126
Mistakenly marked _POST instead of HTTP_RAW_POST_DATA as deprecated/5.6.0, removed/7

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342127 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-14 11:53:58 +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
9320fcb02b Fix assert() doc where 'assertion' is referred to as a function instead of a parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342125 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-14 11:01:37 +00:00
Pieter Hordijk
ab93769cce Fixed param reference in function description and clarified param description.
Fixes https://bugs.php.net/bug.php?id=74197

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342113 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-13 19:00:09 +00:00
Maciek Sokolewicz
8bd8a4a640 Updated the second example and second note to clarify that negative values will only be returned on 32-bit systems due to the integer value overflowing.
-- 
Provided by Matt Coleman (matt@1eanda.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342112 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-13 18:38:32 +00:00
Maciek Sokolewicz
e4add76743 Documents the issue described in bug 62537.
-- 
Provided by Pedro Magalhães (mail@pmmaga.net)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342111 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-13 18:35:13 +00:00
Pieter Hordijk
cc8cbded16 Adding missing opcache.validate_root and opcache.validate_permission ini directives
Fixes https://bugs.php.net/bug.php?id=74180&edit=1

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342110 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-13 17:45:04 +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
Andrey Andreev
a028258b51 Fix docs bug #66366: Tiger hash BC not documented in migration54
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342107 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-13 10:19:17 +00:00
Andrey Andreev
722c4a62ca Add changelogs for non-crypto hashes being blacklisted for HMACs as of PHP 7.2.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342106 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-13 09:46:54 +00:00
Andrey Andreev
584095e7e8 Consistent description of getModifiers() in ReflectionClass, ReflectionMethod, ReflectionProperty
(relevant for the 'seealso' section on Reflection::getModifierNames())

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342105 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-13 09:28:54 +00:00
Andrey Andreev
206ead71b9 Reflection::getModifierNames() content
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342104 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-13 09:21:08 +00:00
Andrea Faulds
2518dcc566 Use &null; instead of <type>null</type>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342102 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-12 15:02:06 +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
f9c02a448f Fix typo
Patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342073 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-10 18:53:33 +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
Andrey Andreev
e5ec39977f Document session_gc() version info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342070 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-10 14:10:44 +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
Andrey Andreev
b51626a979 Correct openssl_encrypt(), openssl_decrypt() third parameter to say 'key' instead of 'password'
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342054 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-08 17:05:10 +00:00
Timandes White
2607b721ce Sync with https://github.com/php-zookeeper/php-zookeeper-doc.git
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342044 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-08 07:38:26 +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
Pieter Hordijk
f42f55617a fixed settion_start -> session_start typo in example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342023 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-06 13:58:56 +00:00
Andrey Gromov
9fc4150f84 Example code style by "Bernard van der Esch"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342004 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-02 12:02:42 +00:00
Derick Rethans
b98ce020a7 Updated to version 2017.1 (2017a)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342002 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-01 19:57:03 +00:00
Jiří Pudil
caec2ae726 Add Closure::fromCallable() documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341998 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-01 16:11:18 +00:00
Michael Wallner
624b835678 It was not clear that the max_input_time default value of -1 actually means to re-use the value of max_execution_time, instead of unlimited time allowed to process request input.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341990 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-28 13:13:15 +00:00
Andrey Andreev
e099327c0b Add hash_hkdf() documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341989 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-28 11:20:58 +00:00
Andrey Gromov
69858e0f65 typo (by anonymous)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341985 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-28 06:53:01 +00:00
Maciej Sobaczewski
e1d3dc51aa Integrate user note #120684
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341974 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-25 06:03:10 +00:00
Sherif Ramadan
4d5517430c Add documentation for second argument to getenv.
Fixes bug #74143

-- 
Provided by anonymous 80872 (greg.bowler@g105b.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341970 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-24 23:13:06 +00:00
Christoph Michael Becker
9e9c6ea115 Remove PHP 4 alternatives example
The example is broken as described in user note 120693,
and we're not concerned with PHP 4 anymore, anyway.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341954 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-22 19:23:02 +00:00
Christian Weiske
08a250a6b4 Warn about missing GeoIP2 database support.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341950 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-22 10:19:08 +00:00
Maciek Sokolewicz
865071208a Add simple documentation for the CHILD_ARRAYS_ONLY flag for RecursiveArrayIterator that was added as a fix to Bug #38618 back in the 5.3.0 release.
Provided by John Flatness (john@zerocrates.org)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341941 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-21 10:46:22 +00:00
Maciek Sokolewicz
ece3dc6b4c Documentation of the new pcntl_signal_get_handler function (available from PHP 7.1.0)
-- 
Provided by David Walker (dave@mudsite.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341940 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-21 10:43:49 +00:00
Andrey Gromov
daadb28f5d add absent tags "varlistentry"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341938 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-20 22:47:37 +00:00
Andrey Gromov
bb8db2ad12 remove redurant tags "tbody"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341936 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-20 22:35:01 +00:00
Andrey Gromov
19ad131127 remove redurant tags "tbody"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341935 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-20 22:30:53 +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
Maciek Sokolewicz
f14ec684d3 fixed xml error from previous commit
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341932 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-20 21:58:12 +00:00
Maciek Sokolewicz
2d7563fa07 some text was incorrectly copied in the previous commit, fixed it now.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341930 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-20 21:35:49 +00:00
Maciek Sokolewicz
aa4c1e923c documented the mt_(s)rand changes in PHP 7.1.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341929 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-20 20:48:22 +00:00