xref: /PHP-7.4/ext/com_dotnet/tests/bug72498.phpt (revision 92ac598a)
1--TEST--
2Bug #72498 variant_date_from_timestamp null dereference
3--SKIPIF--
4<?php
5if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present";
6?>
7--FILE--
8<?php
9
10$v1 = PHP_INT_MAX;
11var_dump(variant_date_from_timestamp($v1));
12?>
13--EXPECTF--
14Warning: variant_date_from_timestamp(): Invalid timestamp %d in %sbug72498.php on line %d
15bool(false)
16