|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-12-07 09:32 UTC] sniper@php.net
[2001-01-13 20:41 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 09:00:01 2025 UTC |
<?php printf("%s<br>", date("l, F dS, Y: g:i A T")); ?> That crashes PHP. <?php printf("%s<br>", date("l, F dS, Y g:i A T")); ?> That doesn't crash PHP. Notice that there is no colon after the "Y" in this one. PHP will also crash in this case: <?php printf("%s<br>", date("l, F dS, Y")); printf("%s<br>", date("g:i A T")); ?> I'm using the CGI executable version of PHP Win32 (downloaded as a binary from www.php.net) on Apache version 1.3 Win32.