Table of ContentsGeneral SpecificationsError HandlingVariable HandlingFunction CallsOutput HandlingPHP StatementsPHP ExpressionsObject ModelObject Oriented FeaturesMocked FunctionsPerformance Notes PHP Emulator is a PHP interpreter written in PHP (somewhat like PyPy). It was created with many goals in mind, particularly allowing fine-grained low-level control over PHP execution without requiring to mess with the C runtime (and without administrative requirements). It is mainly intended as a debugging and security tool, allowing code analyzers to take full control of PHP code in their static/dynamic combined analysis. The issue with most PHP …