summaryrefslogtreecommitdiff
path: root/debian/patches/zend_int_overflow.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/zend_int_overflow.patch')
-rw-r--r--debian/patches/zend_int_overflow.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/zend_int_overflow.patch b/debian/patches/zend_int_overflow.patch
index 3df7fa085..591f2244a 100644
--- a/debian/patches/zend_int_overflow.patch
+++ b/debian/patches/zend_int_overflow.patch
@@ -54,7 +54,7 @@ Bug-Debian: http://bugs.debian.org/570144
--TEST--
Bug #45877 (Array key '2147483647' left as string)
---INI--
--precision=20
+-precision=16
--FILE--
<?php
-$keys = array(PHP_INT_MAX,
@@ -87,7 +87,7 @@ Bug-Debian: http://bugs.debian.org/570144
- int(1)
- [-%d8]=>
- int(1)
-- ["%d8"]=>
+- ["%s"]=>
- int(1)
+function test_value($val, $msg) {
+ $a = array($val => 1);