Download src/php/php-src/ext/com_dotnet/tests/bug78650.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 489 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/com_dotnet/tests/bug78650.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/com_dotnet/tests/bug78650.phpt
-
curl -L -o bug78650.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/com_dotnet/tests/bug78650.phpt
489 Bytes
| --TEST-- | |
| Bug #78650 (new COM Crash) | |
| --EXTENSIONS-- | |
| com_dotnet | |
| --FILE-- | |
| $fname = __DIR__ . '/bug78650/foo/bar'; | |
| mkdir($fname, 0777, true); | |
| $fso = new COM("Scripting.FileSystemObject"); | |
| $folder = $fso->GetFolder($fname); | |
| $folder->ParentFolder->Name = 'baz'; | |
| print('OK'); | |
| --EXPECT-- | |
| OK | |
| --CLEAN-- | |
| @rmdir(__DIR__ . '/bug78650/foo/bar'); | |
| @rmdir(__DIR__ . '/bug78650/foo'); | |
| rmdir(__DIR__ . '/bug78650/baz/bar'); | |
| rmdir(__DIR__ . '/bug78650/baz'); | |
| rmdir(__DIR__ . '/bug78650'); | |