Commit graph

19128 commits

Author SHA1 Message Date
Derick Rethans
6fe1fd690a Updated to version 2021.5 (2021e) 2021-11-03 15:45:58 +00:00
Sergey Panteleev
126161cc61
Fix changelog entry
For correct display on
https://www.php.net/manual/en/doc.changelog.php
2021-11-03 14:49:28 +03:00
Sergey Panteleev
a56de5a303
Remove empty see also section from solr 2021-11-03 14:40:33 +03:00
Christoph M. Becker
b2379902aa
PDO::MYSQL_ATTR_INIT_COMMAND expects string, not int
See <https://bugs.php.net/id=81576>.
2021-11-03 11:43:51 +01:00
Christoph M. Becker
936691e744
Fix #81575: Faulty mb_encode_mimeheader() example code 2021-11-02 17:57:21 +01:00
Christoph M. Becker
55f70d1987
Fix #81566: ob_get_status return value contains non-existing constants 2021-11-02 13:46:20 +01:00
Kamil Tekiela
7ad83bb05b
next_result() and fetch_all() are now available when linking against libmysqlclient (#1054) 2021-10-29 23:18:36 +01:00
Anna Filina
b427504aec
Clarification of return values descriptions for mysqli fetch functions (#841)
Co-authored-by: shevchenko.r <r.shevchenko@bookcentre.ru>
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
2021-10-29 22:15:28 +01:00
Yoshinari Takaoka
6e6aa01003
fixed yet another example title mistake. 2021-10-29 22:00:10 +09:00
Yoshinari Takaoka
074f0fbf95
fixed example title. 2021-10-29 21:48:15 +09:00
Jeremy Mikola
0fdb8109a1
Update Server::getInfo() example and note load balancer behavior
https://jira.mongodb.org/browse/PHPC-1979
2021-10-28 23:48:31 -04:00
Jeremy Mikola
a163213984
getServiceId method for command monitoring events
https://jira.mongodb.org/browse/PHPC-1976
2021-10-28 23:13:45 -04:00
Jeremy Mikola
1fb5896679
Document loadBalanced URI option and Server type constant
https://jira.mongodb.org/browse/PHPC-1752
https://jira.mongodb.org/browse/PHPC-1980
2021-10-28 22:23:54 -04:00
Jeremy Mikola
929fb17986
Manager::selectServer() ReadPreference param is now optional
https://jira.mongodb.org/browse/PHPC-1937
2021-10-28 21:59:45 -04:00
Jeremy Mikola
d587d7ea33
Document mongodb.mock_service_id INI option
https://jira.mongodb.org/browse/PHPC-1978
2021-10-28 21:22:42 -04:00
Jeremy Mikola
7c5379029e
Improve documentation for mongodb.debug INI option 2021-10-28 21:12:54 -04:00
Jeremy Mikola
f2c3fa1e01
Manager::startSession snapshot option and ReadConcern constant
https://jira.mongodb.org/browse/PHPC-1761
2021-10-28 19:25:11 -04:00
Larry Garfield
9fe8103520
Document enumerations
Co-authored-by: Yoshinari Takaoka <mumumu@mumumu.org>
Co-authored-by: Sergey Panteleev <sergey@php.net>
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-960.
2021-10-29 01:14:57 +02:00
Máté Kocsis
6a5b227850
Generate ext/standard method synopses based on stubs - part 4
Closes GH-1022.
2021-10-27 11:35:47 +02:00
Sergey Panteleev
e4b52745bc
Fix html.c functions description (#1052)
Closes #1042
2021-10-27 11:50:38 +03:00
沈唁
3d0fccf51c
Fix typo (#1049) 2021-10-26 12:58:37 +08:00
Jeremy Mikola
1aca69fa5d
Update return type for MongoDB\Driver\Server::getLatency()
https://jira.mongodb.org/browse/PHPC-1984
https://jira.mongodb.org/browse/PHPC-1985
2021-10-25 19:41:06 -04:00
Sergey Panteleev
377518d34b
Fix openssl_cms_sign parameters description (#1040)
Fix #80715
2021-10-25 16:52:01 +03:00
Kamil Tekiela
52779f983f
Incorrect information in the return values section of fetch_fields (#1043) 2021-10-25 08:08:47 +01:00
Sergey Panteleev
12424df3c8
Drop pthreads v2 (#1035) 2021-10-21 11:28:17 +03:00
Kim Hallberg
327a44719a
Fix 81385: ReflectionProperty::isPromoted() is missing from documentation
Closes GH-937.
2021-10-20 11:11:30 +02:00
Sergey Panteleev
b117c6de4f
[skip-revcheck] Fix typo 2021-10-20 09:52:34 +03:00
Kamil Tekiela
4e8c90ca8a
PHP 8.1: Document mysqli_result::fetch_column (#776) 2021-10-19 09:31:48 +01:00
Sergey Panteleev
9ddb781270
[PHP 8.1] Add ReflectionIntersectionType description (#1027) 2021-10-19 07:42:27 +03:00
Yoshinari Takaoka
8797a9435f
fixed IntlChar::charFromName example return value. (#1031) 2021-10-18 20:09:15 +09:00
Kamil Tekiela
4f93fb38da
[PHP 8.1] Updated mysqli error reporting (#1024) 2021-10-18 12:02:07 +01:00
Maurício Meneghini Fauth
80dd9db3b7 Document the sodium_crypto_secretbox_keygen function 2021-10-16 13:52:27 -03:00
Sergey Panteleev
c2eca73ef7
[PHP 8.1] Use PgSql objects instead of resources (#1009) 2021-10-16 13:45:19 +03:00
Kamil Tekiela
b958b68778
Tidy up SVN docs (#939) 2021-10-15 15:50:25 +01:00
Frederik Bosch
50b104c116
Fix #75070: Opcache functions only apply to in-memory cache
Closes GH-1030.
2021-10-15 15:31:13 +02:00
Martin Samesch
b323b5e04b
typo 2021-10-15 12:40:01 +00:00
Martin Samesch
5e75ce8c92
Wrong parameter name in pg_delete (#1029) 2021-10-15 13:15:29 +01:00
Maurício Meneghini Fauth
47d1a1b4f1 Improve sodium_crypto_secretbox[_open] doc pages
Adds returnvalues, errors, examples and seealso sections to the
sodium_crypto_secretbox and sodium_crypto_secretbox_open documentation
pages.
2021-10-15 01:09:47 -03:00
Máté Kocsis
426d9a8f15
Generate sapi_windows_* method synopses based on stubs
Closes GH-1023.
2021-10-14 14:29:32 +02:00
Sergey Panteleev
2d99025327
[PHP 8.0] Add Semaphore opaque classes (#1020) 2021-10-13 19:19:36 +01:00
Jakub Bouček
e59e8d31d8
DateTime::createFromFormat - fix misleading epoch info
Closes GH-1019.
2021-10-13 16:36:58 +02:00
Kamil Tekiela
994aa2b092
[skip-revcheck] Grammar 2021-10-12 21:32:54 +01:00
Martin Samesch
2eda09ff8e
typo 2021-10-12 15:53:31 +00:00
Yoshinari Takaoka
ae11a26c5b
typo, part II. 2021-10-13 00:17:43 +09:00
Máté Kocsis
4e6f0774f0
Generate a few ext/standard method synopses from stubs (#1013) 2021-10-12 16:04:26 +02:00
Remi Collet
b05a34e65d
typo 2021-10-12 15:00:46 +02:00
hakre
eecf090806
Improve headers_list() example (#1007)
Two & 1/2 things with the PHP example code:

1. `X-` prefix header names June 2012 [1], [2].

2. PHP prepends the `default_charset` [3] on any `text/*` media type in
   Content-Type header, unless the `charset` is with the `header()` call,
   like in the example.

3. PHP version 5.1.3 (May 2006) -> 8.0.11, the X-Powered-By header [4]
   removed (only distracting w/ the example).

PHP version in use to generate the output: 8.0.11.

[1]: https://datatracker.ietf.org/doc/html/rfc6648
[2]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers
[3]: https://www.php.net/manual/en/ini.core.php#ini.default-charset
[4]: https://www.php.net/manual/en/ini.core.php#ini.expose-php

Co-authored-by: Tiffany <tiffany.k.taylor@gmail.com>
2021-10-12 14:00:01 +01:00
Remi Collet
f57925eef0
Add new methods from version 1.20.0
- ZipArchive::clearError()
- ZipArchive::getStreamName($name, $flags=0)
- ZipArchive::getStreamIndex($index, $flags=0)
2021-10-12 14:58:03 +02:00
Máté Kocsis
65a1dc500d
Generate methodsynopses from stubs for ext/intl (IntlCalendar) (#996) 2021-10-11 15:02:12 +02:00
Kamil Tekiela
3ef3e56c80
Rewrite count() page (#948)
* Rewrite count() page

* Change methodname to interface name and fix example output

* Add example with Countable object

* Delete redundant code comments
2021-10-11 13:31:31 +01:00