PHP What's new in PHP 8.1 PHP UK Conference London, UK February 17th, 2022 Derick Rethans derick@php.net derickr https://derickrethans.nl/talks/php-phpuk22 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 Static Variables in Inherited Methods (https://wiki.php.net/rfc/static_variable_inheritance) slides/internals/php81-static-vars.xml Noreturn type (https://wiki.php.net/rfc/noreturn_type) (never) slides/internals/php81-never-type.xml Final class constants (https://wiki.php.net/rfc/final_class_const) slides/internals/php81-final-class-constants.xml Pure Intersection Types (https://wiki.php.net/rfc/pure-intersection-types) slides/internals/php81-pure-intersection.xml Array unpacking with string keys (https://wiki.php.net/rfc/array_unpacking_string_keys) slides/internals/php81-array-unpacking.xml 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 Readonly properties 2.0 (https://wiki.php.net/rfc/readonly_properties_v2) slides/internals/php81-readonly.xml Explicit Octal Integer Literal Notation (https://wiki.php.net/rfc/explicit_octal_notation) slides/internals/php81-octal-literal.xml Add IntlDatePatternGenerator (https://wiki.php.net/rfc/intldatetimepatterngenerator) slides/internals/php81-intl-date-pattern-generator.xml Fibers (https://wiki.php.net/rfc/fibers) slides/internals/php81-fibers.xml Peppa slides/internals/peppa.xml Add array_is_list() (https://wiki.php.net/rfc/is_list) slides/internals/php81-array-is-list.xml Change Default mysqli Error Mode (https://wiki.php.net/rfc/mysqli_default_errmode) slides/internals/php81-mysqli-error-mode.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 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 Add return type declarations for internal methods (https://wiki.php.net/rfc/internal_method_return_types) slides/internals/php81-return-type-internal.xml Other deprecations (https://wiki.php.net/rfc/deprecations_php_8_1) slides/internals/php81-deprecations.xml slides/xdebug/phpinternalsnews.xml slides/internals/questions-new.xml slides/xdebug/resources.xml