internals:engine

This is an old revision of the document!


This page contains bits and pieces of the Zend Engine documentation:

Op-array structure

  • each op_array has an array of literals (constant values)
  • opocde operands don't contain zval directly any more but points to thistable instead
  • during compilation they are accessible by index e.g. op_array->literals[opline->op1.constant].constant
  • the pass_two() changes indexes into pointers so during execution they are accessible by opline->op1.zv
internals/engine.1271759926.txt.gz · Last modified: 2017/09/22 13:28 (external edit)