summaryrefslogtreecommitdiff
path: root/ext/date/tests/bug62852.phpt
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2012-09-15 11:26:21 +0800
committerXinchen Hui <laruence@php.net>2012-09-15 11:26:21 +0800
commite766f85405cd936a07a30a045f419199b6c02ed7 (patch)
treea0d7a20a9418ca808def8843a689d9fc5ca4a4ba /ext/date/tests/bug62852.phpt
parent30981836fa84323d49b2c90bbd805348d58021e4 (diff)
downloadphp-git-e766f85405cd936a07a30a045f419199b6c02ed7.tar.gz
Revert "Fixed bug #62852 (Unserialize invalid DateTime causes crash)"
see: http://news.php.net/php.bugs/173451 This reverts commit 46a3f257724df7b85cc8c3e6374c36ed9ee783b4.
Diffstat (limited to 'ext/date/tests/bug62852.phpt')
-rw-r--r--ext/date/tests/bug62852.phpt15
1 files changed, 0 insertions, 15 deletions
diff --git a/ext/date/tests/bug62852.phpt b/ext/date/tests/bug62852.phpt
deleted file mode 100644
index 6426a80fb8..0000000000
--- a/ext/date/tests/bug62852.phpt
+++ /dev/null
@@ -1,15 +0,0 @@
---TEST--
-Bug #62852 (Unserialize invalid DateTime causes crash)
---INI--
-date.timezone=GMT
---FILE--
-<?php
-try {
- $datetime = unserialize('O:8:"DateTime":3:{s:4:"date";s:20:"10007-06-07 03:51:49";s:13:"timezone_type";i:3;s:8:"timezone";s:3:"UTC";}');
- var_dump($datetime);
-} catch (Exception $e) {
- var_dump($e->getMessage());
-}
-?>
---EXPECTF--
-string(%d) "DateTime::__wakeup(): Failed to parse time string (%s) at position 12 (0): Double time specification"