mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
-new functions php_error_func<0> to support unified error messages
#read followup
This commit is contained in:
parent
e84bddf76a
commit
e50228ab5b
2 changed files with 67 additions and 1 deletions
|
@ -255,6 +255,11 @@ int cfgparse(void);
|
|||
|
||||
#define php_error zend_error
|
||||
|
||||
/* PHPAPI void php_error(int type, const char *format, ...); */
|
||||
PHPAPI void php_error_func0(int type TSRMLS_DC, const char *format, ...);
|
||||
PHPAPI void php_error_func1(int type, const char *param1 TSRMLS_DC, const char *format, ...);
|
||||
PHPAPI void php_error_func2(int type, const char *param1, const char *param2 TSRMLS_DC, const char *format, ...);
|
||||
|
||||
#define zenderror phperror
|
||||
#define zendlex phplex
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue