mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
This makes more sense. (Someone might actually use php_error_docref0() :)
This commit is contained in:
parent
0e9e0f62fc
commit
d0bb8f5f12
@ -545,9 +545,9 @@ PHPAPI void php_verror(const char *docref, const char *params, int type, const c
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ php_error_docref */
|
||||
/* {{{ php_error_docref0 */
|
||||
/* See: CODING_STANDARDS for details. */
|
||||
PHPAPI void php_error_docref(const char *docref TSRMLS_DC, int type, const char *format, ...)
|
||||
PHPAPI void php_error_docref0(const char *docref TSRMLS_DC, int type, const char *format, ...)
|
||||
{
|
||||
va_list args;
|
||||
|
||||
|
@ -299,7 +299,7 @@ PHPAPI void php_verror(const char *docref, const char *params, int type, const c
|
||||
#endif
|
||||
|
||||
/* PHPAPI void php_error(int type, const char *format, ...); */
|
||||
PHPAPI void php_error_docref(const char *docref TSRMLS_DC, int type, const char *format, ...)
|
||||
PHPAPI void php_error_docref0(const char *docref TSRMLS_DC, int type, const char *format, ...)
|
||||
PHP_ATTRIBUTE_FORMAT(printf, PHP_ATTR_FMT_OFFSET + 3, PHP_ATTR_FMT_OFFSET + 4);
|
||||
PHPAPI void php_error_docref1(const char *docref TSRMLS_DC, const char *param1, int type, const char *format, ...)
|
||||
PHP_ATTRIBUTE_FORMAT(printf, PHP_ATTR_FMT_OFFSET + 4, PHP_ATTR_FMT_OFFSET + 5);
|
||||
@ -307,6 +307,8 @@ PHPAPI void php_error_docref2(const char *docref TSRMLS_DC, const char *param1,
|
||||
PHP_ATTRIBUTE_FORMAT(printf, PHP_ATTR_FMT_OFFSET + 5, PHP_ATTR_FMT_OFFSET + 6);
|
||||
END_EXTERN_C()
|
||||
|
||||
#define php_error_docref php_error_docref0
|
||||
|
||||
#define zenderror phperror
|
||||
#define zendlex phplex
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user