PHP 4.0 Bug #9591 Updated: Segmentation fault
| From: | sniper@php.net | Date: | Wed, 07 Mar 2001 00:21:58 +0000 |
| Subject: | PHP 4.0 Bug #9591 Updated: Segmentation fault | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-48113@lists.php.net to get a copy of this message | ||
ID: 9591
Updated by: sniper
Reported By: torkel@stjordalsnett.no
Old-Status: Open
Status: Closed
Bug Type: Date/time related
Assigned To:
Comments:
The segfault bug is fixed in CVS already.
FYI (from NEWS file in CVS):
- Added 'r' flag to date() which generates an RFC822 formatted date, e.g.
"Thu, 9 Nov 2000 16:33:01 -0500" (Colin)
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-03-06 19:18:49] torkel@stjordalsnett.no
The following code produces a segmentation fault:
<? echo date('h:i:s <br> d/m-y'); ?>
If i remove the <br> it works just fine.
In the web-browser it outputs wrong day of the month
Example: "12:59:40 3158065/03-01"
In error_log the following message is printed:
"child pid xxxxx exit signal Segmentation fault (11)"
No core dump or any output in gdb
The code above works fine in earlier versions of PHP
I have tried the code with serveral different apache versions,
with different modules/configure options, and with both DSO and static compiles, and on different
computers. Always the same result.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9591&edit=2