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

From: Date: Tue, 03 Oct 2006 11:54:43 +0000
Subject: #38975 [Fbk->Opn]: date() function causes php crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-103039@lists.php.net to get a copy of this message
ID: 38975 User updated by: rachmel at avaya dot com Reported By: rachmel at avaya dot com -Status: Feedback +Status: Open Bug Type: Reproducible crash Operating System: WindRiver Linux PHP Version: 5.1.6 New Comment: Tried the latest CVS version - still crashes, using the same code. Previous Comments: ------------------------------------------------------------------------ [2006-09-27 15:45:27] tony2001@php.net 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 ------------------------------------------------------------------------ [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

« previous php.bugs (#103039) next »