
Last Updated: November 26, 2026
PHP 8.6.0 was released on November 19, 2026, and you can use it on Probo.CI today. If your application builds with the lamp type, moving to the new release is a one line change to your .probo.yaml file.
Set the php tag to 8.6:
1 | php: 8.6 |
A complete environment definition for a typical LAMP application looks like this:
That is all there is to it. Your assets and steps stay exactly as they are.
A few things to keep in mind:
php tag, you get PHP 8.3. Probo.CI will not move you to 8.6 on its own.php tag. There is no legacy image for it. If your .probo.yaml file still starts with an image: line, that line overrides the php tag and you will stay on whatever version the image shipped with. Our post on legacy images walks through replacing it.php line, let the build run, and click through the preview before you change anything in production. If one of your Composer dependencies does not allow PHP 8.6 yet, composer install will say so in the build log.PHP 8.6 brings a couple of features developers have been asking about for years, along with a long list of smaller improvements.
Call a function with ? placeholders for the arguments you do not have yet, and you get back a closure that waits for the rest. The function itself only runs once the remaining arguments arrive:
1 | $current = array_filter($versions, version_compare(?, '8.6', '>=')); |
A readonly property can now declare its value right where it is defined, instead of needing a constructor to set it:
clamp() keeps a value inside a range and returns the nearest boundary when it falls outside. clamp(110, 0, 100) returns 100.Time\Duration is a new class for elapsed time with nanosecond precision, useful for timeouts and benchmarks.Io\Poll, watches many streams at once using the best mechanism on each platform (epoll, kqueue, event ports or WSAPoll), giving event loop libraries such as ReactPHP and AMPHP a common foundation.StreamException carrying a structured error, instead of emitting warnings.SortDirection enum with Ascending and Descending cases gives libraries one shared way to express sort order.mysqli::quote_string() brings mysqli in line with what PDO::quote() has always offered.pack() and unpack() accept endianness modifiers, and JSON error messages now point to where in the input the problem is.array_map() calls that compile down to plain loops when given a partial application or a callable written as strlen(...), plus faster printf() and JSON encoding.Most applications that run cleanly on PHP 8.5 will run on 8.6, but a few changes deserve a look:
session.use_strict_mode and session.cookie_httponly are now on, and session.cookie_samesite is Lax. Older applications that read the session cookie from JavaScript, or that expect a session to survive a form post from another site, such as some payment gateway or single sign on callbacks, may find users logged out. You can override these settings in your application, but the new defaults are the safer choice.trim(), ltrim() and rtrim() now strip form feed characters (\f) by default.fclose(), file_put_contents() and copy() now return false when flushing or closing the file fails.ValueError exceptions are thrown for out of range values, invalid flags and NUL bytes passed to core functions.return inside a finally block, the mb_ereg() family of mbstring regex functions, is_double(), is_long(), is_integer() and doubleval(), spl_object_hash(), strcoll(), and passing a third argument to define(). Deprecations will not break your code today, but they will show up as notices in your logs and point to what is likely to be removed in PHP 9.This is only a summary. The official PHP 8.6 release announcement covers every new feature with examples, and the PHP 8.6 migration guide lists every backward incompatible change and deprecation in detail.
The full list of PHP versions available on Probo.CI is on the Environment Setup page. If an upgrade turns up something you cannot explain, contact support with your .probo.yaml file and we will help you sort it out.

Your first month is on us. When you sign up for a Probo.CI, every new account starts with a full month free on any of our plans. For more information on how to get started, click here.
LEARN MORE ABOUT PROBO.CI'S PRICING