Commit graph

23702 commits

Author SHA1 Message Date
Pieter Hordijk
cc13d6f1e3 Fixed broken sentence...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342219 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-03 15:21:57 +00:00
Pieter Hordijk
37bea61c69 Improved explanation of what last insert id returns
https://bugs.php.net/bug.php?id=69400

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342218 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-03 15:09:06 +00:00
Pieter Hordijk
2342022e8a Clarified the status of the "alias".
https://bugs.php.net/bug.php?id=74246

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342217 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-03 14:57:33 +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
Jakub Zelenka
3b09ff696e Fix doc bug #67496 (json_encode changed behaviour in 5.5)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342210 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-31 17:40:30 +00:00
Pieter Hordijk
1855e35cf8 Translated / fixed most text to be actually something that looks like English
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342209 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-31 10:47:30 +00:00
Pieter Hordijk
b7db81dd3f Removed ambiguousness by changing may not -> must not for our non native English friends.
https://bugs.php.net/bug.php?id=74049

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342208 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-31 08:19:53 +00:00
Jakub Zelenka
de02a9c50b Fix doc bug #74003 (json_encode: Mention serialize_precision setting)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342203 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-28 15:10:02 +00:00
Christoph Michael Becker
57348daadc Fix #74285: Closure::bindto documentation is missing change in PHP7.0.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342186 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-25 12:37:05 +00:00
Christoph Michael Becker
9bcd60c701 reflect changes made by php-src@f9959ee7c2004919675d9cdc7c82f886f099f15f and php-src@db982bbaa150dceb91e2f839e97c4e1a5f2ddd24
-- 
Provided by anonymous 77857 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342185 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-25 12:27:34 +00:00
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