diff options
author | Remi Collet <fedora@famillecollet.com> | 2017-02-01 12:30:31 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2017-02-01 12:30:31 +0100 |
commit | 5d12e477d9765d83b93f094164bdccbbb5268c9c (patch) | |
tree | a307547c768b3c3c5095c4db3a17a68b843aec9f /php-upstream.patch | |
parent | 018cc6fe0323824903b21b4dc5ee4503880c01bc (diff) |
PHP 7.0.16RC1
Diffstat (limited to 'php-upstream.patch')
-rw-r--r-- | php-upstream.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/php-upstream.patch b/php-upstream.patch new file mode 100644 index 0000000..2bd7f17 --- /dev/null +++ b/php-upstream.patch @@ -0,0 +1,21 @@ +From 0f1ae93bfa2feb3d0fd0b8d3036148df8ef856e2 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@php.net> +Date: Wed, 1 Feb 2017 10:25:30 +0100 +Subject: [PATCH] fix test for 32bits (int -> float) + +--- + ext/standard/tests/serialize/bug72731.phpt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/ext/standard/tests/serialize/bug72731.phpt b/ext/standard/tests/serialize/bug72731.phpt +index 3d7d1e7..020fb32 100644 +--- a/ext/standard/tests/serialize/bug72731.phpt ++++ b/ext/standard/tests/serialize/bug72731.phpt +@@ -14,5 +14,5 @@ $poc = 'O:8:"stdClass":1:{i:0;O:3:"obj":1:{s:4:"ryat";R:1;}}'; + var_dump(unserialize($poc)); + + ?> +---EXPECT-- +-int(73588229205) ++--EXPECTF-- ++%s(73588229205) |