mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
16 lines
374 B
PHP
16 lines
374 B
PHP
--TEST--
|
|
Bug #72498 variant_date_from_timestamp null dereference
|
|
--SKIPIF--
|
|
<?php # vim:ft=php
|
|
if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present";
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
|
|
$v1 = PHP_INT_MAX;
|
|
var_dump(variant_date_from_timestamp($v1));
|
|
?>
|
|
--EXPECTF--
|
|
Warning: variant_date_from_timestamp(): Invalid timestamp %d in %sbug72498.php on line %d
|
|
bool(false)
|