Stanislav, Correct, in fact, I began to work on this yesterday. My approach will be to translate whatever's possible at compile-time, as I'm doing now, and saving the import alias info for what's needed at runtime, such as in the case of variable class names. This hashtable will also be needed for namespace imports, if they are in fact implemented.
-- Jessie Stanislav Malyshev wrote: > JH>>is a znode, and what is assigned to the opcode is "opline->op2 = > JH>>*class_name". This function is changed to check the import hashtable, > and if JH>>a match is found, then the znode string value is updated to > contain the full JH>>class name! Here's some pseudocode: > > This of course won't work with variable class names. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php