[PHP-DOC] Bug #13411 Updated: Documentation of return value of strtotime() From: renze <email protected>
Date: 09/24/01

ID: 13411
User updated by: renze <email protected>
Reported By: renze <email protected>
Status: Open
Bug Type: Documentation problem
Operating System: Debian GNU/Linux
PHP Version: 4.0.6
New Comment:

Oops... ofcourse that last should be; for the _not_ so practised programmers :)
Sorry...

Previous Comments:
------------------------------------------------------------------------

[2001-09-24 03:49:56] renze <email protected>

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 this bug report at http://bugs.php.net/?id=13411&edit=1