mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
is_numeric_string() optimization
# Original Patch by Matt Wilmas
This commit is contained in:
parent
24124518ab
commit
ff9d0fcc78
8 changed files with 213 additions and 104 deletions
|
@ -404,7 +404,7 @@ static int _build_trace_string(zval **frame, int num_args, va_list args, zend_ha
|
|||
} else {
|
||||
line = 0;
|
||||
}
|
||||
s_tmp = emalloc(Z_STRLEN_PP(file) + MAX_LENGTH_OF_LONG + 2 + 1);
|
||||
s_tmp = emalloc(Z_STRLEN_PP(file) + MAX_LENGTH_OF_LONG + 4 + 1);
|
||||
sprintf(s_tmp, "%s(%ld): ", Z_STRVAL_PP(file), line);
|
||||
TRACE_APPEND_STRL(s_tmp, strlen(s_tmp));
|
||||
efree(s_tmp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue