# Supported PHP features

The codebase can include the following PHP features, as to support:

PHP Version Features
7.1 Everything
7.2 object type

Functions:Constants:
7.3 Reference assignments in list()/array destructuring => [&$a, [$b, &$c]] = $d
Except inside foreach (#4376)

Functions:Exceptions:
7.4 Typed properties

Arrow functions

Null coalescing assignment operator => ??=

Unpacking inside arrays => $nums = [3, 4]; $merged = [1, 2, ...$nums, 5];

Numeric literal separator => 1_000_000

strip_tags() with array of tag names => strip_tags($str, ['a', 'p'])

Functions:
Last Updated: 10/10/2020, 9:08:51 AM