Re: [PHP-DEV] Zend API: Correct way to terminate entire request from within function

2004-07-02 Thread Cris H
--- Wez Furlong <[EMAIL PROTECTED]> wrote: > Looking at the opcode handler for exit, it looks > like you can call > zend_bailout() to terminate the request. > > Note that since exit is an opcode and not a > function, > call_user_function won't work. Thank you very much. A similar thought occurre

Re: [PHP-DEV] Zend API: Correct way to terminate entire request from within function

2004-07-02 Thread Wez Furlong
Looking at the opcode handler for exit, it looks like you can call zend_bailout() to terminate the request. Note that since exit is an opcode and not a function, call_user_function won't work. --Wez. On Fri, 2 Jul 2004 10:00:32 +0100 (BST), Cris H <[EMAIL PROTECTED]> wrote: > I'm trying to ascer

[PHP-DEV] Zend API: Correct way to terminate entire request from within function

2004-07-02 Thread Cris H
Hi all, I've been working on an extension which contains a "debugging function". This function uses zend_printf() to print a list of extension-specific information / help instructions to the screen, in a similar manner to phpinfo(). It was pointed out to me that this might be a useful function to