php / doc-en

English PHP documentation
509 stars 740 forks source link

PHP 8.2 documentation tracker #1803

Closed Girgias closed 1 month ago

Girgias commented 2 years ago

Pages which need to be added/modified for complete documentation of PHP 8.2:

Based of the migration guide: https://www.php.net/manual/en/migration82.php (https://github.com/php/doc-en/pull/1799)

Note This issue is still a Work In Progress

Core

Classes:

Functions/Methods:

Constants:

mumumu commented 2 years ago

Added Classes: entry for Random Extention 5.0 RFC related PR (https://github.com/php/php-src/pull/8094).

saundefined commented 2 years ago

SplFileInfo::_bad_state_ex()

Didn't see any references in the documentation 👀

cmb69 commented 2 years ago

@saundefined, SplFileInfo::_bad_state_ex() is undocumented so far.

llaville commented 2 years ago

**SKFAD*** constants available since 8.2.0alpha2 (see https://github.com/php/php-src/blob/php-8.2.0alpha2/ext/sockets/sockets.c#L575-L628) are missing in Sockets list

Come from commit https://github.com/php/php-src/commit/d677cc13ce9b23fdfacd812483d940fd3393b51c

devnexen commented 2 years ago

good call @llaville, I ll add them in the existing PR.

kenjis commented 2 years ago

The return value of DateTime::getLastErrors() may change. See https://github.com/php/php-src/issues/9431#issuecomment-1230316507

TysonAndre commented 2 years ago

https://wiki.php.net/rfc/strtolower-ascii PHP RFC: Locale-independent case conversion should be added for the functions in https://wiki.php.net/rfc/strtolower-ascii#proposal

tstarling commented 2 years ago

Can't edit description; I made #1933 for libxml_get_external_entity_loader().

[edit] Doc updates for my case conversion RFC are at #1934.

KapitanOczywisty commented 1 year ago

Modifier /n (NO_AUTO_CAPTURE) is missing in documentation: https://github.com/php/doc-en/blob/master/reference/pcre/pattern.modifiers.xml

https://www.php.net/manual/en/migration82.new-features.php#migration82.new-features.pcre https://php.watch/versions/8.2/preg-n-no-capture-modifier

jonathanpoelen commented 1 year ago

SKF_* constants are missing in migration page https://www.php.net/manual/en/migration82.constants.php#migration82.constants.sockets, but documented https://www.php.net/manual/en/sockets.constants.php#constant.socket-skfadoff

jonathanpoelen commented 1 year ago

CURLINFO_EFFECTIVE_METHOD constant is missing in documentation: https://www.php.net/manual/en/curl.constants.php

https://www.php.net/manual/en/migration82.new-features.php#migration82.new-features.curl

ekinhbayar commented 1 year ago

with PR #1911 already merged and looking at the latest curl docs, all of the curl constants listed on this tracker can be marked as completed. I did notice that while PR #1540 documented CURLOPT_XFERINFOFUNCTION, it is missing from the predefined constants page.

Girgias commented 1 month ago

Finally, all the items have been completed.

Thanks to everyone that was involved!