#38975 [Opn->Fbk]: date() function causes php crash

From: Date: Wed, 27 Sep 2006 15:45:27 +0000
Subject: #38975 [Opn->Fbk]: date() function causes php crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-102826@lists.php.net to get a copy of this message
 ID:               38975
 Updated by:       tony2001@php.net
 Reported By:      rachmel at avaya dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: WindRiver Linux
 PHP Version:      5.1.6
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2006-09-27 15:34:34] rachmel at avaya dot com

Description:
------------
When changing the Linux's timezone (changing /etc/localtime) to
something other than CEST and running php script with date related
functions, the php crashes and causes a segmentation fault.

Reproduce code:
---------------
<?php
echo date("l");

?>

Expected result:
----------------
should print the current day of the week.

Actual result:
--------------
segmentation fault (core dumped)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=38975&edit=1


Thread (22 messages)

« previous php.bugs (#102826) next »