xref: /PHP-7.0/ext/date/tests/bug37747.phpt (revision 50de3fd1)
1--TEST--
2Bug #37747 (strtotime segfaults when given "nextyear")
3--FILE--
4<?php
5    date_default_timezone_set("Europe/Oslo");
6    var_dump(strtotime("nextyear"));
7	echo "ALIVE\n";
8?>
9--EXPECT--
10bool(false)
11ALIVE
12