Download src/php/php-src/ext/com_dotnet/tests/bug39596.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 360 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/com_dotnet/tests/bug39596.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/com_dotnet/tests/bug39596.phpt
-
curl -L -o bug39596.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/com_dotnet/tests/bug39596.phpt
360 Bytes
| --TEST-- | |
| Bug #39596 (Creating Variant of type VT_ARRAY) | |
| --EXTENSIONS-- | |
| com_dotnet | |
| --FILE-- | |
| error_reporting(E_ALL); | |
| try { | |
| $binding_string = array('aaa','bbb','ccc'); | |
| $v = new VARIANT( $binding_string, VT_ARRAY ); | |
| foreach ($v AS $element) { | |
| print $element."\n"; | |
| } | |
| } catch (Exception $e) { | |
| print $e; | |
| } | |
| --EXPECT-- | |
| aaa | |
| bbb | |
| ccc | |