com php-src: fixed numeric string comparsion: Zend/zend_opera tors.h
| From: | Anatol Belski | Date: | Mon, 26 Aug 2013 14:06:31 +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-73579@lists.php.net to get a copy of this message | ||
Commit: 4b484e0278ec426e43b8d4794bd4276f16797e73
Author: Anatol Belski <ab@php.net> Mon, 26 Aug 2013 07:06:31 -0700
Parents: 1b523d9c930e35200ced73b0c721b8a40259926d
Branches: str_size_and_int64
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4b484e0278ec426e43b8d4794bd4276f16797e73
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 fa49605..29713e5 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;