Jakub Zelenka
87d151824d
Document gnupg_listsignatures
2022-03-31 20:48:26 +01:00
Jakub Zelenka
1ea36ad22a
Document gnupg_gettrustlist
2022-03-31 20:48:00 +01:00
Jakub Zelenka
91db48f3b3
Document gnupg_deletekey
2022-03-31 20:47:27 +01:00
Sergey Panteleev
6330e4d731
Add examples for string functions ( #1477 )
2022-03-31 10:41:58 -05:00
Sergey Panteleev
58c419eb2e
[PHP 8.1] Add pcntl_rfork description ( #1033 )
2022-03-31 10:41:26 -05:00
Michael Diodone
432e2731ee
Fix listing of unimplemented DOM methods
...
`DOMNamedNodeMap::removeNamedItem` is listed twice and I suspect the one after `DOMNamedNodeMap::setNamedItemNS` was meant to be `DOMNamedNodeMap::removeNamedItemNS` instead.
Closes GH-1491.
2022-03-31 16:07:03 +02:00
Máté Kocsis
72d156e206
Sync DirectoryIterator method return types ( #1293 )
2022-03-31 08:34:47 +02:00
Kévin Dunglas
15247c75e1
False isn't allowed for substr()'s $length ( #984 )
2022-03-30 16:37:31 -05:00
沈唁
431616624d
Fix array_combine throws ValueError since PHP 8 ( #850 )
2022-03-30 16:33:13 -05:00
Sergey Panteleev
08498c3bd3
[PHP 8.1] Use named arguments after unpacking ( #1329 )
2022-03-30 15:35:44 -05:00
Sergey Panteleev
fe35f4a173
[PHP 8.1] Add IntlDatePatternGenerator description ( #1026 )
...
* [PHP 8.1] Add IntlDatePatternGenerator description
2022-03-30 15:33:06 -05:00
Sergey Panteleev
18b39f03ef
[PHP 8.1] New in initializers ( #1327 )
...
* [PHP 8.1] New in initializers
2022-03-30 15:13:41 -05:00
Martin Samesch
48754af1a1
Fix return type (int → bool) ( #1359 )
...
* Fix return type (int → bool)
Mentioned in doc-de #67 by Daijobou (thanks).
Changelog entry?
* added changelog (thanks saundefined)
* Section returnvalues adjusted
* Forgot to adjust description.
* Update reference/imagick/imagick/getimagealphachannel.xml
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
* Correct purpose
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2022-03-29 20:15:14 +00:00
Kamil Tekiela
ab58951f68
Remove &warn.undocumented.func; from Reflection
...
Removed from all the places where it wasn't stricly necessary.
Closes GH-1217.
2022-03-29 16:49:06 +02:00
Theodore Brown
4a07033f7a
Improve description of empty
return value
...
Previously it was written from the negative perspective, which was confusing to understand.
Closes GH-1430.
2022-03-29 15:21:54 +02:00
George Peter Banyard
33e5f4ef72
Fix constructorsynopsis usage in EV extension
...
Also drop return value section
Closes GH-1465.
2022-03-29 15:20:32 +02:00
Christoph M. Becker
e98c8aea66
Fix GH-1462: passthru() returnvalue section incorrect
2022-03-29 15:05:31 +02:00
Jakub Zelenka
7b935b2820
Update OpenSSL requirements
2022-03-28 19:54:44 +01:00
Sammy
210b5020c0
Add trailing semicolon to getDocComment
...
Although this is valid PHP, other functions' examples in the class (e.g. `getDefaultProperties` and `getConstructor`) contain this trailing semicolon.
Fixes GH-1432
Closes GH-1486.
2022-03-28 14:09:48 +02:00
Jakub Zelenka
615dc682cf
Document FPM pm.max_spawn_rate configuration directive
2022-03-27 21:54:13 +01:00
Jakub Zelenka
aa4b1bf316
Document FPM pm.status_listen configuration directive
2022-03-27 21:49:51 +01:00
Jakub Zelenka
137a90008a
Document FPM request_terminate_timeout_track_finished configuration directive
2022-03-27 21:42:13 +01:00
Jakub Zelenka
963a572c55
Document FPM apparmor_hat configuration directive
2022-03-27 20:25:26 +01:00
Jakub Zelenka
b3b678f37f
Document FPM request_slowlog_trace_depth configuration directive
2022-03-27 20:12:43 +01:00
colshrapnel
e1cbbb434a
Fix the return value description
...
The comment in the source code [goes](04a4864b65/ext/pdo/pdo_stmt.c (L1152)
) as "if there are no more rows" and doesn't mention any failure.
Closes GH-1480.
2022-03-25 11:23:54 +01:00
Jordi Boggiano
266f9f6b4b
Fix sqlsrv_rows_affected/db2_num_fields return type
...
Closes GH-1479.
2022-03-25 10:34:39 +01:00
Anton
2e7c5de96f
Fix "see also" for ReflectionFunction::__toString ( #1473 )
2022-03-21 15:12:38 +00:00
Kamil Tekiela
59af09939a
Remove double parentheses in assert
2022-03-20 21:21:08 +00:00
Bradley Taylor
883d2fe5cb
assert() no longer evaluates strings as of PHP 8.0.0
...
As per the PHP changelog, the functionality to use a string for `assert` has been removed in PHP 8.0: 69888c3ff1/UPGRADING (L350-L354)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Closes GH-1471.
2022-03-20 11:59:40 +01:00
Christoph M. Becker
443531f6c6
Fix GH-1467: SplObjectStorage::removeAll does not return the number of removed objects
2022-03-18 11:03:15 +01:00
George Peter Banyard
5c8ec52976
Add missing return value sections for SNMP functions
...
Also fix the return value for others at the same time
2022-03-16 22:00:21 +00:00
George Peter Banyard
ecaa214642
Fix de/constructor synopsis tag usage ( #1457 )
...
In Solr, Stomp, Yaf.
Also include constructor and destructor in StreamWrapper interface synopsis
2022-03-15 16:36:11 +00:00
沈唁
3ec1a6204f
Fix 5th param name description for odbc_foreignkeys() ( #1461 )
2022-03-14 14:25:05 +00:00
Christoph M. Becker
cc1ac298e0
Fix GH-1460: p format character only available as of PHP 8.0.0
2022-03-14 10:32:36 +01:00
Sergey Panteleev
d7c1097cca
Add pcntl_unshare
description ( #958 )
...
* Add pcntl_unshare description
* Group pcntl constants
2022-03-13 23:55:35 +00:00
Matthieu Marcillaud
db43b3844a
Fix Phar methods which still exist in PHP 8. ( #1405 )
...
PharData::__construct
PharData::__destruct
PharFileInfo::compress
PharFileInfo::decompress
Closes Issue #1403
2022-03-13 23:50:44 +00:00
George Peter Banyard
41f8ef5540
Fix inconsistent section orders
2022-03-13 22:37:42 +00:00
Kamil Tekiela
104bc5c203
Modernize examples on connect_error & connect_errno ( #1454 )
2022-03-13 19:54:44 +00:00
George Peter Banyard
e9df25bfee
Revert "Fix de/constructor synopsis tag usage" commits.
...
Turns out this is not as easy as I thought >_>
2022-03-13 18:41:35 +00:00
George Peter Banyard
0c590ae06f
Fix de/constructor synopsis tag usage in Yaf docs
2022-03-13 18:28:49 +00:00
George Peter Banyard
9b32722fca
Fix de/constructor synopsis tag usage in Stomp docs
2022-03-13 18:24:22 +00:00
George Peter Banyard
002cf0e30e
Fix de/constructor synopsis tag usage in Stream docs
2022-03-13 18:22:00 +00:00
George Peter Banyard
dd2701db49
Fix de/constructor synopsis tag suage in SOLR docs
2022-03-13 18:20:53 +00:00
George Peter Banyard
a916b9bd3d
Fix method aliases in Event class ( #687 )
...
This also fixes the alias detection for the section order script
2022-03-13 18:11:31 +00:00
Christoph M. Becker
c55dde8f54
WebPI is (in the process of being) discontinued
...
Thus, it doesn't make sense to recommend this tool. To my knowledge,
there is no alternative now to setting up IIS and PHP manually, what is
already described elsewhere in the install book.
Cf. <https://blogs.iis.net/iisteam/web-platform-installer-end-of-support-feed >.
2022-03-11 16:01:57 +01:00
Juliette
03bb26ae70
PHP 8.1 | Update hash_algos() documentation
...
> **MurmurHash3**
>
> Added support for MurmurHash3 with streaming support. The following variants are implemented:
> * murmur3a, 32-bit hash
> * murmur3c, 128-bit hash for x86
> * murmur3f, 128-bit hash for x64
>
> **xxHash**
>
> Added support for xxHash. The following variants are implemented:
> * xxh32, 32-bit hash
> * xxh64, 64-bit hash
> * xxh3, 64-bit hash
> * xxh128, 128-bit hash
Refs:
* https://www.php.net/manual/en/migration81.new-features.php#migration81.new-features.hash.murmurhash3
* https://github.com/php/php-src/pull/6059
* 72e91e9fc8
* https://www.php.net/manual/en/migration81.new-features.php#migration81.new-features.hash.xxhash
* https://github.com/php/php-src/pull/6524
* 23590f7c53
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
Closes GH-1451.
2022-03-11 14:20:23 +01:00
Juliette
553fabc18a
PHP 8.1 | MigrationGuide/New classes: add missing classes
...
> Added `CURLStringFile`, which can be used to post a file from a string rather than a file
Refs:
* f67986a921/UPGRADING (L231-L235)
* https://github.com/php/php-src/pull/6456
* e727919b97
As part of the Fibers RFC/PR, the Reflection extension also received a new class.
* https://wiki.php.net/rfc/fibers
* https://github.com/php/php-src/pull/6875
* c276c16b66
Note: I've not listed the `Fiber` and `FiberError` classes as those could be considered covered via the mention of Fibers on the "New Features" page, though happy to update the commit if so desired.
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
Closes GH-1447.
2022-03-11 12:59:52 +01:00
Juliette
fa107f441b
PHP 8.1 | MigrationGuide/New functions: add missing functions
...
* PHP 8.1 | MigrationGuide/New functions: add missing functions [1]
(mentioned in new features, but not in the new functions list)
> GD:
> * Avif support is now available through the `imagecreatefromavif()` and
> `imageavif()` functions, if libgd has been built with avif support.
Refs:
* f67986a921/UPGRADING (L245-L247)
* https://github.com/php/php-src/pull/7026
* 81f6d36c90
* PHP 8.1 | MigrationGuide/New functions: add missing functions [2]
(mentioned in new features, but not in the new functions list)
> `mysqli_result::fetch_column()` has been added to allow fetching a single scalar value from the result set.
While only the method is mentioned in the RFC and the Migration guide, a procedural version of the same was also implemented.
Refs:
* https://www.php.net/manual/en/migration81.new-features.php#migration81.new-features.mysqli.mysqli_fetch_column
* https://wiki.php.net/rfc/mysqli_fetch_column
* https://github.com/php/php-src/pull/6798
* 54222a6fe4
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
Closes GH-1448.
2022-03-11 10:59:10 +01:00
Juliette
5530a3afb4
PHP 8.1 | MigrationGuide/New constants: add missing constants
...
* PHP 8.1 | MigrationGuide/New constants: add missing constants [1]
> * Added CURLOPT_DOH_URL option
> * Added certificate blob options when for libcurl >= 7.71.0:
>
> CURLOPT_ISSUERCERT_BLOB
> CURLOPT_PROXY_ISSUERCERT
> CURLOPT_PROXY_ISSUERCERT_BLOB
> CURLOPT_PROXY_SSLCERT_BLOB
> CURLOPT_PROXY_SSLKEY_BLOB
> CURLOPT_SSLCERT_BLOB
> CURLOPT_SSLKEY_BLOB
Refs:
* f67986a921/UPGRADING (L220-L229)
* https://github.com/php/php-src/pull/6612
* 3dad63b5b2
* https://github.com/php/php-src/pull/7194
* b11785c5e4
* PHP 8.1 | MigrationGuide/New constants: add missing constants [2]
> GD:
> * Avif support is now available through the `imagecreatefromavif()` and
> `imageavif()` functions, if libgd has been built with avif support.
While not mentioned in the changelog entry, the commit to PHP does contain a new constant declaration...
Refs:
* f67986a921/UPGRADING (L245-L247)
* https://github.com/php/php-src/pull/7026
* 81f6d36c90 (diff-00d1efef2247b288c86a6c3bfefac111a4774fbc5453fdc02dcf36c4a23da283R373)
> GD:
> * `imagewebp()` can do lossless WebP encoding by passing `IMG_WEBP_LOSSLESS` as
> quality. This constant is only defined, if a libgd is used which supports
> lossless WebP encoding.
Refs:
* 3a71fcf5ca/UPGRADING (L568-L571)
* https://github.com/php/php-src/pull/7348
* eb6c9eb936
* PHP 8.1 | MigrationGuide/New constants: add missing constants [3]
> Added `POSIX_RLIMIT_KQUEUES` and `POSIX_RLIMIT_NPTS`. These rlimits are only available on FreeBSD.
Refs:
* https://www.php.net/manual/en/migration81.new-features.php#migration81.new-features.posix
* https://github.com/php/php-src/pull/6608
* ebca8deaaf
* PHP 8.1 | MigrationGuide/New constants: add missing constants [4]
Refs:
* https://wiki.php.net/rfc/readonly_properties_v2
* https://github.com/php/php-src/pull/7089
* 6780aaa532
* PHP 8.1 | MigrationGuide/New constants: add missing constants [5]
While not mentioned anywhere at all, the commit to PHP itself adding support for the Sodium xchacha* functions, does declare a couple of new constants as well...
Refs:
* https://github.com/php/php-src/pull/6868
* f7f1f7fce2 (diff-3fe4027560fd299248af1dc1efe04287cc2b6418e8f01755c05c9db64b668b1eR352-R357)
While not mentioned anywhere at all, the commit to PHP itself adding support for the Sodium ristretto255* functions, also declares a number of new constants as well...
Refs:
* https://github.com/php/php-src/pull/6922
* 9b794f8e5e (diff-3fe4027560fd299248af1dc1efe04287cc2b6418e8f01755c05c9db64b668b1eR368-R381)
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
Closes GH-1449.
2022-03-11 10:57:07 +01:00
Juliette
7d6c8735cc
PHP 8.1 | MigrationGuide/Deprecated: add missing function
...
> GD:
> The `$num_points` parameter of `image(open|filled)polygon` has been deprecated.
Refs:
* f67986a921/UPGRADING (L397-L398)
* https://github.com/php/php-src/pull/6789
* e1285c4aa5
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
Closes GH-1450.
2022-03-11 10:43:37 +01:00