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: 2011-08-14 16:37 UTC | 2011-08-14 16:09 UTC

Developer: laruence@php.net

Line 5 (now 5), was 7 lines, now 6 lines

  <?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
 --EXPECT--
  bool(false)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 02:01:30 2024 UTC