Download src/php/php-src/ext/com_dotnet/tests/bug39606.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/com_dotnet/tests/bug39606.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/com_dotnet/tests/bug39606.phpt
-
curl -L -o bug39606.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/com_dotnet/tests/bug39606.phpt
350 Bytes
| --TEST-- | |
| COM: Loading typelib corrupts memory | |
| --EXTENSIONS-- | |
| com_dotnet | |
| --FILE-- | |
| error_reporting(E_ALL); | |
| $arEnv = array_change_key_case($_SERVER, CASE_UPPER); | |
| $root = dirname($arEnv['COMSPEC']); | |
| $typelib = $root.'\activeds.tlb'; | |
| var_dump(com_load_typelib($typelib)); | |
| var_dump(com_load_typelib($typelib)); | |
| --EXPECT-- | |
| bool(true) | |
| bool(true) | |