Commit graph

27471 commits

Author SHA1 Message Date
Christoph M. Becker
ebee35a03a
Hint at missing ext DLL dependency DLLs in troubleshooting section
This is likely one of the biggest issues: users put the extension DLL
into `extension_dir`, but forget to put dependency DLLs in the path.
2021-11-10 19:18:06 +01:00
Christoph M. Becker
2272b929a1
Document Imagick installation on Windows
We also remove the out-dated (or outright wrong) requirements info for
Windows.
2021-11-10 19:18:06 +01:00
沈唁
de42b5016e
Fix 80971: func_get_args() didnt work when using named args (#650)
* Fix 80971: func_get_args() didnt work when using named args

* Update language-snippets.ent

Co-authored-by: George Peter Banyard <girgias@php.net>

* Update language-snippets.ent

* Update language-snippets.ent

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

* Update language-snippets.ent

Co-authored-by: George Peter Banyard <girgias@php.net>
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-11-10 11:39:50 -05:00
Sebastian Hädrich
933c299ca9
Add mysqli::debug() options parameters from comment
As per https://www.php.net/manual/en/mysqli.debug.php#122219

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-1079.
2021-11-10 15:46:18 +01:00
Runbing
62739864aa
Correct the wrong keyword in the sample code (#1080)
functiond -> function
2021-11-10 10:56:29 +03:00
Christoph M. Becker
a2fc23851f
Interactive mode is no longer available as of PHP 8.1.0
Cf. <688cc56f14 (commitcomment-59701083)>.
2021-11-10 00:25:48 +01:00
Christoph M. Becker
b9d23bbb94
Incremental inflate contexts don't protect against Zip bombs
Cf. <https://bugs.php.net/74876>.
2021-11-09 13:38:33 +01:00
Salomon88
6a6f43d1c4
Documentation of index reset effect of some array functions - issue #876 (#1077)
Co-authored-by: Alexey Kryuchkov <alexey.kryuchkov@jetbrains.com>

Closes GH-1077.
2021-11-09 13:01:19 +01:00
Christoph M. Becker
688cc56f14
Fix #51695: CLI interactive mode broken without readline/editline 2021-11-09 12:14:06 +01:00
Máté Kocsis
bd8169a9b1
Generate ext/com_dotnet class synopses from stubs
Closes GH-1064.
2021-11-08 16:15:00 +01:00
Christoph M. Becker
8d8cd43bfc
Fix #41062: is_executable only looks at basic executables 2021-11-08 15:04:41 +01:00
Christoph M. Becker
a0f0f0446d
Fix #76830: PDO_PGSQL DSN could have "sslmode" documented 2021-11-08 14:32:00 +01:00
Juliette
67ca0d930c
dirname(): add warning about risk of infinite loop
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>

Closes GH-1005.
2021-11-08 13:20:57 +01:00
Juliette
41c8533ff5
PCRE: add missing "Errors/Exceptions" section
All PCRE pattern matching functions will throw a warning when an invalid regex is passed to the `$pattern` parameter.
See: https://3v4l.org/WkVIW

This was thus far undocumented behaviour.

This PR adds:
* The "Errors/Exceptions" section to each of the PCRE pattern matching function documentation pages (if it didn't exist yet).
* Adds a macro for the text snippet about the warning to display in the section and uses that in the "Errors/Exceptions" section for each function.

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>

Closes GH-1057.
2021-11-08 13:01:56 +01:00
Sergey Panteleev
0ff45f21e8
[PHP 8.1] Add new Sockets constants 2021-11-06 15:44:02 +03:00
Sergey Panteleev
81905a8633
[PHP 8.1] Add cURL constants (#1039) 2021-11-06 15:41:41 +03:00
Parsonswy
a1a293ce29
[skip-revcheck] Fix typo
Closes GH-1063.
2021-11-06 11:22:15 +01:00
Kamil Tekiela
9097ea48f6
Fix type of ->num_rows 2021-11-04 08:44:34 +00:00
Matt Thomas
aaea72f308
Update ISO 8601 text
Use _ISO 8601_, instead of _ISO-8601_, for consistency and alignment with https://www.iso.org/iso-8601-date-and-time-format.html

Closes GH-1060.
2021-11-03 17:14:49 +01:00
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
2d1981cc30
Fix #72915: *Only* basic and digest authentication supported 2021-11-02 18:26: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
Yoshinari Takaoka
963efb2602
Clarify code comment about reference page, because readers does not know where to go in chunked html page.
"// See below." is valid only in Single HTML manual.

https://www.php.net/manual/en/language.enumerations.methods.php
2021-10-31 22:58:32 +09:00
Yoshinari Takaoka
0305a7128f
added BackedEnum interface link. 2021-10-31 20:28:12 +09:00
Yoshinari Takaoka
90f5f73e9b
tweaked example code comments, [method|interface] links. 2021-10-31 14:53:32 +09: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
André L F S Bacci
be039c085e [skip-revcheck] Fix output spacing. 2021-10-29 11:20:24 -03:00
Yoshinari Takaoka
0bbcee7822
added link for Enumerations. 2021-10-29 22:41:33 +09: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
Marco Aurélio Deleu
eb81160ac9
[80772] Add PHP 8 tokens (#475)
Co-authored-by: Sergey Panteleev <sergey@php.net>
2021-10-28 11:39:54 +03: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