Commit graph

16810 commits

Author SHA1 Message Date
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
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
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
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
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
Derick Rethans
b87a886f8c Update documentation to reflect correct inheritence, and changes since 1.4.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345221 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-27 11:47:15 +00:00
Christoph Michael Becker
b6d3b6bc18 Fix “typo”
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345219 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-26 17:27:50 +00:00
Christoph Michael Becker
4f1280021a Improve table markup
There's no need for the <para>s inside the <entry>s, and they look
really ugly.  We also fix a typo.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345218 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-26 17:25:33 +00:00
Jeremy Mikola
9a2cbb997c defaultTransactionOptions defaults to an empty array
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345216 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-26 01:14:00 +00:00
Jeremy Mikola
0aae99e798 Note upper bound on wtimeoutMS param for WriteConcern constructor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345215 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 20:23:05 +00:00
Jeremy Mikola
2a4ade885c Always validate and apply wtimeoutMS in URI options array
https://jira.mongodb.org/browse/PHPC-1216


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345214 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 20:21:52 +00:00
Jeremy Mikola
81acec0aa0 Error at execution time if Bulk::update() arrayFilters is unsupported
https://jira.mongodb.org/browse/PHPC-1196


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345212 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 16:21:24 +00:00
Christoph Michael Becker
fab67f0be1 Document “Allow specifying keys in list()” RFC changes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345209 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 14:30:56 +00:00
Christoph Michael Becker
cf82c5a52d Fix example
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345208 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 13:19:10 +00:00
Christoph Michael Becker
845055cb69 Add basic documentation for the command line options
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345206 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 13:07:57 +00:00
Christoph Michael Becker
ff7261ddd9 Fix typo: change "IntlCodePointBreaIterator" to "IntlCodePointBreakIterator"
-- 
Provided by anonymous 92142 (php@siliconforks.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345203 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 11:40:21 +00:00
Christoph Michael Becker
74685c6472 Document constant removal
Cf. <https://github.com/php/php-src/pull/3324>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345201 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 10:19:32 +00:00
Christoph Michael Becker
25fae36ef9 Fix version info of the phpdbg_break_*() functions
Actually, these are already available as of PHP 5.6.3, see
<https://github.com/php/php-src/blob/php-5.6.3/sapi/phpdbg/phpdbg.c#L265-L320>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345199 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-24 14:54:30 +00:00
Christoph Michael Becker
c7378721ff Improve phpdbg documentation
* use lowercase “phpdbg” throughout
* flesh out the preface
* actually document some of the functions


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345198 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-24 14:43:55 +00:00
Christoph Michael Becker
47814777fd Update wrt. pass-by-reference warning
Based on a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345197 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-24 13:18:06 +00:00
Christoph Michael Becker
eb8197347b Fix grammar
Based on a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345196 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-24 12:43:34 +00:00
Christoph Michael Becker
5ae310caf6 Actually add ini docs to the manual
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345194 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-23 13:10:10 +00:00
Christoph Michael Becker
b580c722e3 Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345191 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-22 22:56:17 +00:00