Re: Re: Logical reason for strtotime('east') and strtotime('west') returning valid results?

From: Date: Wed, 07 Apr 2010 08:26:49 +0000
Subject: Re: Re: Logical reason for strtotime('east') and strtotime('west') returning valid results?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-303869@lists.php.net to get a copy of this message
On a related note: does anyone know why php -r "echo date('Y-m-d H:i:s', strtotime('a'));" happily outputs a valid timestamp? And why all other letters work as well (but only one character)? I'm sure there's a good reason for it, it just completely escapes me right now :) Regards Peter -- <hype> WWW: http://plphp.dk / http://plind.dk LinkedIn: http://www.linkedin.com/in/plind Flickr: http://www.flickr.com/photos/fake51 BeWelcome: Fake51 Couchsurfing: Fake51 </hype>

« previous php.general (#303869) next »