com php-src: fixed numeric string comparsion: Zend/zend_opera tors.h
| From: | Anatol Belski | Date: | Wed, 16 Oct 2013 10:14:24 +0000 |
| Subject: | com php-src: fixed numeric string comparsion: Zend/zend_opera tors.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-73449@lists.php.net to get a copy of this message | ||
Commit: 582f52c1733138637073bee0f31e0fbdd5affac7
Author: Anatol Belski <ab@php.net> Mon, 26 Aug 2013 07:06:31 -0700
Parents: c47840d92b784c7f26d77f7bb4c5df8066260396
Branches: str_size_and_int64
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=582f52c1733138637073bee0f31e0fbdd5affac7
Log:
fixed numeric string comparsion
Changed paths:
M Zend/zend_operators.h
Diff:
diff --git a/Zend/zend_operators.h b/Zend/zend_operators.h
index 1484c7a..fb1123d 100644
--- a/Zend/zend_operators.h
+++ b/Zend/zend_operators.h
@@ -252,7 +252,7 @@ process_double:
}
if (lval) {
- *lval = strtol(str, NULL, base);
+ *lval = ZEND_STRTOL(str, NULL, base);
}
return IS_LONG;