Commit graph

28058 commits

Author SHA1 Message Date
Máté Kocsis
769812c12f
Generate various ext/standard method synopses from stubs - part 5 (#1232) 2021-12-22 12:34:12 +01:00
Christoph M. Becker
909d99fd64
Fix GH-1231: PDO::pgsqlCopyToArray() has wrong default delimiter 2021-12-22 11:40:27 +01:00
Máté Kocsis
b122b4a485
Generate ext/ffi class synopses from stubs (#1226) 2021-12-21 16:13:15 +01:00
Máté Kocsis
d845236a60
Fix $message_nums parameter names (#1225) 2021-12-21 15:33:54 +01:00
Máté Kocsis
c80e398bcb
Generate ext/spl class synopses from stubs - part 3 (#1224)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-12-21 15:31:10 +01:00
Máté Kocsis
455d218f86
Generate ext/spl class synopses from stubs - part 2 (#1223) 2021-12-21 14:21:47 +01:00
Máté Kocsis
9eb4ef92af
Generate ext/spl class synopses from stubs - part 1 (#1222) 2021-12-21 14:02:50 +01:00
Christophe Coevoet
a44e87c0c6
Update the min version of curl required by PHP
PHP 7.3 and 8.0 increased the min version of curl.

Closes GH-1221.
2021-12-21 13:10:50 +01:00
Kamil Tekiela
88890f831c
Fix loose type comparison table
Closes GH-1218.
2021-12-19 16:17:29 +01:00
Kamil Tekiela
457de0ada3
Use short array syntax for consistency 2021-12-18 21:38:00 +00:00
Christoph M. Becker
9b7ab9bc8e
Close GH-1216: strftime() is deprecated, yet advised to use here
We fix the wrong wording in the migration guide as well.
2021-12-18 14:25:25 +01:00
Yoshinari Takaoka
4b4c8b4740
fixed function name in changelog 2021-12-18 10:23:36 +09:00
Máté Kocsis
0f2aaf1898
Generate ext/reflection class synopses from stubs - part 4
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-1139.
2021-12-17 16:08:57 +01:00
Máté Kocsis
cb30efc532
Generate ext/reflection class synopses from stubs - part 5
Closes GH-1140.
2021-12-17 15:53:15 +01:00
Christoph M. Becker
29168cf804
Closes GH-1024: imagick flop explanation is mistake
We also fix that issue for Gmagick::flopImage.
2021-12-17 15:45:18 +01:00
Christoph M. Becker
d829c7d11f
Closes GH-1209: Named argument in setcookie function called $expires instead of $expires_or_options 2021-12-17 15:35:31 +01:00
Máté Kocsis
ac6b36357e
Update ext/hash documentation
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-1215.
2021-12-17 15:15:19 +01:00
Christoph M. Becker
1a89eb1e2d
Close GH-1146: Loose comparison table incorrect for PHP 8
Cf. <https://3v4l.org/5tmej>.
2021-12-17 14:50:33 +01:00
Christoph M. Becker
44090248a8
Update set_error|exeception_handler $callback descriptions
First, the $callback is a callable, and users are supposed to either
know what that means, or look it up elsewhere in the documentation, so
there is no need to explain it here again, and let it rot again.

Second, there is no need anymore to document pre PHP 7.0.0 behavior.
2021-12-17 14:22:42 +01:00
othercorey
6f058bba94
Adjust fetchAll() purpose to match return description
Closes GH-1212.
2021-12-17 14:06:41 +01:00
Máté Kocsis
687aef09c8
Fix the optional param of CURLStringFile::__construct() (#1213) 2021-12-17 13:54:58 +01:00
Máté Kocsis
1c1619047e
Fix a few ext/reflection return types (#1208) 2021-12-16 14:28:35 +01:00
Christoph M. Becker
4e05f1d8fd
Fix #80078: openssl_dh_compute_key unknown parameters 2021-12-16 13:26:26 +01:00
Máté Kocsis
fa575325c8
Fix a few enum function/method signatures (#1207) 2021-12-16 12:59:13 +01:00
Christoph M. Becker
4ad4b2432e
Update GMP requirements
As of PHP 7.0.0, at least GMP 4.2 is required on POSIX systems.  On
Windows, MPIR is required instead.
2021-12-16 11:51:22 +01:00
Máté Kocsis
1f7fc39377
Change the order of union return type for XSLTProcessor::transformToXml()
To make it compatible with the output of gen_stub.php
2021-12-16 10:22:47 +01:00
Sergey Panteleev
98e904a628
Fix stream_select refpurpose 2021-12-16 12:19:30 +03:00
hakre
65d4ecb42e
PDOStatement colons for names in array example (#1094)
passing values for _named parameters_ in an array allows array keys to be
either the names of the named parameters or (alternatively) the names
prefixed with colons (<colon> : <U003A> COLON) mimicking the placeholders
in the SQL query.

therefore the examples should show first verbatim names as array keys and
then highlight the alternative syntax with colon suffix for the array keys
with a dedicated comment within the examples' code.

same applies to function parameters that represent the parameter name,
e.g. with `PDOStatement::bindParam()` or `PDOStatement::bindValue()` which
is the same as compared with the original `PDOStatement::execute()`.

additionally removed superfluous curly brackets in the first examples'
`$colour` string interpolation of `PDOStatement::execute()`.
2021-12-15 21:08:19 +00:00
Julien Fastré
770b67f36a
Mention question mark escape feature
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-1056.
2021-12-15 21:00:52 +01:00
Máté Kocsis
5b4252de4f
Generate various method synopses based on stubs
Closes GH-1015.
2021-12-15 20:08:13 +01:00
Máté Kocsis
c3067ab0a7
Generate a few ext/standard method synopses based on stubs - part 3
Co-authored-by: Sergey Panteleev <sergey@php.net>

Closes GH-1021.
2021-12-15 20:00:09 +01:00
Máté Kocsis
8244b3b053
Generate ext/zip class synopses from stubs
Closes GH-1066.
2021-12-15 19:56:59 +01:00
Máté Kocsis
2800b9fe1e
Generate ext/xmlreader and ext/xmlwriter class synopses from stubs
Closes GH-1068.
2021-12-15 19:55:38 +01:00
Máté Kocsis
df00465498
Generate ext/snmp class synopses from stubs
Closes GH-1119.
2021-12-15 19:54:21 +01:00
Máté Kocsis
642411772c
Generate ext/pdo class synopses from stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-1109.
2021-12-15 19:52:36 +01:00
Máté Kocsis
d231ec9e7d
Generate ext/oci8 class synopses from stubs
Closes GH-1105.
2021-12-15 19:01:20 +01:00
Máté Kocsis
cd46fa89d3
Generate php_user_filter class synopsis from stubs
Closes GH-1116.
2021-12-15 18:59:39 +01:00
Máté Kocsis
591a6aa1de
Display SessionUpdateTimestampHandlerInterface as an interface rather than a class
Closes GH-1107.
2021-12-15 18:33:43 +01:00
Máté Kocsis
4eb60e8132
[skip-revcheck] Generate ext/session class synopses from stubs 2021-12-15 18:32:56 +01:00
Thomas Landauer
1f7c271286
Document that enum cases are labels
Closes GH-1197.
2021-12-15 18:21:33 +01:00
Máté Kocsis
fbfbffff6b
Generate ext/gmp class synopses from stubs
Closes GH-1113.
2021-12-15 18:11:42 +01:00
Kai Wei
5eb55cda5c
Errors/Exceptions missing for chmod()
Closes GH-1203.
2021-12-15 17:39:37 +01:00
Tor Edvardsson
de14580fb3
Documentation for net_get_interfaces()
Co-authored-by: George Peter Banyard <girgias@php.net>
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-847.
2021-12-15 17:33:34 +01:00
Christoph M. Becker
afbe8ad5ba
Fix GH-1205: Multiple undocumented BC in DOM extension 2021-12-15 12:52:26 +01:00
Jeremy Mikola
d120d37cc9
BSON classes and CursorId implement Stringable
https://jira.mongodb.org/browse/PHPC-2007
2021-12-14 14:10:00 -05:00
Jeremy Mikola
dcfdf315b4
KMIP KMS provider and KMS TLS options
https://jira.mongodb.org/browse/PHPC-1912
https://jira.mongodb.org/browse/PHPC-2009
2021-12-14 13:54:44 -05:00
Jeremy Mikola
8502e6a26a
Add Binary::TYPE_COLUMN constant and update changelog
https://jira.mongodb.org/browse/PHPC-1942
https://jira.mongodb.org/browse/PHPC-1499
2021-12-14 13:51:25 -05:00
Dan
c36ce0b514
[8.0] Document remaining core changes
* document changes to `new` in php 8.0

* document php 8.0 changes for `instanceof`

* document php 8.0 change to `define`

Co-authored-by: Peter Cowburn <petercowburn@gmail.com>

Closes GH-1155.
2021-12-14 18:34:40 +01:00
Kamil Tekiela
5dfba3d91f
Add more implode examples
Closes GH-1195.
2021-12-13 14:07:29 +01:00
Tyson Andre
917c06eac8
Update runkit7 function documentation, names
Closes GH-1194.
2021-12-12 16:17:01 +01:00