mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
fix for extension = ""
make php_verror available
This commit is contained in:
parent
ac9991a245
commit
1134977baf
2 changed files with 3 additions and 0 deletions
|
@ -416,6 +416,7 @@ PHPAPI void php_verror(const char *docref, const char *params, int type, const c
|
||||||
efree(docref_buf);
|
efree(docref_buf);
|
||||||
}
|
}
|
||||||
docref_buf = ref;
|
docref_buf = ref;
|
||||||
|
docref = docref_buf;
|
||||||
p = strrchr(ref, '#');
|
p = strrchr(ref, '#');
|
||||||
if (p) {
|
if (p) {
|
||||||
target = estrdup(p);
|
target = estrdup(p);
|
||||||
|
|
|
@ -255,6 +255,8 @@ int cfgparse(void);
|
||||||
|
|
||||||
#define php_error zend_error
|
#define php_error zend_error
|
||||||
|
|
||||||
|
PHPAPI void php_verror(const char *docref, const char *params, int type, const char *format, va_list args TSRMLS_DC) ;
|
||||||
|
|
||||||
/* PHPAPI void php_error(int type, const char *format, ...); */
|
/* PHPAPI void php_error(int type, const char *format, ...); */
|
||||||
PHPAPI void php_error_docref0(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, ...);
|
||||||
PHPAPI void php_error_docref1(const char *docref TSRMLS_DC, const char *param1, int type, const char *format, ...);
|
PHPAPI void php_error_docref1(const char *docref TSRMLS_DC, const char *param1, int type, const char *format, ...);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue