xref: /PHP-7.1/ext/com_dotnet/tests/bug72498.phpt (revision 821f13fd)
1--TEST--
2Bug #72498 variant_date_from_timestamp null dereference
3--SKIPIF--
4<?php # vim:ft=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