Christoph Michael Becker
4025d1cf5e
Revert r339623
...
The proper term here is indeed “sift”, not “shift”.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345153 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-16 15:27:05 +00:00
Christoph Michael Becker
4bff852af9
The added, but not filled in functions that pertain to the socket_addrinfo_* set.
...
--
Provided by anonymous 57081 (dave@mudsite.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345152 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-16 12:46:25 +00:00
Christoph Michael Becker
87054c1c43
Refer to the (unset) casting section
...
Inspired by a patch provided by an anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345151 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-16 12:34:51 +00:00
Christoph Michael Becker
9f9ed4225c
Add missing changelog entry
...
Based on patch provided by Konrad Papała.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345150 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-16 12:26:26 +00:00
Christoph Michael Becker
aaeb51d919
Exception implements Throwable
...
While this is only the case as of PHP 7.0.0, we nonetheless make it
the default, and change the note regarding the former state.
Based on a patch provided by Artem Ostretsov.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345149 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-16 12:20:45 +00:00
Christoph Michael Becker
4b3211634a
Clarify return value
...
Based on patch provided by an anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345148 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-16 12:14:32 +00:00
Christoph Michael Becker
02424f4d2a
Update example to avoid the deprecated each()
...
Patch provided by anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345141 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-15 12:09:29 +00:00
Christoph Michael Becker
654f983667
Update wrt. new “object” type declaration
...
Patch provided by anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345140 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-15 11:56:43 +00:00
Christoph Michael Becker
9cc4767b2d
What's in a name?
...
The Macintosh operating systems changed their name a few times since
version 10. We follow suite, and use the proper name whenever we refer
to a certain version, and use “macOS” as generic term, since “Mac OS X”
and “OS X” versions are already unsupported, or loose support at the end
of this year.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345139 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-15 11:50:40 +00:00
Nikita Popov
b7b8f77a69
Fix type of getPartsIterator key_type parameter
...
Also document values it accepts
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345135 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-13 22:00:49 +00:00
Christoph Michael Becker
2f491ab5e1
Fix #76473 : PHP_INT_MAX doesn't mention 64-bit value
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345134 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-13 21:29:18 +00:00
Christoph Michael Becker
f0a1e153d5
Document new hrtime() function
...
Based on patch provided by an anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345130 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-13 16:59:02 +00:00
Christoph Michael Becker
f8cde5e160
Fix #76471 : PHP Warning: ftp_get() expects at least 4 parameters, 3 given
...
We add the missing changelog entries.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345129 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-13 16:03:25 +00:00
Christoph Michael Becker
406fe415fb
Fix typos
...
Patch provided by Nicolas Dermine.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345128 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-13 15:30:31 +00:00
Christoph Michael Becker
15aac5e453
Namespace names are case-insensitive
...
This integrates user notes 113597 and 117905.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345127 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-13 15:26:05 +00:00
Nikita Popov
cccd50e8ed
Remove redundant note in count() docs
...
Follows from general PHP behavior (undefined variable reads as NULL) and discusses something nobody should be doing in the first place. This was probably more relevant ten years ago than it is now.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345126 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-13 14:15:05 +00:00
Mark Jones
4a826d6fa4
Fix bug #71817 : openssl_dh_compute_key typo in example
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345120 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-11 18:08:15 +00:00
Christoph Michael Becker
c275d0e5ab
Document image2wbmp() deprecation
...
Cf. <https://wiki.php.net/rfc/image2wbmp >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345114 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-10 10:45:11 +00:00
Christoph Michael Becker
92e25e152b
Document *actual* behavior
...
See <https://wiki.php.net/rfc/image2wbmp >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345112 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-09 21:13:30 +00:00
Christoph Michael Becker
a00e5d589d
Fix #76432 : Incorrect documentation of Phar constants
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345111 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-09 20:59:26 +00:00
Christoph Michael Becker
6f653eff39
Apply consistent switch indentation
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345106 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-08 11:35:36 +00:00
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