Prev: Logical reason for strtotime('east') and strtotime('west')returning valid results?
Next: Who uses Mantis, please help!
From: Peter Lind on 7 Apr 2010 04:26 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> |