Re: Sniping on the List
| From: | tamouse mailing lists | Date: | Tue, 15 Nov 2011 18:24:17 +0000 |
| Subject: | Re: Sniping on the List | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-315687@lists.php.net to get a copy of this message | ||
On Tue, Nov 15, 2011 at 12:12 PM, Tedd Sperling <tedd.sperling@gmail.com> wrote:
> PS: I know it's not Friday, but this question came up in class yesterday and I thought
> maybe all of you might like to guess why null is Wednesday?
Wait.. What??
$ php -r 'echo date("l",NULL),"\n";'
Wednesday
Cos:
$ php -r 'echo date("r",NULL),"\n";'
Wed, 31 Dec 1969 18:00:00 -0600
(Personally, I would have thought Thursday should be NULL, but that's
just me. And Thursday.)