php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8292 date crash
Submitted: 2000-12-16 10:16 UTC Modified: 2001-01-09 23:06 UTC
From: edasx at worldoffreegames dot com Assigned:
Status: Closed Package: Date/time related
PHP Version: 4.0.3pl1 OS: Win32 - Win98SE
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: edasx at worldoffreegames dot com
New email:
PHP Version: OS:

 

 [2000-12-16 10:16 UTC] edasx at worldoffreegames dot com
$epochtime=time();
$datesx = date("jS F Y H:i T",$epochtime);

the problem on my machine is the "T" character which should display the timezone. this causes a crash of php.exe

the timezone is displayed in somehow long way, but the crash is 100%.

my timezone accoriding to php "Central Europe Standard Time "

PHP caused an invalid page fault in
module PHP4TS.DLL at 0167:10087d95.
Registers:
EAX=6d695420 CS=0167 EIP=10087d95 EFLGS=00010202
EBX=00000000 SS=016f ESP=0063fca4 EBP=780010ed
ECX=00790065 DS=016f ESI=00797c30 FS=7977
EDX=00790065 ES=016f EDI=00654240 GS=0000
Bytes at CS:EIP:
89 48 04 a1 88 9f 0f 10 85 c0 74 5c ff d0 5f 5e 
Stack dump:
00761508 00797c70 10082adc 00797c40 007613bc 00761508 0063fd0c 00000000 10082a63 00761508 00797c70 00761370 1008ec1f 00761508 1008d509 00761370 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-09 23:06 UTC] david@php.net
Fixed buffer overrun in CVS.
However should this function be using the long version of the timezone anyway?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 13:01:30 2024 UTC