mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix GH-13142: Undefined variable name is shortened when contains \0
Uses the new %S formatter and introduces the necessary changes and helpers.
This commit is contained in:
parent
a651ae86aa
commit
fe064d7f12
14 changed files with 118 additions and 80 deletions
|
@ -328,6 +328,7 @@ PHPAPI ZEND_COLD void php_verror(const char *docref, const char *params, int typ
|
|||
/* PHPAPI void php_error(int type, const char *format, ...); */
|
||||
PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
|
||||
PHP_ATTRIBUTE_FORMAT(printf, 3, 4);
|
||||
PHPAPI ZEND_COLD void php_error_docref_unchecked(const char *docref, int type, const char *format, ...);
|
||||
PHPAPI ZEND_COLD void php_error_docref1(const char *docref, const char *param1, int type, const char *format, ...)
|
||||
PHP_ATTRIBUTE_FORMAT(printf, 4, 5);
|
||||
PHPAPI ZEND_COLD void php_error_docref2(const char *docref, const char *param1, const char *param2, int type, const char *format, ...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue