ID: 40342
Comment by: judas dot iscariote at gmail dot com
Reported By: garmoan at gmail dot com
Status: Open
Bug Type: Date/time related
Operating System: Mac OS X 10.4
PHP Version: 6CVS-2007-02-03 (CVS)
New Comment:
Works for me, with current CVS HEAD, Linux with unicode.semantics
on/off..
Previous Comments:
------------------------------------------------------------------------
[2007-02-03 14:31:05] garmoan at gmail dot com
Ah, this seems to occur when unicode.semantics is on.
------------------------------------------------------------------------
[2007-02-03 14:18:19] garmoan at gmail dot com
Description:
------------
date() does not seem to return the entire formatting string.
It seems to only parse the first character in the string and ignores
the rest.
Reproduce code:
---------------
echo date('H:i:s');
Expected result:
----------------
01:16:45
Actual result:
--------------
01
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40342&edit=1