![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Bug #49192 (PHP crashes when GC invoked on COM object) ! 3: --SKIPIF-- ! 4: <?php ! 5: if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present"; ?> ! 6: --FILE-- ! 7: <?php ! 8: ! 9: $dbConnection = new Com('ADODB.Connection'); ! 10: var_dump(gc_collect_cycles()); ! 11: ?> ! 12: --EXPECT-- ! 13: int(0)