What's New in PHP 8.1
Offered By: PHP UK Conference via YouTube
Course Description
Overview
Explore the new features introduced in PHP 8.1 through this conference talk from PHP UK 2022. Dive into strengthened type systems with Enumerations and "never", discover Fibers, learn about the new closure syntax and First Class Callable Syntax, and understand intersection types. Gain a comprehensive understanding of exciting additions like static values inside functions, class constants, the splat operator in arrays, named arguments, new initializers, readonly properties, and more. Examine changes to the MySQL error mode, Exceptions, Globals, and the Serializable Interface. Investigate the impact on PHP internals and applications, and get answers to common questions about these new features.
Syllabus
Introduction
enum type
enum example
Static values inside functions
Never type
Class constants
PHP type system
Pure intersection types
splat operator in arrays
named arguments
newinitializers
new attributes
readonly
octal
intel extension
fibers
pippa
Array is list
Array is just values
mysql error mode
Exceptions
Globals
Globals Restrictions
Serializable Interface
PHP 81
No to nonnullable arguments
PHP H1
Return Types
Applications
PHP Internals
Questions
Conclusion
Taught by
PHP UK Conference
Related Courses
Software as a ServiceUniversity of California, Berkeley via Coursera Intro to Computer Science
University of Virginia via Udacity Web Development
Udacity Software Engineering for SaaS
University of California, Berkeley via Coursera CS50's Introduction to Computer Science
Harvard University via edX