Pages which need to be added/modified for complete documentation of PHP 8.0: Based of the migration guide: https://www.php.net/manual/en/migration80.php (formally php/doc-en#170) ## Core: - [x] New features: - [x] Type declarations (https://github.com/php/doc-en/pull/174) - [x] Union types - [x] mixed - [x] static return - [x] Constructor Promotion (https://github.com/php/doc-en/pull/188) - [x] match expressions (https://github.com/php/doc-en/pull/206) - [x] UnhandledMatchError - [x] Named arguments allow passing arguments to a function based on the parameter name, rather than the parameter position. (https://github.com/php/doc-en/pull/251) - [x] Attributes (https://github.com/php/doc-en/pull/254) - [x] Null-safe operator (https://github.com/php/doc-en/pull/244) - [x] Stringable interface (https://github.com/php/doc-en/pull/478) - [x] WeakMap (core) (https://github.com/php/doc-en/pull/479) - [x] $object::class (https://github.com/php/doc-en/pull/239) - [x] Catch without variable (https://github.com/php/doc-en/pull/238) - [x] traits can now have abstract private methods and they are validated against the implementation provided in the using class, according to our usual inheritance rules. (https://github.com/php/doc-en/pull/476) - [x] ValueError (https://github.com/php/doc-en/pull/205) - [x] DateTime format specifier `p` (https://github.com/php/doc-en/pull/230) - [x] Modified features: - [x] throw expression (https://github.com/php/doc-en/pull/238) - [x] &new; and &instanceof; can now be used with arbitrary expressions - [x] trailing commas in parameter lists (https://github.com/php/doc-en/pull/241) - [x] private methods do not enforce inheritance rules on child classes any more (except __construct) (https://github.com/php/doc-en/pull/481) - [x] Numeric strings (https://github.com/php/doc-en/pull/215) - [x] Comparison - [x] When a string is considered numeric - [x] Float to string conversion (https://github.com/php/doc-en/pull/215) - [x] Operator precedence - [x] Concatenation (011596bcff82477d121de738e6cf83bd2b13bb40) - [x] Deprecated - [x] Optional args after mandatory ones (https://github.com/php/doc-en/pull/251, https://github.com/php/doc-en/pull/270) - [x] The ability to define case-insensitive constants has been removed. The third argument to define() may no longer be true. ## Classes - [x] New classes - [x] Tokenizer: PhpToken (https://github.com/php/doc-en/pull/272) - [x] DOM - [x] DOMParentNode (#1025) - [x] DOMChildNode (#1025) - [x] Resource to Opaque Object conversions: - [x] `CurlHandle` (https://github.com/php/doc-en/commit/5f8047c12b4078a6f686b2b0589e9284c47bf155) - [x] `CurlMultiHandle` (https://github.com/php/doc-en/commit/5f8047c12b4078a6f686b2b0589e9284c47bf155) - [x] `CurlShareHandle` (https://github.com/php/doc-en/commit/5f8047c12b4078a6f686b2b0589e9284c47bf155) - [x] `EnchantBroker` (https://github.com/php/doc-en/commit/5f8047c12b4078a6f686b2b0589e9284c47bf155) - [x] `EnchantDictionary` (https://github.com/php/doc-en/commit/5f8047c12b4078a6f686b2b0589e9284c47bf155) - [x] `GdImage` (https://github.com/php/doc-en/commit/5f8047c12b4078a6f686b2b0589e9284c47bf155) - [x] `OpenSSLCertificate` (https://github.com/php/doc-en/commit/5f8047c12b4078a6f686b2b0589e9284c47bf155) - [x] `OpenSSLCertificateSigningRequest` (https://github.com/php/doc-en/commit/5f8047c12b4078a6f686b2b0589e9284c47bf155) - [x] `OpenSSLAsymmetricKey` (https://github.com/php/doc-en/commit/5f8047c12b4078a6f686b2b0589e9284c47bf155) - [x] `Shmop` (https://github.com/php/doc-en/commit/5f8047c12b4078a6f686b2b0589e9284c47bf155) - [x] `Socket` (https://github.com/php/doc-en/commit/5f8047c12b4078a6f686b2b0589e9284c47bf155) - [x] `AddressInfo` (https://github.com/php/doc-en/commit/5f8047c12b4078a6f686b2b0589e9284c47bf155) - [x] `SysvMessageQueue` (#1020) - [x] `SysvSemaphore` (#1020) - [x] `SysvSharedMemory` (#1020) - [x] `XmlParser` (https://github.com/php/doc-en/commit/5f8047c12b4078a6f686b2b0589e9284c47bf155) - [x] `XMLWriter` (https://github.com/php/doc-en/commit/c31630ca23d219c758a8b580e1d583103e97e377) - [x] `InflateContext` (https://github.com/php/doc-en/commit/5f8047c12b4078a6f686b2b0589e9284c47bf155) - [x] `DeflateContext` (https://github.com/php/doc-en/commit/5f8047c12b4078a6f686b2b0589e9284c47bf155) - [x] Renamed classes (https://github.com/php/doc-en/pull/246) - [x] `OCI-Lob` to `OCILob` - [x] `OCI-Collection` to `OCICollection` ## Functions/Methods: - [x] New functions - [x] Standard - [x] `fdiv()` (https://github.com/php/doc-en/pull/258) - [x] `get_debug_type()` (https://github.com/php/doc-en/pull/591) - [x] `get_resource_id()` (https://github.com/php/doc-en/pull/227) - [x] `str_contains()` (https://github.com/php/doc-en/pull/216) - [x] `str_start_with()` (https://github.com/php/doc-en/pull/217) - [x] `str_ends_with()` (https://github.com/php/doc-en/pull/217) - [x] Date and Time - [x] `DateTime::createFromInterface()` (https://github.com/php/doc-en/pull/257) - [x] `DateTimeImmutable::createFromInterface()` (https://github.com/php/doc-en/pull/257) - [x] GD - [x] `imagegetinterpolation()` (https://github.com/php/doc-en/commit/0ebd26c45ca444f08665c8b941f8647970ae5f8a) - [x] LDAP - [x] `ldap_count_references()` (#733) - [x] OpenSSL (https://github.com/php/doc-en/commit/ad0175ba440b2cb9f22eefc2ca756b885ed79d35) - [x] `openssl_cms_encrypt()` - [x] `openssl_cms_decrypt()` - [x] `openssl_cms_read()` - [x] `openssl_cms_sign()` - [x] `openssl_cms_verify()` - [x] ZIP - [x] `ZipArchive::setProgressCallback()` (https://github.com/php/doc-en/pull/228) - [x] `ZipArchive::setCancelCallback()` (https://github.com/php/doc-en/pull/228) - [x] Modified functions - [x] `printf` and friends (https://github.com/php/doc-en/pull/268) - [x] `imagepolygon` and friends (https://github.com/php/doc-en/commit/de8b75ccb611a97e67ac91ff51c4435b128656f2) - [x] Deprecated - [x] PGSQL aliases (https://github.com/php/doc-en/commit/7a81e2b77d85a029d033f87d8ad306efb508a16f) - [x] Enchant (https://github.com/php/doc-en/commit/94f2c273f0bb214580b3cba17273f79e8cc2cb25) - [x] `enchant_broker_set_dict_path()` - [x] `enchant_broker_get_dict_path()` - [x] `enchant_dict_add_to_personal()` - [x] `enchant_broker_free()` - [x] `libxml_disable_entity_loader()` - [x] Procedural ZIP API (https://github.com/php/doc-en/commit/e7278889420140e0af5df90efe9f1cb63eb63842) - [x] Reflection - [x] `ReflectionFunction::isDisabled()` - [x] `ReflectionParameter::getClass()` - [x] `ReflectionParameter::isArray()` - [x] `ReflectionParameter::isCallable()` ## Constants: - [x] New - [x] Filter - [x] FILTER_VALIDATE_BOOL (https://github.com/php/doc-en/pull/676) - [x] Intl - [x] IntlDateFormatter::RELATIVE_FULL (https://github.com/php/doc-en/pull/267) - [x] IntlDateFormatter::RELATIVE_LONG (https://github.com/php/doc-en/pull/267) - [x] IntlDateFormatter::RELATIVE_MEDIUM (https://github.com/php/doc-en/pull/267) - [x] IntlDateFormatter::RELATIVE_SHORT (https://github.com/php/doc-en/pull/267) - [x] Reflection (https://github.com/php/doc-en/commit/98df2cf9a939729d73adee1484ec05929c74c98b) - [x] ReflectionClassConstant::IS_PUBLIC - [x] ReflectionClassConstant::IS_PROTECTED - [x] ReflectionClassConstant::IS_PRIVATE - [x] OpenSSL (https://github.com/php/doc-en/commit/1ae5ae975a3b0cf1e1e64401b24010511b6dba4d) - [x] ` OPENSSL_ENCODING_DER` - [x] `OPENSSL_ENCODING_SMIME` - [x] `OPENSSL_ENCODING_PEM` - [x] Deprecated - [x] Enchant (https://github.com/php/doc-en/commit/94f2c273f0bb214580b3cba17273f79e8cc2cb25) - [x] `ENCHANT_MYSPELL` - [x] `ENCHANT_ISPELL` - [x] PGSQL_LIBPQ_VERSION_STR (https://github.com/php/doc-en/commit/fa7cb182a0ef04a3ecef2f9a0d6ae99e77201330)
Pages which need to be added/modified for complete documentation of PHP 8.0:
Based of the migration guide: https://www.php.net/manual/en/migration80.php (formally #170)
Core:
p(Document p date formatter code. #230)Classes
CurlHandle(5f8047c)CurlMultiHandle(5f8047c)CurlShareHandle(5f8047c)EnchantBroker(5f8047c)EnchantDictionary(5f8047c)GdImage(5f8047c)OpenSSLCertificate(5f8047c)OpenSSLCertificateSigningRequest(5f8047c)OpenSSLAsymmetricKey(5f8047c)Shmop(5f8047c)Socket(5f8047c)AddressInfo(5f8047c)SysvMessageQueue([PHP 8.0] Add Semaphore opaque classes #1020)SysvSemaphore([PHP 8.0] Add Semaphore opaque classes #1020)SysvSharedMemory([PHP 8.0] Add Semaphore opaque classes #1020)XmlParser(5f8047c)XMLWriter(c31630c)InflateContext(5f8047c)DeflateContext(5f8047c)OCI-LobtoOCILobOCI-CollectiontoOCICollectionFunctions/Methods:
fdiv()(Add fdiv() #258)get_debug_type()(Help page for get_debug_type #591)get_resource_id()(Added documentation for the get_resource_id function #227)str_contains()(Added documentation for the str_contains #216)str_start_with()(Documentation for str_starts_with and str_ends_with #217)str_ends_with()(Documentation for str_starts_with and str_ends_with #217)DateTime::createFromInterface()(Add createFromInterface() for DateTime objects. #257)DateTimeImmutable::createFromInterface()(Add createFromInterface() for DateTime objects. #257)imagegetinterpolation()(0ebd26c)ldap_count_references()(Fix ldap functions description #733)openssl_cms_encrypt()openssl_cms_decrypt()openssl_cms_read()openssl_cms_sign()openssl_cms_verify()ZipArchive::setProgressCallback()(rename misspelled methods #228)ZipArchive::setCancelCallback()(rename misspelled methods #228)printfand friends (Add new string format codes. #268)imagepolygonand friends (de8b75c)enchant_broker_set_dict_path()enchant_broker_get_dict_path()enchant_dict_add_to_personal()enchant_broker_free()libxml_disable_entity_loader()ReflectionFunction::isDisabled()ReflectionParameter::getClass()ReflectionParameter::isArray()ReflectionParameter::isCallable()Constants:
OPENSSL_ENCODING_DEROPENSSL_ENCODING_SMIMEOPENSSL_ENCODING_PEMENCHANT_MYSPELLENCHANT_ISPELL