|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patch bug55397.phpt for Date/time related Bug #55397Patch version 2011-08-14 16:37 UTC Return to Bug #55397 | Download this patchThis patch renders other patches obsolete Obsolete patches: Patch Revisions:Developer: laruence@php.net
--TEST--
Bug #55397 (comparsion of incomplete DateTime causes SIGSEGV)
--INI--
--FILE--
<?php
date_default_timezone_set('Europe/Prague');
var_dump(unserialize('O:8:"DateTime":0:{}') == new DateTime);
?>
--EXPECTF--
Warning: %s: Detected an incomplete DataTime object in %s on line %d
bool(false)
|
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 04:00:01 2025 UTC |