php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #55397
Patch bug55397.phpt revision 2011-08-14 16:37 UTC by laruence@php.net
revision 2011-08-14 16:09 UTC by laruence@php.net
Patch bug55397.diff revision 2011-08-14 16:37 UTC by laruence@php.net
revision 2011-08-14 16:37 UTC by laruence@php.net
revision 2011-08-14 16:36 UTC by laruence@php.net
revision 2011-08-14 16:09 UTC by laruence@php.net

Patch bug55397.phpt for Date/time related Bug #55397

Patch version 2011-08-14 16:37 UTC

Return to Bug #55397 | Download this patch
This 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)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Nov 23 10:01:28 2024 UTC