ID: 34792
Updated by: [EMAIL PROTECTED]
Reported By: kallesommer at ofir dot dk
-Status: Open
+Status: Bogus
-Bug Type: Unknown/Other Function
+Bug Type: Date/time related
Operating System: UNIX/Windows
PHP Version: 4.4.0
New Comment:
Please try understand the documentation first before claiming something
is a bug. And check your dictionary for "lowercase" :)
Previous Comments:
------------------------------------------------------------------------
[2005-10-09 12:44:05] kallesommer at ofir dot dk
Description:
------------
If you look up at the manual on date() it says that "l (lowercase 'L')
would give A full textual representation of the day of the week Sunday
through Saturday" but if you look lower it also says "Year: L Whether
it's a leap year 1 if it is a leap year, 0 otherwise."
So if you run your script you would get '1 or 0'...
Reproduce code:
---------------
<?= date('L'); ?>
Expected result:
----------------
I expect to see the name of the weekday..
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34792&edit=1