Commit graph

24853 commits

Author SHA1 Message Date
Christoph Michael Becker
7edfdafc14 Fix #76655: libsodium seems not present, "no installation needed" not true
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345378 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-23 10:41:04 +00:00
Christoph Michael Becker
b7a1a91f89 array_replace[_recursive] only requires one argument, like array_merge[_recursive]. See https://github.com/php/php-src/pull/3194
PS: maybe further tweak the wording...

-- 
Provided by anonymous 92566 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345370 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-21 11:52:11 +00:00
Christoph Michael Becker
1d4af49c43 Document function
Patch provided by Marcus Bointon.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345367 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-20 12:10:08 +00:00
Christoph Michael Becker
8f9ebc8686 The $mode parameter is available as of PHP 4.3.0 – no need for the changelog
Inspired by a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345366 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-20 11:37:32 +00:00
Christoph Michael Becker
ce45d942db $search_value of array_keys() has no default value
See <https://bugs.php.net/65904>.

Based on a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345357 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-19 12:25:55 +00:00
Derick Rethans
0665ff2123 Fixed versions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345354 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-19 10:10:28 +00:00
Jeremy Mikola
0df9823f6a Include all inherited props/methods for exception classes
This comments out nonexistent includes to avoid XML warnings introduced in r345343. Ideally, we would use <xi:fallback>, but that does not avoid warnings (see: https://bugs.php.net/bug.php?id=51897).

Related to: https://jira.mongodb.org/browse/PHPC-1222


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345347 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-18 20:01:30 +00:00
Jeremy Mikola
138684b77a Class tree for MongoDB exceptions
https://jira.mongodb.org/browse/PHPC-1246


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345346 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-18 19:56:53 +00:00
Derick Rethans
d58a813a1f Fixed XPath magic
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345345 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-18 14:55:17 +00:00
Pieter Hordijk
bc379ea62d make it more clear it's a *bitwise* or operator
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345344 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-18 13:42:59 +00:00
Derick Rethans
1dfa50495f Document new hasErrorLabels() method and errorLabels property, and sort out inheritence of exception classes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345343 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-18 10:06:24 +00:00
Christoph Michael Becker
9a147ed11d Document array_key_first() and array_key_last()
Cf. <https://wiki.php.net/rfc/array_key_first_last>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345342 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-17 11:41:17 +00:00
Christoph Michael Becker
45e81f18d7 FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED are deprecated
Cf. <https://wiki.php.net/rfc/deprecations_php_7_3#filter_flag_scheme_required_and_filter_flag_host_required>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345341 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-17 11:17:06 +00:00
Gabriel Caruso
5a3cf6ea6b Fix bug #76551
The type of the second param `$message` is an array, and not a string, as reported.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345318 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-15 22:47:07 +00:00
Christoph Michael Becker
192eda7b75 Show alternative usage of array_column() in example
Based on a patch provided by Stefan Topfstedt.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345315 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-14 12:22:09 +00:00
Christoph Michael Becker
4fff12b319 Integrate user note 26786
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345313 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-14 11:43:33 +00:00
Christoph Michael Becker
3e4dcbc1d3 Clarify meaning of $offset parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345312 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-14 11:28:25 +00:00
Christoph Michael Becker
c9558408f7 String keys are always preserved
Integrates user note 115717.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345311 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-14 11:05:29 +00:00
Christoph Michael Becker
334a533c08 ZipArchive::setPassword() now also sets the default password for encryption
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345307 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-13 18:06:26 +00:00
Christoph Michael Becker
6f0a42ef91 Notification callbacks are only supported for http:// and ftp://
Cf. <https://lxr.room11.org/search?project=php-src%40master&q=&defs=&refs=php_stream_notify_info&path=&hist=&type=>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345305 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-12 22:05:22 +00:00
Christoph Michael Becker
4c276c97e1 Fix #76606: Widespread regression with Serializable interface and legacy __wakeup method
We revert revision 339383.  While this info was valid for PHP 5.1.0 up to
PHP 5.4.28 and 5.5.12, respectively, it is no longer, and as such it's
rather confusing.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345303 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-11 12:53:51 +00:00
Christoph Michael Becker
89fd9d4157 Partially fix link
Actually, we want to link to the “projection” row, but for some reason
that does not work[1].  Therefore we link to the “queryOptions” table.

[1] <http://news.php.net/php.doc.cvs/16129>

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345292 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-09 16:37:49 +00:00
Wang Jiexin
230d21efec Add seaslog extension doc
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345290 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-09 08:21:37 +00:00
Wang Jiexin
e26e01b813 Add seaslog extension doc
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345288 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-09 08:09:30 +00:00
Christoph Michael Becker
cc54c70169 Add an appropriate title
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345278 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-05 16:16:31 +00:00
Christoph Michael Becker
b847a34341 Document uopz_set_property() and uopz_get_property()
Since it is not clear whether uopz_set_property() is supposed to
work for non-exiting properties[1], we're documenting defensively.

[1] <https://github.com/krakjoe/uopz/issues/82>

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345277 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-05 14:44:45 +00:00
Christoph Michael Becker
3447c129e8 Document uopz_add_function() and uopz_del_function()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345276 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-05 14:03:35 +00:00
Christoph Michael Becker
8e242d4d39 Document uopz_set_hook(), uopz_get_hook() and uopz_unset_hook()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345275 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-05 11:53:39 +00:00
Christoph Michael Becker
b3fe33df9b Split methodsynopsis to avoid the leading optional paramameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345274 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-05 11:14:42 +00:00
Christoph Michael Becker
ef509edbd7 Document uopz_get_static() and uopz_set_static()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345273 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-04 21:55:48 +00:00
Christoph Michael Becker
ad6817fb4d Be precise!
These examples will output exactly what is shown, not only something
similar.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345271 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-04 18:21:26 +00:00
Christoph Michael Becker
95bfe4c334 Encapsulate all uopz examples in PHP tags
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345270 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-04 18:12:02 +00:00
Wang Jiexin
cc12fabf24 Add xlswriter extension doc
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345268 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-04 09:24:03 +00:00
Côme Chilliet
64bf0b512b Fix php version information error for ldap_exop_refresh
issue #76546


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345267 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-04 08:29:47 +00:00
Nikita Popov
c035f0005a Fix bug #70575: gmp_random() doc wrong
Implement the changes suggested by the reporter.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345264 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-02 15:49:57 +00:00
Derick Rethans
1d35ee8c32 Fixed link.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345262 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-02 10:13:14 +00:00
Christoph Michael Becker
1c1b29f597 Fix #65011: ReflectionProperty::getDocComment() fails for multiple variable declarations
We add an example to clarify the behavior.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345251 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-30 12:42:20 +00:00
Christoph Michael Becker
ca83ee0d06 Document sodium_crypto_kx_keypair()
Based on a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345250 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-30 12:28:52 +00:00
Christoph Michael Becker
482bc1d69c Clarify behavior of generator (functions)
Patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345249 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-30 11:56:50 +00:00
Christoph Michael Becker
c44311cab0 The interactive shell is supported on Windows
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345240 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-29 17:12:21 +00:00
Christoph Michael Becker
3cd337b4dc Fix spelling
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345239 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-29 17:04:58 +00:00
Christoph Michael Becker
c60cc6f3a8 Update wrt. PHP 7.1
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345238 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-29 14:14:24 +00:00
Christoph Michael Becker
1df6b1b228 Improve wording
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345237 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-29 14:13:40 +00:00
Christoph Michael Becker
866b749d19 Fix typo
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345236 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-29 14:12:50 +00:00
Christoph Michael Becker
827ab3cfe0 Fix build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345232 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-28 12:09:35 +00:00
Pieter Hordijk
b34890c3c5 Add links to iis, xampp, and nginx installation tools + guides.
I realize nginx's documentation is  a bit slim, but it's worth at least a reference. 

-- 
Provided by anonymous 90907 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345230 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-28 10:45:06 +00:00
Pieter Hordijk
79ebd89049 The ord() and chr() functions do not interpret their inputs as ASCII or any other encoding, but work with single bytes. This should be made clearer.
-- 
Provided by anonymous 73458 (rowan.collins@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345229 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-28 10:36:19 +00:00
Derick Rethans
e92fd0468a PHPC-1217: Remind users to include __pclass field in projections
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345228 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-28 10:24:59 +00:00
Jeremy Mikola
52886fcaa7 Improve field path type map example
The previous example was missing the "fieldPaths" key.

https://jira.mongodb.org/browse/PHPC-314


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345225 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-27 18:16:36 +00:00
Derick Rethans
f2d59658fa Add very basic information on fieldPath mappings.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345223 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-27 16:12:43 +00:00