Commit graph

23712 commits

Author SHA1 Message Date
Pieter Hordijk
cb8238627d Added explanation for default compression level.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342247 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-05 10:11:05 +00:00
Andrey Gromov
44f5a9587d cosmetic changes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342246 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-05 10:02:13 +00:00
Remi Collet
112aef6bb1 move new constants in the right place
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342244 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-05 09:59:31 +00:00
Pieter Hordijk
1ab7003a7f Added return value on error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342243 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-05 09:54:45 +00:00
Remi Collet
0a6d13307b add Zip context options page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342242 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-05 09:28:14 +00:00
Remi Collet
a0f65747b0 add ZipArchive::setEncryptionIndex and ZipArchive::setEncryptionName (from 1.14.0)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342241 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-05 09:15:44 +00:00
Remi Collet
279c3722ec Add new constants from zip 1.14.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342239 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-05 08:43:12 +00:00
Alexander Moskaliov
3779ff3989 Fix svn revision tag
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342232 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-04 09:36:07 +00:00
Pieter Hordijk
8707aa93ea Added note about bypassing shell.
https://bugs.php.net/bug.php?id=26566

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342231 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-04 09:00:34 +00:00
Pieter Hordijk
400f2c8445 Documented the possibility of using offset values implemented in 5.5.10
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342230 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-04 08:59:24 +00:00
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