mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
More error handling work (still completely disabled)
This commit is contained in:
parent
095f1d91b1
commit
39aa59bdec
4 changed files with 37 additions and 5 deletions
|
@ -242,13 +242,20 @@ extern char **environ;
|
|||
#endif
|
||||
|
||||
extern void phperror(char *error);
|
||||
extern PHPAPI void php_error(int type, const char *format, ...);
|
||||
extern PHPAPI int php_write(void *buf, int size);
|
||||
extern PHPAPI int php_printf(const char *format, ...);
|
||||
extern void php_log_err(char *log_message);
|
||||
extern int Debug(char *format, ...);
|
||||
extern int cfgparse(void);
|
||||
|
||||
#if ZEND_NEW_ERROR_HANDLING
|
||||
#define php_error zend_error
|
||||
#else
|
||||
extern PHPAPI void php_error_cb(int type, const char *format, ...);
|
||||
#define php_error php_error_cb
|
||||
#endif
|
||||
|
||||
|
||||
extern void html_putc(char c);
|
||||
|
||||
#define zenderror phperror
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue