xref: /PHP-7.4/ext/date/tests/bug36988.phpt (revision ce1d69a1)
1--TEST--
2Bug #36988 (mktime freezes on long numbers)
3--SKIPIF--
4<?php if (PHP_INT_SIZE != 4) echo "skip this test is for 32-bit only"; ?>
5--FILE--
6<?php
7date_default_timezone_set('GMT');
8$start = microtime(true);
9$a = mktime(1, 1, 1, 1, 1, 11111111111);
10?>
11--EXPECTF--
12Warning: mktime() expects parameter 6 to be int, float given in %s on line %d
13