Add PHP 7.4 branch to test against


PHP 7.4 was branched 10 days ago, and master is now PHP 8.0.0-dev.

This means that using php: nightly in my builds conflicts with phpunit which expects PHP 7:

phpunit/phpunit 7.5.4 requires php ^7.1 -> your PHP version (8.0.0-dev) does not satisfy that requirement.

And php: 7.4 is not available yet:

rbenv: version `7.4’ not installed

Could you please add the php: 7.4 version, that would point to the PHP-7.4 branch?

Thank you.


There is no 7.4 release yet. So we will be building 7.4snapshot, but currently it is breaking with apcu.


Thanks, I pinged krakjoe here:


A new apcu release with compatibility fixes for PHP 7.4 is out, so hopefully the next build will work.


The last PHP 7.4 snapshot build was successful ( and I just checked that 7.4snapshot does indeed work (

It would be great if 7.4 could be added as an alias for 7.4snapshot until we have actual PHP 7.4 releases, as I think most people don’t know about the snapshot versions.


There is no 7.4 release of any kind, so it is misleading to offer snapshots with aliases that suggest an official release.

We can document *snapshot, but that’s as far as I suggest we go.

Note: We have aliased RCs as releases before. (e.g.,


I agree aliasing it to 7.4 would be misleading. I would personally prefer “7.4-dev” but “7.4snapshot” works for me too.
We have already switched from nightly to 7.4snapshot in Doctrine.