Last Updated: 20th Sep 2017
WPTavern: WordPress Removes HHVM from Testing Infrastructure
Before the release of PHP 7 in 2015, many WordPress managed hosting companies looked to Facebookâ€™s HHVM to provide better performance. Pagely, WP Engine, and SiteGround added HHVM hosting options in 2014 and early 2015. However, PHP 7 performance gains have been enough to preclude wider HHVM adoption.
WordPress core developer John Blackbourn announced yesterday that the project has removed HHVM support in the Travis test suite after April 2017 stats showed a mere several dozen WordPress websites running on HHVM. WordPress never officially supported HHVM but Scott Taylor made many improvements to core for better HHVM compatibility three years ago. Blackbourn clarified on Slack that WordPress is not removing this support but rather will no longer include HHVM in its testing infrastructure.
â€śSupport for HHVM itself hasnâ€™t been dropped, but support for testing WordPress on HHVM has been dropped,â€ť Blackbourn said. â€śHHVM usage is so minuscule (literally in the dozens according to update stats) that we canâ€™t warrant the time needed to ensure the test infrastructure works.â€ť
The change isnâ€™t likely to affect too many developers, but itâ€™s an important milestone that signifies how well PHP 7 has been performing for sites that have switched. Blackbourn suggests those running WordPress on HHVM should consider switching to PHP 7+, as it is â€śfar more widely supported and tested, and offers all of the memory and performance benefits that HHVM pushed forward.â€ť
The open source MongoDB project also announced yesterday that it will no longer be supporting its HHVM driver, saying it no longer makes good use of contributorsâ€™ engineering time.
â€śAt the start of 2015 we began work on an HHVM driver for MongoDB, as part of our project to renew our PHP driver,â€ť Derick Rethans, MongoDB engineer and author of Xdebug, said. â€śBack then, HHVM was in its ascendancy and outperforming PHP 5.6 two to one. With such a huge performance difference it was reasonable to assume that many users would be switching overâ€¦With PHP 7 released, we saw very little use of the HHVM driver for MongoDB.â€ť
These announcements may be the start of more open source projects giving HHVM compatibility a lower priority. On the ticket for removing HHVM from the test matrix on Travis, John Blackbourn thanked HHVM for its importance in helping move PHP forward.
â€śThe PHP world owes a lot to HHVM for helping it push it forward,â€ť Blackbourn said. â€śWithout HHVM, maybe we wouldnâ€™t have seen such incredible performance gains in PHP 7.â€ť