1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 16:52:18 +01:00
Files
archived-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