xref: /PHP-8.1/ext/com_dotnet/tests/bug62474.phpt (revision 56f90492)
1--TEST--
2Bug #62474 (com_event_sink crashes on certain arguments)
3--EXTENSIONS--
4com_dotnet
5--FILE--
6<?php
7var_dump(com_event_sink(new variant, function() {}, array()));
8var_dump(com_event_sink(new variant, new variant, 'a'));
9?>
10--EXPECT--
11bool(false)
12bool(false)
13