php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3060 Undefined function gmstrftime
Submitted: 1999-12-28 18:05 UTC Modified: 2000-01-07 06:08 UTC
From: leon at leonatkinson dot com Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Beta 3 OS: Windows & Slackware Linux
Private report: No CVE-ID: None
 [1999-12-28 18:05 UTC] leon at leonatkinson dot com
<?
setlocale ('LC_TIME','en_US');
echo strftime ("%b %d %Y %H:%M:%S",mktime(20,0,0,12,31,98))."\n";
echo gmstrftime ("%b %d %Y %H:%M:%S",mktime(20,0,0,12,31,98))."\n";
?>

produces this error:

Fatal error: Call to undefined function: gmstrftime()

I get the same error in 3.0.12, and 3.0.7, BTW.  Yet, I can see in datetime.c that the function is there.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-01-07 06:08 UTC] sas at cvs dot php dot net
The function is called strftime
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 18:01:31 2024 UTC