php-src/ext/date/tests/bug37747.phpt
Hannes Magnusson 50de3fd1ce MFH: fix test
2006-06-11 00:18:30 +00:00

12 lines
211 B
PHP

--TEST--
Bug #37747 (strtotime segfaults when given "nextyear")
--FILE--
<?php
date_default_timezone_set("Europe/Oslo");
var_dump(strtotime("nextyear"));
echo "ALIVE\n";
?>
--EXPECT--
bool(false)
ALIVE