InfoQ Homepage PHP Content on InfoQ
-
What's New in PHP 8.3
PHP 8.3 is the latest major update in the PHP 8.x series. In addition to performance improvements, it brings a wealth of new features, including amendments to the readonly feature introduced in PHP 8.1; explicitly-typed class constants; a new #[\Override] attribute for methods intended to be overridden from a superclass, and more.
-
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.
-
Article Series: PHP 7.x
PHP 7.x brings several improvements and new features that touch all aspects of the language, including better support for object oriented programming, extensions to classes and interfaces, improvements to the type system, error handling, and more. In this series of articles, we discuss new features across the various PHP 7.x versions.
-
PHP 7 — Improvements to Arrays, Operators, Constants, and Exception Handling
In this final article in the series on new features in PHP 7.x, we shall discuss improvements to arrays, operators, constants, and exception handling.
-
PHP 7 – Standard Library Improvements
In this article we explore improvements to functions in PHP 7, including the new array define(), returning a value from generator functions, generator delegation, and more.
-
PHP 7 — New Features for Types
In the previous two articles in this series, we explored some of the improvements introduced in PHP 7. To set the background for this article on PHP’s type system, PHP is a weakly typed language, which implies the data type of variables does not need to be declared. In this article we explore new type-related features available in PHP 7.x.
-
PHP 7 — Classes and Interfaces Improvements
In the second instalment of this article series dedicated to PHP 7, we continue our exploration of PHP 7 new features focusing on object-oriented programming support, classes, and interfaces.
-
PHP 7 — Getting Started and OOP Improvements
PHP had almost become a forgotten language, with a lapse of more than 10 years without a new major version after PHP 5.0 in 2004. PHP 7.0 is a major version with several improvements and new features which have brought it to the level of other modern languages. In this series of articles, we shall discuss new features in the various PHP 7.x versions.
-
Monitoring SRE's Golden Signals
Golden signals are increasingly popular these days due to the rise of SRE. This article outlines what golden signals are, and how to monitor and use them in the context of various common services.