unread
I'm trying to build a zend_extension with a statement_handler() hookup. In
the course, I ran into several problem and one of the major one is inside
the function zend_eval_string(). In there, it always set
CG(no_extensions)=1 before entering the zend_execute() function, and reset
CG(no_extensions)=0 afterward.
With no_extensions set to true, there is no chance for
zend_extension_statement_handler to register inside function
zend_ext_stmt_handler().
Is anyone out there ever implement a zend extension with
statement_handler()? Or anyone know why no_extension is turn ON before
zedn_execute() is called?
Thanks,
-Kendal