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
Kim Hallberg
2b5457cc2d
Fix CURLFile multiple files examples ( #1446 )
2022-03-11 10:18:34 +08:00
Jakub Zelenka
317a816da5
Fix definition of FPM listen.backlog configuration
2022-03-09 21:23:04 +00:00
Martin Samesch
e67f3f3092
typo/wording
2022-03-09 14:39:15 +01:00
Juliette
971e603c5d
GH Actions: version update for various predefined actions
...
A number of predefined actions have had major release, which warrant an update the workflow(s).
These updates don't actually contain any changed functionality, they are mostly just a change of the Node version used by the action itself (from Node 14 to Node 16).
Refs:
* https://github.com/actions/checkout/releases
* https://github.com/actions/upload-artifact/releases
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
Closes GH-1442.
2022-03-07 11:59:28 +01:00
Jeremy Mikola
930b6389f9
Fix id for TopologyDescription::TYPE_LOAD_BALANCED
...
Fixes a build failure from bd6e6603b4
2022-03-03 17:18:34 -05:00
Jeremy Mikola
bd6e6603b4
SDAM monitoring classes and server/topology descriptions
...
https://jira.mongodb.org/browse/PHPC-1150
2022-03-03 17:15:48 -05:00
Christoph M. Becker
b5275f7e82
Fix GH-1440: Mention that named arguments can't be used with empty()
2022-03-03 17:52:20 +01:00
Christoph M. Becker
ace6b151ca
Fix GH-1437: Missing return type false for apcu_sma_info() in description
2022-03-03 11:05:07 +01:00
Christoph M. Becker
e8c83816e0
array_map() maps values, not indexes
...
Cf. <https://news-web.php.net/php.doc/969388082 >.
2022-03-02 13:22:41 +01:00
Jordi Boggiano
ddce0c4643
Add default value to setFetchMode's $constructorArgs with FETCH_CLASS
...
Closes GH-1436.
2022-03-02 10:48:19 +01:00
Jeremy Mikola
fbe040bfc2
Document "srvMaxHosts" and "srvServiceName" URI options
...
https://jira.mongodb.org/browse/PHPC-1900
https://jira.mongodb.org/browse/PHPC-1908
2022-03-01 20:22:55 -05:00
Jeremy Mikola
d5127e7728
Document MongoDB\Driver\Session::isDirty()
...
https://jira.mongodb.org/browse/PHPC-2003
2022-03-01 20:16:55 -05:00
Jakub Zelenka
557f8ed419
Fix incorrect default value for FPM listen.allowed_clients
2022-03-01 22:22:04 +00:00
Christoph M. Becker
4e19b91a19
Fix cols of reserved keywords table
...
The table of reserved keywords obviously has four columns, and this
should be reflected by the `col` attribute (although that is apparently
ignored by PhD for now). We also specify four columns for the table of
soft reserved words.
2022-03-01 10:46:26 +01:00
Juliette
a6a4d6ad6e
PHP 8.1 | Other reserved words: add never
...
Similar to PR 938 for the PHP 8.0 `mixed` reserved word, this commit adds the new reserved word `never` to the list of "Other reserved words" and adds a mention of this to the Backward Incompatible Changes page in the migration guide.
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
Closes GH-1434.
2022-03-01 10:28:24 +01:00
Sergey Panteleev
10717d8226
[skip-revcheck] Fix typo
2022-03-01 10:52:24 +03:00
Jakub Zelenka
fab4ea95f4
FPM Status Page ( #1420 )
...
* Documentation for the FPM status page and fpm_get_status()
* FPM status page: Update date/time format documentation
* FPM status page: Add information on openmetrics format (PHP 8.1+)
* Fix fpm_get_status referencing file name
* Update FPM status page documentation
* Move FPM status configuration to section
* Improve FPM Status Page formatting and move it under Observability
* Improve FPM status CS
Co-authored-by: AllenJB <github@allenjb.me.uk>
2022-02-28 21:56:30 +00:00
Christoph M. Becker
f12b401043
Fix GH-1397: autounlock parameter in constructor is actually int not bool
2022-02-28 14:44:34 +01:00
Christoph M. Becker
d5ba7eb2cd
Fix GH-1398: PDO::pgsqlGetNotify inconsistent return type
2022-02-28 14:39:36 +01:00
Christoph M. Becker
91da56315c
Fix GH-1402: PHP 8.* ZTS wrong compilation flag for Linux
2022-02-28 14:34:15 +01:00