From: Johannes Schlüter Date: Thu, 25 Jun 2009 15:04:14 +0000 (+0000) Subject: Add test X-Git-Tag: php-5.4.0alpha1~191^2~3238 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0da1b677b3d2b35f4a60bcdc243de24787d49700;p=php Add test --- diff --git a/ext/date/tests/bug48678.phpt b/ext/date/tests/bug48678.phpt new file mode 100644 index 0000000000..bf349412ba --- /dev/null +++ b/ext/date/tests/bug48678.phpt @@ -0,0 +1,31 @@ +--TEST-- +Bug #48678 DateInterval segfaults when unserialising +--FILE-- + 3 + [m] => 6 + [d] => 4 + [h] => 12 + [i] => 30 + [s] => 5 + [invert] => 0 + [days] => 0 +) +DateInterval Object +( + [y] => 3 + [m] => 6 + [d] => 4 + [h] => 12 + [i] => 30 + [s] => 5 + [invert] => 0 + [days] => 0 +)