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:09 UTC

Return to Bug #55397 | Download this patch
This patch is obsolete

Obsoleted by 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);
?>
--EXPECT--
bool(false)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 10:01:30 2024 UTC