#44742 [Com]: Segmentation fault
| From: | jhonut_nm at yahoo dot com | Date: | Wed, 16 Apr 2008 11:46:55 +0000 |
| Subject: | #44742 [Com]: Segmentation fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-124280@lists.php.net to get a copy of this message | ||
ID: 44742
Comment by: jhonut_nm at yahoo dot com
Reported By: thekid@php.net
Status: Open
Bug Type: Date/time related
Operating System: Any
PHP Version: 5.2CVS-2008-04-16 (snap)
New Comment:
assigned
Previous Comments:
------------------------------------------------------------------------
[2008-04-16 11:24:45] thekid@php.net
Description:
------------
timezone_offset_get() causes segmentation faults.
Reproduce code:
---------------
$ ./php.exe -r '$date= date_create("2008-04-11 00:00:00+0000");
var_dump(timezone_offset_get(date_timezone_get($date), $date));'
[...Segmentation fault Dialog box...]
friebe@rnt15501 ~/bin/php5dev
$ ./php.exe -v
PHP 5.2.6RC6-dev (cli) (built: Apr 15 2008 12:04:52)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
Expected result:
----------------
int(7200)
Actual result:
--------------
Segmentation fault
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44742&edit=1