Commit graph

24595 commits

Author SHA1 Message Date
Christoph Michael Becker
4cf779d048 Fix switch code tabs in example
This is consistent with all but one example in the switch man page, and also PSR-2.

-- 
Provided by anonymous 91782 (dunhamjared130@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345105 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-08 11:20:15 +00:00
Christoph Michael Becker
61a86c26f7 This patch changes the confusing use of ~ in the float documentation, to the word "approximately" to avoid ambiguousness with the ~ bitwise NOT operator.
-- 
Provided by anonymous 91768 (php@madara.ninja)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345104 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-08 11:15:07 +00:00
Christoph Michael Becker
ae43d9892e Document SO_REUSEPORT
Patch provided by Michał Brzuchalski

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345096 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-04 12:20:13 +00:00
Christoph Michael Becker
7923a7bbfb Add markup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345095 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-04 11:32:38 +00:00
Christoph Michael Becker
2985b542a0 Now it is not clear what the default value for parameter flag does.
This patch explains it

-- 
Provided by anonymous 91702 (mailofjordi@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345094 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-04 11:27:31 +00:00
Christoph Michael Becker
7bea6c9d9d We use generated links to the documentation, and pm.max_children directive has an incorrect link because of the typo.
-- 
Provided by anonymous 91704 (eugene.a.kazakov@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345093 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-04 11:23:46 +00:00
Christoph Michael Becker
a39d6f9134 Fix #74176: Add changelog entry
The properties have already been documented via r345090.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345092 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-04 11:17:48 +00:00
Christoph Michael Becker
c0020be1f4 Add missing version info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345091 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-04 11:10:52 +00:00
Christoph Michael Becker
62d7e3d656 The DatePeriod class has a few properties that are public, but are not documented, this patch documents them
-- 
Provided by anonymous 55921 (php@duncanc.co.uk)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345090 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-04 11:08:43 +00:00
Christoph Michael Becker
ac05776cd0 Document sapi_windows_vt100_support()
Patch provided by Michele Locati.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345089 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-04 10:56:42 +00:00
Christoph Michael Becker
000d2fa763 Fix syntax error in example
Patch provided by Pushkar Anand.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345088 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-04 10:55:45 +00:00
Christoph Michael Becker
2c34c3abf5 Fix typo
-- 
Provided by anonymous 91720 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345087 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-04 10:54:41 +00:00
Jeremy Mikola
0efcae4759 Do not repeat constant values in <varlistentry> records
Constant values are already reported in <fieldsynopsis> blocks. Furthermore, literal values should not appear within <term><constant> tags.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345085 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-01 17:21:55 +00:00
Jeremy Mikola
518443c9c7 Describe previous behavior in UTCDateTime constructor changelog
https://jira.mongodb.org/browse/PHPC-536


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345084 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-01 16:55:52 +00:00
Yasuo Ohgaki
29a76b5333 Fix typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345081 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-30 00:39:20 +00:00
Yasuo Ohgaki
15793ac539 Some users consider calling session_name() after session_start() is perfectly valid. However it is not valid and allows crash and misbehaviors.Add changelog for it. Remove bogus session_register() description.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345080 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-30 00:27:40 +00:00
Christoph Michael Becker
dff09f6780 Fix grammar and improve wording
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345077 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-29 14:50:40 +00:00
Christoph Michael Becker
ee0c3431dd Update Win32Service documentation
Patch provided by jbnathan.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345076 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-29 14:16:04 +00:00
Christoph Michael Becker
5383ecabcb Document ReflectionParameter::isDefaultValueConstant()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345075 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-29 14:14:26 +00:00
Christoph Michael Becker
b3e793af14 Fix #53934: The negative PHP_INT_MAX is incorrectly converted to float
Actually, PHP does not support integer literals with explicit signs;
instead these are regarded as identity and negation operators, respectively.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345073 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-29 13:41:01 +00:00
Christoph Michael Becker
b0069c55f1 Document ReflectionParameter::getDefaultValueConstantName()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345072 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-29 13:02:30 +00:00
Christoph Michael Becker
20a8dc8be0 Fix parameter type
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345071 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-29 12:18:20 +00:00
Christoph Michael Becker
f786337440 Fix example output
Patch provided by AzJezz.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345070 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-29 12:17:37 +00:00
Christoph Michael Becker
489abcb2ab Implication doesn't make sense otherwise. Function returns proper value, tested on PHP 7.1.13, Windows 10.
-- 
Provided by anonymous 91234 (oliver.tusla@seznam.cz)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345066 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-26 20:36:20 +00:00
Christoph Michael Becker
6e250ae090 Clarify FILE_IGNORE_NEW_LINES
Inspired by <http://news.php.net/php.doc/969386723>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345062 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-26 18:58:46 +00:00
Yasuo Ohgaki
69cb6d5ed1 Be more explicit for optional name param
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345061 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-26 12:36:48 +00:00
Yasuo Ohgaki
7ef2b6a79a Add correct usage descriptions to session_name().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345059 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-26 01:32:52 +00:00
Christoph Michael Becker
f559b71c79 Improve wording
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345055 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-25 14:50:18 +00:00
Christoph Michael Becker
e737582530 Clarify timeout unit
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345054 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-25 14:49:37 +00:00
Christoph Michael Becker
f8dca7cec6 Add mutual reference
Inspired by a patch provided by Vladimir S.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345053 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-25 14:49:35 +00:00
Christoph Michael Becker
2446428ef3 Fix changelog entry order
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345050 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-25 14:14:41 +00:00
Christoph Michael Becker
e9be040e16 Integrate user note 101775
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345049 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-25 14:09:07 +00:00
Nikita Popov
75fb719c3c Remove "functionally identical" foreach examples
Especially now that this is throwing deprecation warnings, this should not be in the main foreach docs.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345048 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-25 13:59:28 +00:00
Jeremy Mikola
c2798b8987 Document CommandFailedEvent::getReply()
https://jira.mongodb.org/browse/PHPC-1076


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345045 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-22 17:42:28 +00:00
Christoph Michael Becker
458873def0 Fix #76365: LDAP bind function desc typo error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345039 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-22 12:16:46 +00:00
Jeremy Mikola
3248a1dd4d Add maxTimeMS examples for executeQuery and executeCommand
https://jira.mongodb.org/browse/PHPC-585


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345032 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-18 19:12:22 +00:00
Christoph Michael Becker
cbb533c551 Fix #76329: process.dumpable missing from docs
We document the new configuration option.  Since formerly process.dumpable
was implicitly enabled, other parts of the docs might need an update.  We
rely on follow-up bug reports or PhDOE patches to fix those parts, if any.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345004 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-11 22:00:39 +00:00
Christoph Michael Becker
91bd082167 Fix #76328: Documentation of CURLINFO_HTTP_CODE as legacy
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345002 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-11 16:11:29 +00:00
Christoph Michael Becker
47ef5a87da Fix #71064: open($string, ZipArchive::OVERWRITE) does not create non-existing archives
We're taking the wording from the zip_open() documentation[1], and don't
care to document that ZipArchive::OVERWRITE implied ZipArchive::CREATE
in some formerly bundled libzips.

[1] <https://libzip.org/documentation/zip_open.html>

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344995 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-08 21:59:59 +00:00
Andrey Gromov
51c7dd11f1 typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344991 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-08 20:47:27 +00:00
Christoph Michael Becker
1068e340ca Some clarity on cipher modes for bug #51146
Patch provided by leigh.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344989 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-08 14:24:00 +00:00
Christoph Michael Becker
d13cf37ea2 Prefer class constants
Patch provided by alan_k.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344988 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-08 14:05:47 +00:00
Christoph Michael Becker
30dd50ff89 The DLLs are renamed as of OpenSSL 1.1
Based on a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344987 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-08 13:54:14 +00:00
Christoph Michael Becker
2992085869 Correct return value (false instead of null)
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344986 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-08 12:47:13 +00:00
Christoph Michael Becker
63951736c2 Fix constant description
Patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344985 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-08 12:37:51 +00:00
Christoph Michael Becker
126eefa0db Clarify refpurpose
As suggested by a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344984 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-08 12:29:26 +00:00
Christoph Michael Becker
52000a5e51 Fix typo
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344983 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-08 12:27:36 +00:00
Christoph Michael Becker
ea6d4aea8b Opcode cache support has been removed as of wincache 2.0.0.0
Inspired by a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344982 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-08 12:18:05 +00:00
Christoph Michael Becker
84c932da65 Clarify date range
It may be much larger on 64bit systems, and 32bit systems may support
negative timestamps.

Inspired by a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344981 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-08 12:14:18 +00:00
Christoph Michael Becker
c35452fd96 Insert comma for clarity
As suggested by a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344980 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-08 12:05:17 +00:00