Download src/php/php-src/ext/com_dotnet/tests/saproxy_instantiate.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 296 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/com_dotnet/tests/saproxy_instantiate.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/com_dotnet/tests/saproxy_instantiate.phpt
-
curl -L -o saproxy_instantiate.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/com_dotnet/tests/saproxy_instantiate.phpt
296 Bytes
| --TEST-- | |
| Manual instantiation of com_safearray_proxy is not allowed | |
| --EXTENSIONS-- | |
| com_dotnet | |
| --FILE-- | |
| try { | |
| new com_safearray_proxy(); | |
| } catch (Error $e) { | |
| echo $e->getMessage(), PHP_EOL; | |
| } | |
| --EXPECT-- | |
| Cannot directly construct com_safeproxy_array; it is for internal usage only | |