Zend Opcode
| From: | Matteo Tamborini | Date: | Wed, 28 May 2008 13:49:07 +0000 |
| Subject: | Zend Opcode | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-6748@lists.php.net to get a copy of this message | ||
In what way (in what file of zend source file list) i can find a c
implementation of a opcode?
i mean..
in e.g i have a ZEND_INIT_ARRAY; for this i understand that:
Initializes an array with none or one element.
Op1: Key of the first element or null
Op2: Value of the first element or null
Result: Array variable (!!!)
Example:
$arr = array();
$arr = array(1 => 2, 3 => 4);
Gives:
0x9BF7F8 ZEND_INIT_ARRAY -, - => ~0
0x9BF8B8 ZEND_INIT_ARRAY 2, 1 => ~2
where i can find a (c) definition of the ZEND_INIT_ARRAY?
-all the operation that zend engine really do just before to translate the
operation in one bytecode (INIT_ARRAY in this case).