xref: /PHP-8.2/ext/com_dotnet/tests/bug79248.phpt (revision 56f90492)
1--TEST--
2Bug #79248 (Traversing empty VT_ARRAY throws com_exception)
3--EXTENSIONS--
4com_dotnet
5--FILE--
6<?php
7$v = new variant([], VT_ARRAY);
8foreach ($v as $el) {
9    var_dump($el);
10}
11echo "done\n";
12?>
13--EXPECT--
14done
15