php-src/ext/date/tests/bug43960.phpt

9 lines
186 B
Plaintext
Raw Normal View History

--TEST--
Bug #43960 (strtotime() returns timestamp in the future when given a bogus string)
--FILE--
<?php
var_dump(strtotime('i like to eat slices at work'));
?>
--EXPECT--
bool(false)