From:             [EMAIL PROTECTED]
Operating system: Linux RedHat 6.1
PHP version:      4.0.4pl1
PHP Bug Type:     Date/time related
Bug description:  Segmentation fault

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.



-- 
Edit Bug report at: http://bugs.php.net/?id=9591&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to