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

11 lines
212 B
Plaintext
Raw Normal View History

--TEST--
Bug #43960 (strtotime() returns timestamp in the future when given a bogus string)
2008-01-31 21:36:40 +00:00
--INI--
2008-01-31 21:03:32 +00:00
date.timezone=UTC
--FILE--
<?php
var_dump(strtotime('i like to eat slices at work'));
?>
--EXPECT--
bool(false)