Skip to main content

Posts

Showing posts from May 27, 2014

What is PHPNG and how it will help to speed up PHP 6

What is PHPNG? PHPNG  is a new branch of development that aims to bring a whole new level of performance and memory usage efficiency to PHP. This branch was added somewhat secretly by Zend developers to the PHP development repository in April 16 but it was openly described only in May 5 when Sebastian Bergmann of the PHPUnit fame asked in the PHP internals about it. Dmitry Stogov of Zend presented a more or less detailed  description of the PHPNG branch . He explained that he has been experimenting using a JIT engine (Just In Time compilation to native machine code) using LLVM. Using LLVM as a JIT for the Zend Engine was already proposed by Nuno Lopes in 2008. Some work was done with a student that was directed by Nuno Lopes as a Google Summer of Code project that resulted in the  PECL LLVM  extension. I have covered all possible  PHP JIT solutions in an article  about this topic in 2011. The PHPNG branch also features improvements in the PHP me...