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
Christoph M. Becker
72f3125b6d
These config options are removed as of PHP 5.4.0
2022-02-28 13:29:43 +01:00
Christoph M. Becker
604002c979
Fix GH-1433: SplFixedArray changelog states IteratorAggregate happened in 8.1
2022-02-28 13:19:23 +01:00
Yoshinari Takaoka
68b5e2c562
mixed is a reserved word (not keyword!) as of PHP 8.0.0. ( #938 )
2022-02-28 17:10:32 +09:00
Ariel Allon
8b00eb9807
disambiguate semantics of search_value
...
The definition of `search_value` in "Parameters" is a bit ambiguous. "these values" _could_ be interpreted to mean that if an array is passed as the `$search_value`, keys of elements of `$search_value` that match _any_ of those `$array` elements will be returned.
Note, the "Description" section does not have this ambiguity as it states "that value" instead of "those values".
Closes GH-1429.
2022-02-25 12:52:44 +01:00
Steve Thomas
f93ab9943c
password_verify
is capable of verifying crypt
hashes
...
Closes GH-1424.
2022-02-22 17:15:50 +01:00
Christoph M. Becker
195fde0082
Fix GH-1421: A relic of old editing in manual page function.parse-url
2022-02-21 10:05:49 +01:00
Dan Wallis
d928235f80
Correct setting name in its description
...
Closes GH-1360
2022-02-20 18:58:03 +00:00
aleksandr-shevchenko
9b89d5c26b
Improve description of step argument to range()
...
Closes GH-1416
2022-02-20 17:17:21 +00:00
Abolfazl
424ecfb1e3
SyncSharedMemory::size() returns int
...
Closes GH-1417.
2022-02-20 10:44:41 +01:00
Rowan Tommins
0bafd5454e
Optional parameter changes in 8.1, and description improvements
...
* Document change in behaviour of misplaced optional parameters in 8.1
(see https://github.com/php/php-src/commit/afc4d67c )
* Expand and update documentation of default/optional parameters
* Fix example labels to use correctly formatted entities
* Style improvements, and a couple of extra notes.
Closes GH-1191.
2022-02-18 13:24:09 +01:00
Christoph M. Becker
554db5a3a3
Fix further xref misuse
...
Cf. <https://github.com/php/doc-en/issues/1415#issuecomment-1044334812 >.
2022-02-18 13:19:17 +01:00
Christoph M. Becker
b9043112d8
Fix GH-1415: xref not working?
2022-02-18 10:55:04 +01:00
Christoph M. Becker
14b55b8b4b
Don't use old style constructor in example
...
Closes GH-1406.
2022-02-15 13:19:43 +01:00
Christoph M. Becker
ec140c5b58
Fix GH-1410: ext/hash is no longer experimental
2022-02-15 09:53:41 +01:00
the-toster
a416cd2c01
ReflectionClass::isEnum method ( #1390 )
2022-02-14 13:58:13 -06:00
carnage
012af70e47
Should use constant time sodium_bin2hex in examples
...
Closes GH-1399.
2022-02-14 12:22:30 +01:00
Jakub Zelenka
04210d535d
Update FPM installation and intro ( #1407 )
2022-02-13 22:14:47 +00:00
魔王卷子
3a1b673c5f
Fix wrong parameter name
...
Closes GH-1404.
2022-02-13 14:34:19 +01:00
魔王卷子
f0e6ac0428
[skip-revcheck] fixed typo ( #1401 )
2022-02-12 17:08:11 +00:00
Martin Samesch
90242f8793
typo
2022-02-10 14:10:34 +01:00
Peter
560262a557
Update strlen documentation for PHP8
...
Length parameter to substr() behaves differently for PHP8+. It recognizes null as if no value was provided at all. Updated the documentation to reflect this.
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Closes GH-1219.
2022-02-10 12:53:41 +01:00