Got it - my zend_error_cb replacement was not bailing out in response to
the fatal error, which meant that the ZEND_DO_FCALL_BY_NAME opcode was
writing over EX(function_state).function with garbage values.
--Wez.
On 19/05/02, "Zeev Suraski" <[EMAIL PROTECTED]> wrote:
> EX(function_state).functio
EX(function_state).function is supposed to be a pointer to the op_array
that you passed to execute().
Any chance the op_array is somehow deleted by mistake? Did you try looking
at EX(function_state) and EX(function_state).function to understand why
it's dying?
At 03:02 PM 5/19/2002, Wez Furlo
I'm in the process of adding IActiveScriptError support to my active
script
sapi. The way the sapi works is by compiling "scriptlets" into
zend_op_arrays
and then, at a later time, uses zend_execute to execute them.
This works perfectly when the script has no errors :-)
If I deliberately add a