We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70ad93d commit dbbb742Copy full SHA for dbbb742
ext/date/tests/gh-124.phpt
@@ -3,7 +3,10 @@ Test for timelib #124: Problem with large negative timestamps
3
--INI--
4
date.timezone=UTC
5
--SKIPIF--
6
-<?php if (PHP_INT_SIZE != 8) echo "skip this test is for 64-bit only"; ?>
+<?php
7
+if (PHP_INT_SIZE != 8) echo "skip this test is for 64-bit only";
8
+if (getenv('SKIP_ASAN')) die('skip triggers undefined behavior');
9
+?>
10
--FILE--
11
<?php
12
var_dump((new DateTime("@-9223372036854775808"))->getTimestamp());
0 commit comments