mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Use type instead of constant
This commit is contained in:
parent
c5b69dcb14
commit
6f78de02f0
@ -465,7 +465,7 @@ static void zend_error_va(int type, const char *file, uint lineno, const char *f
|
|||||||
va_list args;
|
va_list args;
|
||||||
|
|
||||||
va_start(args, format);
|
va_start(args, format);
|
||||||
zend_error_cb(E_ERROR, file, lineno, format, args);
|
zend_error_cb(type, file, lineno, format, args);
|
||||||
va_end(args);
|
va_end(args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -465,7 +465,7 @@ static void zend_error_va(int type, const char *file, uint lineno, const char *f
|
|||||||
va_list args;
|
va_list args;
|
||||||
|
|
||||||
va_start(args, format);
|
va_start(args, format);
|
||||||
zend_error_cb(E_ERROR, file, lineno, format, args);
|
zend_error_cb(type, file, lineno, format, args);
|
||||||
va_end(args);
|
va_end(args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user