|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [2001-01-13 22:41 UTC] dirk at rackspace dot com
 <?
        $stamp=time();
   print(date("m d \o\f \t\h\e \w\e\e\k M F Y"));
 
?>
put the above code snippet in a file called test.php - run the php cgi from the command line 
php -q test.php
And it will core 
remove the \o\f \t\h\e \w\e\e\k and it works fine 
This used to work before 4.0.4
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 13:00:01 2025 UTC | 
Fixed in CVS. Note also that "\t" produces a tab character. You probably want to use '\t' with single quotes instead. Or even better, date("m d")." of the week ".date("M F Y");