summaryrefslogtreecommitdiff
path: root/Zend/zend_operators.h
diff options
context:
space:
mode:
authorMatt Wilmas <mattwil@php.net>2009-03-18 01:06:30 +0000
committerMatt Wilmas <mattwil@php.net>2009-03-18 01:06:30 +0000
commitd4207fc58d772a4424762029ed871e0147d84a03 (patch)
treed40ce9823c54de19c21d463d6a7b6decaa16f0d4 /Zend/zend_operators.h
parent41437712086e684454eea490eb95f271e0af03c3 (diff)
downloadphp-git-d4207fc58d772a4424762029ed871e0147d84a03.tar.gz
Fixed bug #45877 (Array key '2147483647' left as string)
Diffstat (limited to 'Zend/zend_operators.h')
-rw-r--r--Zend/zend_operators.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/Zend/zend_operators.h b/Zend/zend_operators.h
index 5411f46ec7..0457e2ac37 100644
--- a/Zend/zend_operators.h
+++ b/Zend/zend_operators.h
@@ -36,18 +36,6 @@
#include "ext/bcmath/libbcmath/src/bcmath.h"
#endif
-#if SIZEOF_LONG == 4
-#define MAX_LENGTH_OF_LONG 11
-static const char long_min_digits[] = "2147483648";
-#elif SIZEOF_LONG == 8
-#define MAX_LENGTH_OF_LONG 20
-static const char long_min_digits[] = "9223372036854775808";
-#else
-#error "Unknown SIZEOF_LONG"
-#endif
-
-#define MAX_LENGTH_OF_DOUBLE 32
-
BEGIN_EXTERN_C()
ZEND_API int add_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
ZEND_API int sub_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);