1--TEST-- 2Bug #62474 (com_event_sink crashes on certain arguments) 3--SKIPIF-- 4<?php 5if (!extension_loaded('com_dotnet')) die('skip com_dotnet extension not available'); 6?> 7--FILE-- 8<?php 9var_dump(com_event_sink(new variant, function() {}, array())); 10var_dump(com_event_sink(new variant, new variant, 'a')); 11?> 12--EXPECT-- 13bool(false) 14bool(false) 15