Commit graph

24918 commits

Author SHA1 Message Date
Christoph Michael Becker
3372f616cb Be more precise
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345420 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-02 22:15:32 +00:00
Timandes White
e269f38067 Sync with https://github.com/php-zookeeper/php-zookeeper-doc.git
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345417 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-02 07:44:37 +00:00
Christoph Michael Becker
37b2a90a5d Fix #76690: mime_content_type's return type is not correctly documented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345416 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-01 12:20:00 +00:00
Derick Rethans
f91ed9bc6f PHPC-1227: Document that transactions do not allow per-op read/write concerns
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345411 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-30 10:37:38 +00:00
Gabriel Caruso
6b1a7994c1 Fix #76677
Simple typo: "Caledar" > "Calendar"

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345410 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-30 00:32:08 +00:00
Pieter Hordijk
d62fd8edf7 each is deprecated, should be removed from the page
https://bugs.php.net/bug.php?id=76673

Provided by anon

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345401 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-27 10:52:29 +00:00
Christoph Michael Becker
829adcf2ac Add usage example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345400 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-26 15:33:23 +00:00
Christoph Michael Becker
cb2292047f Add seealso sections
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345399 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-26 15:22:39 +00:00
Christoph Michael Becker
1af6b9e0de Mark up constants as such
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345398 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-26 15:10:41 +00:00
Christoph Michael Becker
da63a95206 Clarify default value of $type parameter
We don't add a changelog entry since the behavioral change
as of PHP 7.0.7 has to be considered a bug fix, but we feel
obliged to documented the former behavior nonetheless.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345397 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-26 15:06:32 +00:00
Christoph Michael Becker
d3ab3ae75d Fix #76668: array_walk() never returns FALSE
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345396 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-26 14:38:26 +00:00
Anatol Belski
177116ab5e Fix availability info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345395 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-26 09:09:30 +00:00
André Luis Ferreira da Silva Bacci
031912e89d Ignore autogerenated files.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345394 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-25 19:28:50 +00:00
Christoph Michael Becker
afcc3eb1fd Be precise
Inspired by a patch provided by Miroslav Banov.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345391 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-25 15:55:38 +00:00
Christoph Michael Becker
19209bbc8e Add missing parameter for datefmt_set_timezone()
-- 
Provided by anonymous 92647 (github@caugner.de)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345390 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-25 15:44:51 +00:00
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