Introduction
- Headline features
Constructor Property Promotion
- Valuing your data
Just-In Time-compilation
- Some background
- Just in Time
- The PHP JIT
- How to configure the JIT
- Will it help?
Attributes
- A history of change
- Getting meta
- A practical example
- Coming soon to a framework near you
- Promoted arguments
- Native attributes
- A long list of credits
Named arguments
- Named parameters
- Named variadics
- Limitations
- But … why?
- Arguments in attributes
- Named arguments about arguments
- API implications
- Feature improvements
Union types
- Specialty unions
The Stringable interface
match() expressions
Trailing commas in function definitions and closures
Weak Maps
New string functions
Token objects
Variable dereferencing
Type-respecting variadics
Safe division
Class and object improvements
- Object class constant
- Static return types
- Private inheritance
- Trait method validation
Date and time handling
pdate formatterDateTimeInterface::createFromInterface()- New formatting options for Intl extension
Locale improvements
- Locale-independent float casting
- New
printf()formatting codes
Error handling improvements
throwexpressions- Non-capturing
catch get_debug_type()- PDO error handling
- Regex errors
- Thrown trace string length
ValueError
CMS support
- Changes and backward compatibility challenges
Stable sorting
Numeric string handling
Non-numeric Arithmetic
Extensions in, extensions out
Stricter magic
Stricter warnings and errors
Resource evolution and devolution
get_resource_id()- PHP 8 on Platform.sh
Starting with Platform.sh
- Create a free trial
- Create a project
- A brief tour of the console
- All set
Install the CLI
- Prerequisites
- Installation
Configuration
- Service configuration
- Application configuration
- Route configuration
Upgrading PHP
- Check out the project
- Make a branch
- Upgrade PHP
- Review and Merge
Local development with Lando
- Installation
- Using Lando
