Archive for the ‘zend engine’ Category

How PHP Executes – from Source Code to Render

Posted on: No Comments
Inspired by a recent article on how Ruby code executes, this article covers the execution process for PHP code. Introduction There's a lot going on under the hood when we execute a piece of PHP code. Broadly speaking, the PHP interpreter goes through ...

Re-Implementing the Range Operator in PHP

In the prequel to this article (hint: make sure you’ve read it first), I showed one way to implement a range operator in PHP. Initial implementations, however, are rarely the best, and so it is the intention of this article to look at how the previou...

Implementing the Range Operator in PHP

We sometimes come across some amazing posts in other locations, and with the permissions of their authors, repost them on SitePoint. This is one such instance. In the post below, Thomas Punt implements the range operator in PHP. If you’ve ever been i...