You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
php_printf("%s<br />\n<b>%s</b>: %s in <b>%s</b> on line <b>%"PRIu32"</b><br />\n%s", STR_PRINT(prepend_string), error_type_str, ZSTR_VAL(buf), ZSTR_VAL(error_filename), error_lineno, STR_PRINT(append_string));
1362
1362
zend_string_free(buf);
1363
1363
} else {
1364
-
zvaltmp;
1365
-
ZVAL_STR(&tmp, message);
1366
-
php_printf_unchecked("%s<br />\n<b>%s</b>: %Z in <b>%s</b> on line <b>%"PRIu32"</b><br />\n%s", STR_PRINT(prepend_string), error_type_str, &tmp, ZSTR_VAL(error_filename), error_lineno, STR_PRINT(append_string));
1364
+
php_printf_unchecked("%s<br />\n<b>%s</b>: %S in <b>%s</b> on line <b>%"PRIu32"</b><br />\n%s", STR_PRINT(prepend_string), error_type_str, message, ZSTR_VAL(error_filename), error_lineno, STR_PRINT(append_string));
1367
1365
}
1368
1366
} else {
1369
1367
/* Write CLI/CGI errors to stderr if display_errors = "stderr" */
php_printf_unchecked("%s\n%s: %Z in %s on line %"PRIu32"\n%s", STR_PRINT(prepend_string), error_type_str, &tmp, ZSTR_VAL(error_filename), error_lineno, STR_PRINT(append_string));
1378
+
php_printf_unchecked("%s\n%s: %S in %s on line %"PRIu32"\n%s", STR_PRINT(prepend_string), error_type_str, message, ZSTR_VAL(error_filename), error_lineno, STR_PRINT(append_string));
0 commit comments