PHP
What's new in PHP 8.1
phpDay 2021
Virtual Verona, Italy
June 8th, 2021
Derick Rethans
derick@php.net
derickr
https://derickrethans.nl/talks/php-phpday21
slides/xdebug/title.xml
slides/mongodb/me.xml
slides/internals/php81-rms.xml
Enumerations (https://wiki.php.net/rfc/enumerations)
slides/internals/php81-enums-1.xml
slides/internals/php81-enums-2.xml
slides/internals/php81-enums-3.xml
slides/internals/php81-enums-4.xml
slides/internals/php81-enums-5.xml
slides/internals/php81-enums-6.xml
slides/internals/php81-enums-7.xml
Fibers (https://wiki.php.net/rfc/fibers)
slides/internals/php81-fibers.xml
Implemented:
Static Variables in Inherited Methods (https://wiki.php.net/rfc/static_variable_inheritance)
slides/internals/php81-static-vars.xml
Array unpacking with string keys (https://wiki.php.net/rfc/array_unpacking_string_keys)
Noreturn type (https://wiki.php.net/rfc/noreturn_type) (never)
slides/internals/php81-never-type.xml
In voting:
Final class constants (https://wiki.php.net/rfc/final_class_const)
slides/internals/php81-final-class-constants.xml
Still proposed:
New in Initialisers (https://wiki.php.net/rfc/new_in_initializers)
slides/internals/php81-new-in-initialisers.xml
slides/internals/php81-new-in-initialisers-locations.xml
Auto-capturing multi-statement closures (https://wiki.php.net/rfc/auto-capture-closure)
slides/internals/php81-auto-capture-multi-statement-closures.xml
Property Accessors (https://wiki.php.net/rfc/property_accessors)
slides/internals/php81-property-accessors.xml
slides/internals/php81-property-accessors-implicit.xml
slides/internals/php81-property-accessors-explicit.xml
slides/internals/php81-property-accessors-interface.xml
Voted in:
Add IntlDatePatternGenerator (https://wiki.php.net/rfc/intldatetimepatterngenerator)
slides/internals/php81-intl-date-pattern-generator.xml
Implemented:
Restrict $GLOBALS usage (https://wiki.php.net/rfc/restrict_globals_usage)
slides/internals/php81-restrict-globals-usage.xml
Phasing out Serializable (https://wiki.php.net/rfc/phase_out_serializable)
slides/internals/php81-serializable.xml
Deprecate passing null to non-nullable arguments of internal functions (https://wiki.php.net/rfc/deprecate_null_to_scalar_internal_arg)
slides/internals/php81-null-internal-functions.xml
Voted in:
Deprecate implicit non-integer-compatible float to int conversions (https://wiki.php.net/rfc/implicit-float-int-deprecate)
slides/internals/php81-implicit-float-conversions.xml
slides/xdebug/php81-when.xml
slides/xdebug/phpinternalsnews.xml
slides/internals/questions-new.xml
slides/xdebug/resources.xml