From: Stanislav Malyshev Date: Sun, 1 Sep 2002 08:30:39 +0000 (+0000) Subject: MFZE1 X-Git-Tag: RELEASE_0_91~167 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=73cf316a5306cfef44e87a60589b80f5e6ec6a52;p=php MFZE1 --- diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index fa7995e991..50b9e7555b 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -36,7 +36,7 @@ ZEND_API int zend_atoi(const char *str, int str_len) if (!str_len) { str_len = strlen(str); } - retval = atoi(str); + retval = strtol(str, NULL, 0); if (str_len>0) { switch (str[str_len-1]) { case 'k':