Download src/php/php-src/ext/com_dotnet/tests/bug45280.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 286 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/com_dotnet/tests/bug45280.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/com_dotnet/tests/bug45280.phpt
-
curl -L -o bug45280.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/com_dotnet/tests/bug45280.phpt
286 Bytes
| --TEST-- | |
| Bug #45280 (Reflection of instantiated COM classes causes PHP to crash) | |
| --EXTENSIONS-- | |
| com_dotnet | |
| --FILE-- | |
| $dict = new COM("Scripting.Dictionary"); | |
| $reflection = new ReflectionObject($dict); | |
| ob_start(); | |
| echo $reflection; | |
| ob_get_clean(); | |
| echo 'done'; | |
| --EXPECT-- | |
| done | |