News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Abhinav Singh's Blog:
PHP tokens & opcodes 3 useful extensions for understanding the Zend Engine
November 24, 2009 @ 11:32:31

Abhinav Singh has a recent post to his blog looking at three extensions that you can use to help understand the inner workings of the core Zend Engine.

"PHP tokens and opcodes" - When a PHP script is executed it goes through a number of processes, before the final result is displayed. These processes are namely: Lexing, Parsing, Compiling and Executing. In this blog post, I will walk you through all these processes with a sample example. In the end I will list some useful PHP extensions, which can be used to analyze results of every intermediate process.

He touches on the steps the average PHP script takes in its processing - lexing, parsing/compiling and the actual execution of the opcodes. The tokenizer, parsekit and VLD (Vulcan Logic Disassembler) extensions can help you get down into the nuts and bolts of the language and the engine that makes it work.

0 comments voice your opinion now!
zendengine extension lexer compile opcode


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: PHP Abstract Podcast Episode 27: Introducing PECL Picks

Gopal Vijayaraghavan's Blog: APC Autofilter: The Real Story

Juozas Kaziukenas' Blog: Debugging with FirePHP and Firebug

Elizabeth Smith's Blog: How to Compile PHP5.2 and PHP-GTK2 on Windows using Visual C++ Express

PHP Thinktank Blog: IRC Discussions - Standard PHP Library


Community Events





Don't see your event here?
Let us know!


interview language refactor community testing install opinion podcast threedevsandamaybe release symfony2 api framework series code developer unittest laravel introduction list

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework