Download src/php/php-src/ext/com_dotnet/tests/bug79248.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 219 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/com_dotnet/tests/bug79248.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/com_dotnet/tests/bug79248.phpt
-
curl -L -o bug79248.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/com_dotnet/tests/bug79248.phpt
219 Bytes
| --TEST-- | |
| Bug #79248 (Traversing empty VT_ARRAY throws com_exception) | |
| --EXTENSIONS-- | |
| com_dotnet | |
| --FILE-- | |
| $v = new variant([], VT_ARRAY); | |
| foreach ($v as $el) { | |
| var_dump($el); | |
| } | |
| echo "done\n"; | |
| --EXPECT-- | |
| done | |