summaryrefslogtreecommitdiff
path: root/ext/date/tests/bug62852.phpt
diff options
context:
space:
mode:
authorAaron Piotrowski <aaron@trowski.com>2016-06-11 12:07:28 -0500
committerAaron Piotrowski <aaron@trowski.com>2016-06-13 09:02:17 -0500
commit771e5cc24716304dd2bf8cbd8aec11d465965d0a (patch)
treecf85742ca6a5810f284f62902f9dc7efc756a663 /ext/date/tests/bug62852.phpt
parente3c681aa5cc71122a8d2fae42e6513fc413ccac8 (diff)
downloadphp-git-771e5cc24716304dd2bf8cbd8aec11d465965d0a.tar.gz
Replace zend_ce_error with NULL and replace more E_ERROR with thrown Error
Diffstat (limited to 'ext/date/tests/bug62852.phpt')
-rw-r--r--ext/date/tests/bug62852.phpt7
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/date/tests/bug62852.phpt b/ext/date/tests/bug62852.phpt
index 7013a3f97c..a1b5190281 100644
--- a/ext/date/tests/bug62852.phpt
+++ b/ext/date/tests/bug62852.phpt
@@ -11,4 +11,9 @@ try {
} catch ( Exception $e ) {}
--EXPECTF--
-Fatal error: Invalid serialization data for DateTime object in %sbug62852.php on line %d
+Fatal error: Uncaught Error: Invalid serialization data for DateTime object in %sbug62852.php:%d
+Stack trace:
+#0 [internal function]: DateTime->__wakeup()
+#1 %sbug62852.php(%d): unserialize('O:8:"DateTime":...')
+#2 {main}
+ thrown in %sbug62852.php on line %d