Table of Contents
PHP 8.6 is now available on shared hosting

SLIMHOST has added support for PHP 8.6 on all shared hosting servers. The new version of the language was released on November 19, 2026, and you can already choose it for your sites.
What’s new in PHP 8.6
The main changes include:
- Partial function application. A
?placeholder in place of an argument creates a function that takes the remaining arguments later, for examplein_array(?, $list, true). - The new
clamp()function limits a value to a given range. - The
Time\Durationclass represents a duration with nanosecond precision. - The Polling API (
Io\Poll) provides scalable I/O multiplexing without the limits ofstream_select(). - Streams get structured errors and TLS session resumption without a repeated handshake.
readonlyproperties can now have default values.- The
#[\Override]attribute also works on class constants. - Sessions are safer by default:
session.use_strict_modeandsession.cookie_httponlyare enabled, andsession.cookie_samesiteis set toLax. - Closures,
printf()and JSON encoding run faster.
The full list of changes is in the release announcement on php.net.
What to check before switching
Some older functions are deprecated in PHP 8.6 and are planned for removal in PHP 9. These include the mbstring regex functions (mb_ereg(), mb_split() and others), is_long(), is_integer(), is_double(), spl_object_hash(), returning a value from __construct() and __destruct(), and return inside finally. WordPress core developers have already fixed the known compatibility issues, but older plugins and themes may still contain such calls, and warnings will appear in the error log. If your site runs on outdated code, test it on a copy first.
PHP 8.6 is already available on all shared hosting servers. You can see the plans on the shared hosting page.