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

10 lines
220 B
PHP

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