InfoQ Homepage PHP8 Content on InfoQ
Articles
RSS Feed-
PHP 8 - Arrays, Variables, Operators, Exception Handling and More
In this article, we discuss new features brought by PHP 8 related to arrays, variables, operators, and exception handling. We also discussed some trait-, class-, and function-related features. This article concludes the PHP 8 article series.
-
Article Series: PHP 8.x
PHP continues to be one of the most widely used scripting languages on the web with 77.3% of all the websites whose server-side programming language is known using it according to w3tech. PHP 8 brings many new features and other improvements, which we shall explore in this article series.
-
PHP 8 - Classes and Enums
In this article, we will review new PHP 8 features related to classes, including enums, used to specify an enumerated list of possible values for a type; the new readonly modifier for a class property, which makes the property unmodifiable after its initialization; and constructor parameter promotion, useful to assign a constructor parameter value to an object property automatically.
-
PHP 8 — Attributes, Match Expression and Other Improvements
PHP 8 is a major update to PHP that introduces several new features and performance optimizations. In this first article of the PHP 8.x Article Series, we are going to introduce a number of new features including attributes, match expression, instanceof operator, new operator, a new JIT compiler, and more.