Annotation of embedaddon/php/ext/com_dotnet/tests/bug45280.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Bug #45280 (Reflection of instantiated COM classes causes PHP to crash)
                      3: --SKIPIF--
                      4: <?php
                      5: if (!extension_loaded("reflection")){ echo "skip, no reflection support present"; }
                      6: if (!extension_loaded("com_dotnet")){ echo "skip COM/.Net support not present"; }
                      7: ?>
                      8: --FILE--
                      9: <?php
                     10: $dict = new COM("Scripting.Dictionary");
                     11: 
                     12: ob_start();
                     13: ReflectionObject::export($dict);
                     14: ob_get_clean();
                     15: 
                     16: echo 'done';
                     17: ?>
                     18: --EXPECT--
                     19: done

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>