Commit graph

24782 commits

Author SHA1 Message Date
Christoph Michael Becker
e27bd5959a Fix typos
Patches provided by anonymous users.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345458 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-13 10:21:58 +00:00
Philip Olson
ab13bf664a RowResult: added examples and documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345453 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-09 23:40:50 +00:00
Philip Olson
cc6781c087 Expanded example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345451 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-08 22:33:36 +00:00
Philip Olson
6b00f72656 Remove 'schema' from connection URI; and link to ini.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345450 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-08 21:03:26 +00:00
Philip Olson
32d04aee92 Clarified installation/enabling procedure. Also moved installation
instructions to the installation section from the requirements section.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345449 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-08 20:40:20 +00:00
Mark Jones
2a1213d21c improving openssl dh example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345448 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-08 16:44:04 +00:00
Christoph Michael Becker
27c8a224e0 Fix comment
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345447 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-08 13:53:32 +00:00
Philip Olson
a456cc7fef Typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345443 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-07 23:44:26 +00:00
Philip Olson
e266c58515 Fixes here and there; renamed or removed methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345442 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-07 23:40:10 +00:00
Christoph Michael Becker
ab387e780b Fix #76716: PASSWORD_ARGON2I not always being available not documented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345440 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-07 21:36:07 +00:00
Christoph Michael Becker
8374415e7c Comment out inclusion of methods
Apparently, there is a still unfixed bug in libxml2[1], which causes
spurious errors to be shown, if an xpointer has no match, even though
a fallback is given.

[1] <https://mail.gnome.org/archives/xml/2010-November/msg00004.html>

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345439 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-07 21:11:40 +00:00
Christoph Michael Becker
6f5d31d899 Fix #76709: Minimal required zlib library is 1.2.0.4
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345437 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-06 10:12:18 +00:00
Christoph Michael Becker
909d082485 Fix #76690: mime_content_type's return type is not correctly documented (2)
We also note that a warning is emitted on failure.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345422 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-02 22:49:09 +00:00
Christoph Michael Becker
98b76b79d6 Fix #76680: Uncertainty in description of html_entity_decode
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345421 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-02 22:23:22 +00:00
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