Requires autoconf 2.71 to build PHP 8.6 from git, and MySQL 5.7.3 or MariaDB 10.2.4 for persistent connections.
Last activity
Follow the proposals shaping the next version of PHP.
Requires autoconf 2.71 to build PHP 8.6 from git, and MySQL 5.7.3 or MariaDB 10.2.4 for persistent connections.
Last activity
Lets readonly properties declare default values, so a class can meet a get-only interface property with a fixed value.
Last activity
Moves docs for extensions maintained outside php-src out of the PHP manual to a separate home run by the extension maintainers.
Last activity
Lets you write, unset and increment properties on an object held by a constant, like OBJ->prop = 1, which was a fatal error before.
Last activity
Deprecates 31 features in PHP 8.6 for removal in PHP 9, including return in finally blocks, is_double() and spl_object_hash().
Last activity
Adds a Time\Duration class that stores stopwatch-style time with nanosecond precision, for timeouts and delays instead of bare ints or floats.
Last activity
Lets the #[\Override] attribute go on class constants and enum cases, so PHP errors if nothing is actually being overridden.
Last activity
Adds Locale::getDisplayKeyword() and Locale::getDisplayKeywordValue() to show locale keywords and their values in a human language.
Last activity
Adds URI builder classes, URI and host type detection, and component-aware percent-encoding functions to the ext/uri classes.
Last activity
Adds an Io\Poll API to PHP core that uses epoll, kqueue and other system backends, a faster, scalable alternative to stream_select().
Last activity
Adds an error_include_args INI setting that shows the actual arguments passed to a built-in function in its warnings and errors.
Last activity
Deprecates returning a value, or using yield, in __construct() and __destruct(), while a bare return; stays legal.
Last activity
Adds AES192 and AES256 SNMPv3 protocols, an snmp_init_mib() function to reset loaded MIBs, and more output controls to ext/snmp.
Last activity
Limits php://filter URLs to 16 chained filters by default, blocking attacks that use long chains to turn file reads into code execution.
Last activity
Deprecates the mb_ereg* regex functions in PHP 8.6 and removes them in PHP 9.0, since the Oniguruma library behind them is no longer maintained.
Last activity
Makes every ? placeholder in partial function application a required parameter, instead of copying the original parameter's default.
Last activity
Lets enums define __debugInfo() to control what var_dump() shows for an enum case.
Last activity
Exempts new TypeError and ValueError input checks, and reworded error messages, from PHP's backward compatibility break policy.
Last activity
Replaces the PHP License and Zend Engine License with the Modified BSD License, as PHP License 4 and Zend Engine License 3.
Last activity
Changes the session defaults to use_strict_mode=1, cookie_httponly=1 and cookie_samesite=Lax so new installs are safer out of the box.
Last activity