php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9647 Problem with date(), displaying timezone
Submitted: 2001-03-09 05:11 UTC Modified: 2001-04-10 10:54 UTC
From: lukewright199 at looksmart dot com dot au Assigned:
Status: Closed Package: Date/time related
PHP Version: 4.0.4pl1 OS: Windows ME
Private report: No CVE-ID: None
 [2001-03-09 05:11 UTC] lukewright199 at looksmart dot com dot au
When I use the date() function with the "T" parameter, which displays the time zone, the PHP program apparently crashes in MSVCRT.DLL. But when you click OK, the script completes, and the correct information comes up. The other parameters seem to work fine, but the "T" one always crashes (used alone or in a complete date).

I am using Apache Win32 version 1.3.12, with the unmodified CGI version of PHP4. (I am using the GD and PDF extensions.)

The complete Windows fault log follows:
=======================================
PHP caused an invalid page fault in
module MSVCRT.DLL at 0187:7800d269.
Registers:
EAX=00650078 CS=0187 EIP=7800d269 EFLGS=00010206
EBX=00000039 SS=018f ESP=0063fca8 EBP=0063fcc4
ECX=00000050 DS=018f ESI=00795c8c FS=3a8f
EDX=0000003b ES=018f EDI=00000006 GS=0000
Bytes at CS:EIP:
89 5a 04 8b 55 0c 89 4d fc 8b 5a 04 8b 52 08 89 
Stack dump:
00655ecc 00795c90 00656e64 00650dd4 00000000 00000c80 00000050 0063fd08 7800cc3f 0075000c 00795cdc 00655ecc 00000021 00656e64 100ec9f0 780010ed

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-09 06:17 UTC] sniper@php.net
Could you try the latest CVS snapshot build from
http://www.php4win.de/ ?

--Jani

 [2001-04-10 10:54 UTC] sniper@php.net
No feedback. If this happens also with soon to be released PHP 4.0.5, reopen this bug report.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 11:01:30 2024 UTC