We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2c6bda commit 59d4a89Copy full SHA for 59d4a89
Zend/zend_compile.c
@@ -7602,7 +7602,7 @@ static void zend_compile_attributes(
7602
zend_string *error = config->validator(attr, target, CG(active_class_entry));
7603
if (error != NULL) {
7604
if (delayed_target_validation == false) {
7605
- zend_error_noreturn(E_COMPILE_ERROR, ZSTR_VAL(error));
+ zend_error_noreturn(E_COMPILE_ERROR, "%s", ZSTR_VAL(error));
7606
}
7607
zend_string_efree(error);
7608
0 commit comments