Download src/php/php-src/ext/com_dotnet/tests/bug79299.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 365 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/com_dotnet/tests/bug79299.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/com_dotnet/tests/bug79299.phpt
-
curl -L -o bug79299.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/com_dotnet/tests/bug79299.phpt
365 Bytes
| --TEST-- | |
| Bug #79299 (com_print_typeinfo prints duplicate variables) | |
| --EXTENSIONS-- | |
| com_dotnet | |
| --FILE-- | |
| $dict = new COM("Scripting.Dictionary"); | |
| ob_start(); | |
| com_print_typeinfo($dict); | |
| $typeinfo = ob_get_clean(); | |
| preg_match_all('/\/\* DISPID=9 \*\//', $typeinfo, $matches); | |
| var_dump($matches[0]); | |
| --EXPECT-- | |
| array(1) { | |
| [0]=> | |
| string(14) "/* DISPID=9 */" | |
| } |