Bug #13411: Documentation of return value of strtotime()

From: Date: Mon, 24 Sep 2001 07:49:56 +0000
Subject: Bug #13411: Documentation of return value of strtotime()
Groups: php.dev php.doc 
Request: Send a blank email to php-dev+get-66450@lists.php.net to get a copy of this message
From: renze@datalink.nl Operating system: Debian GNU/Linux PHP version: 4.0.6 PHP Bug Type: Documentation problem Bug description: Documentation of return value of strtotime() Well... it's just a small thing, but the documentation doesn't mention the return value of the strtotime() function. Ofcourse, if everything goes right, the function returns a timestamp. But the documentation doesn't mention the -1 return value on failure. It's not all that weird ofcourse that it returns -1 io 0 on failure, but it seems to be not so obvious for that practised programmers. * R&zE: -- Edit bug report at: http://bugs.php.net/?id=13411&edit=1

« previous php.dev (#66450) next »