ggedde
ggedde

Reputation: 653

Will HHVM be able to run PHP7

I know that PHP7 has a new compiler that is almost as fast as HHVM, but I am just curious if HHVM will also be able to run PHP7 as well as PHP5.

I can't find any details on this. Everything I find is just a HHVM vs PHP7 Also for that matter can anyone find what versions of PHP5 will run on HHVM.

Thanks

Upvotes: 7

Views: 682

Answers (1)

Josh Watzman
Josh Watzman

Reputation: 7260

Yes, we intend to support the new PHP7 language features in HHVM. It's on the HHVM team's roadmap for this half. Most of the features, such as the null coalesce operator, are backwards-compatible, so we can just add them. A couple of them have backwards-compatiblity issues, such as uniform variable syntax; the team is still evaluating what we want to do with this. We'd like to find a way to maintain compatibility with both PHP5 and PHP7, probably by making these backwards-compatibility-breaking options selectable via an INI option, or something like that.

Upvotes: 8

Related Questions