diff options
Diffstat (limited to 'ext/standard/math.c')
| -rw-r--r-- | ext/standard/math.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/standard/math.c b/ext/standard/math.c index 7014e6c938..ee06936369 100644 --- a/ext/standard/math.c +++ b/ext/standard/math.c @@ -972,12 +972,8 @@ PHPAPI zend_long _php_math_basetolong(zval *arg, int base) if (num > onum) continue; - { - TSRMLS_FETCH(); - - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Number '%s' is too big to fit in long", s); - return ZEND_LONG_MAX; - } + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Number '%s' is too big to fit in long", s); + return ZEND_LONG_MAX; } return num; |
