BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage PHP 8.x Article Series Content on InfoQ

Articles

RSS Feed
  • 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 - Type System Improvements

    In this article we will discuss extensions to the PHP type system introduced in PHP 8, 8.1, and 8.2. Those include union, intersection, and mixed types, as well as the static and never return types. Additionally, PHP 8 also brings support for true, null, and false stand-alone types.

  • PHP 8 – Functions and Methods

    PHP 8.0 adds support for several functions- and methods-related features, including enhanced callable syntax, named function arguments, and Fibers, which are interruptible functions that add support for multitasking.

  • 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.

BT