mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- Cleanup error output
This commit is contained in:
parent
3f80efd660
commit
ab8c6ed967
1 changed files with 1 additions and 1 deletions
|
@ -767,7 +767,7 @@ ZEND_FUNCTION(trigger_error)
|
|||
ZEND_WRONG_PARAM_COUNT();
|
||||
}
|
||||
convert_to_string_ex(z_error_message);
|
||||
zend_error(error_type, (*z_error_message)->value.str.val);
|
||||
zend_error(error_type, "%s", (*z_error_message)->value.str.val);
|
||||
RETURN_TRUE;
|
||||
}
|
||||
/* }}} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue