|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-10-09 13:25 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Jan 27 14:00:02 2026 UTC |
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..