Christoph Michael Becker
5c93bc6f29
Gender neutral wording
...
Patch provided by Tom Hudson.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342184 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-25 12:23:58 +00:00
Christoph Michael Becker
71c7ae1845
PHP 7.0.0 update
...
Patch provided by anon user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342183 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-25 12:23:02 +00:00
Christoph Michael Becker
b7fc1cdcf2
Fix typo
...
Patch provided by anon user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342182 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-25 12:21:37 +00:00
Derick Rethans
1ef7482bea
Updated to version 2017.2 (2017b)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342178 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-24 12:23:51 +00:00
Pieter Hordijk
54578c3746
Added example for "virtual" file handlers
...
Fixes https://bugs.php.net/bug.php?id=73652
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342172 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-21 11:31:26 +00:00
Pieter Hordijk
35587e18d6
Changed wording of the strict param.
...
Fixes https://bugs.php.net/bug.php?id=74029
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342160 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-20 12:20:36 +00:00
Christoph Michael Becker
95f1473b20
Fix and clarify parameter description, respectively
...
Negative values other than -1 have undefined behavior according to
<https://sqlite.org/c3ref/create_function.html >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342156 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-17 14:17:07 +00:00
Christoph Michael Becker
73ccd04e7d
Document $flags parameter (as of PHP 7.1.4)
...
See https://github.com/php/php-src/pull/2412 .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342155 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-17 14:07:36 +00:00
Christoph Michael Becker
cc8ca60530
PHP 5 behaved slightly different
...
r342129 only documented the PHP 7 behavior, but the manual is supposed
to describe PHP 5, too.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342154 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-17 13:36:48 +00:00
Christoph Michael Becker
62e49c2b1b
PHP 5.0.3 was still buggy here
...
See <https://3v4l.org/mmH6M >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342153 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-17 13:29:46 +00:00
Christoph Michael Becker
fda0732fe1
Improve wording
...
Patch provided by anon user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342152 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-17 13:09:03 +00:00
Christoph Michael Becker
6cbc24579a
Update wrt. PHP 7.1.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342151 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-17 13:08:14 +00:00
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