LWN: Comments on "First PHP 8 alpha released" https://lwn.net/Articles/824738/ This is a special feed containing comments posted to the individual LWN article titled "First PHP 8 alpha released". en-us Fri, 05 Sep 2025 10:53:16 +0000 Fri, 05 Sep 2025 10:53:16 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net First PHP 8 alpha released https://lwn.net/Articles/824910/ https://lwn.net/Articles/824910/ DG <div class="FormattedComment"> Not JIT based, but for comparison of HHVM with PHP there&#x27;s <br> <a href="https://kinsta.com/blog/hhvm-wordpress/">https://kinsta.com/blog/hhvm-wordpress/</a> - see about 1/3 of the way down which seems to show PHP 7.2 is faster than HHVM (at least for Wordpress)<br> <p> <p> <a href="https://hhvm.com/blog/2018/09/12/end-of-php-support-future-of-hack.html">https://hhvm.com/blog/2018/09/12/end-of-php-support-futur...</a> - HHVM dropping support for PHP - so any comparison is going to be difficult.<br> </div> Wed, 01 Jul 2020 12:34:28 +0000 First PHP 8 alpha released https://lwn.net/Articles/824908/ https://lwn.net/Articles/824908/ Sesse <div class="FormattedComment"> Random searching found a test that indicates that four years ago, HHVM was 30% faster than PHP 7 on Wordpress. And PHP 8&#x27;s JIT is (according to the authors) 3.5% faster than PHP 7.3 on Wordpress. YMMV.<br> <p> <a href="https://www.wpoven.com/blog/hhvm-vs-php-7-performance-showdown-wordpress-nginx/">https://www.wpoven.com/blog/hhvm-vs-php-7-performance-sho...</a><br> </div> Wed, 01 Jul 2020 11:41:51 +0000 First PHP 8 alpha released https://lwn.net/Articles/824907/ https://lwn.net/Articles/824907/ epa <div class="FormattedComment"> It would be interesting to see a comparison between this effort and the JIT compiler for PHP developed by Facebook (which has now evolved into its own PHP dialect called Hack).<br> </div> Wed, 01 Jul 2020 11:32:18 +0000 First PHP 8 alpha released https://lwn.net/Articles/824898/ https://lwn.net/Articles/824898/ flussence <div class="FormattedComment"> A JIT isn&#x27;t just for existing code; it changes the performance equation for code that would once have been unthinkable to write. This plus PHP7&#x27;s FFI makes a transition away from hard-to-maintain PECL plugins more viable.<br> </div> Wed, 01 Jul 2020 07:34:19 +0000 First PHP 8 alpha released https://lwn.net/Articles/824872/ https://lwn.net/Articles/824872/ Sesse <div class="FormattedComment"> To answer my own question: A bit further down on the page, they have Wordpress numbers. It improves a meager 3.5% (they give no error bars).<br> </div> Tue, 30 Jun 2020 20:28:43 +0000 First PHP 8 alpha released https://lwn.net/Articles/824870/ https://lwn.net/Articles/824870/ Sesse <div class="FormattedComment"> The JIT looks awful; extremely simplistic bytecode-to-asm with nearly no type inference. Is this really worth it? Is it a good design to iterate on and build a faster JIT from? What are the real-world speedups for e.g. Wordpress, if an ideal case such as Mandelbrot only yields 4x?<br> </div> Tue, 30 Jun 2020 20:24:45 +0000