From ec790753948d190db354cbce97786b4a1aac63fc Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 10 Jun 2013 22:49:30 +0200 Subject: [PATCH] split the test for 32 and 64 bit --- ext/date/tests/bug53437_var3.phpt | 7 ++++- ext/date/tests/bug53437_var5.phpt | 50 +++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 ext/date/tests/bug53437_var5.phpt diff --git a/ext/date/tests/bug53437_var3.phpt b/ext/date/tests/bug53437_var3.phpt index da7d0bd396..537462e28b 100644 --- a/ext/date/tests/bug53437_var3.phpt +++ b/ext/date/tests/bug53437_var3.phpt @@ -1,5 +1,10 @@ --TEST-- -Bug #53437 DateInterval unserialize bad data +Bug #53437 DateInterval unserialize bad data, 32 bit +--SKIPIF-- + +==DONE== +--EXPECT-- +object(DateInterval)#1 (15) { + ["y"]=> + int(2) + ["m"]=> + int(0) + ["d"]=> + int(0) + ["h"]=> + int(6) + ["i"]=> + int(8) + ["s"]=> + int(0) + ["weekday"]=> + int(10) + ["weekday_behavior"]=> + int(10) + ["first_last_day_of"]=> + int(0) + ["invert"]=> + int(0) + ["days"]=> + int(0) + ["special_type"]=> + int(0) + ["special_amount"]=> + int(9223372036854775807) + ["have_weekday_relative"]=> + int(9) + ["have_special_relative"]=> + int(0) +} +==DONE== -- 2.50.1