Download src/php/php-src/ext/simplexml/tests/037.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 200 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/simplexml/tests/037.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/simplexml/tests/037.phpt
-
curl -L -o 037.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/simplexml/tests/037.phpt
200 Bytes
| --TEST-- | |
| SimpleXML: implement Countable | |
| --EXTENSIONS-- | |
| simplexml | |
| --FILE-- | |
| $str = '<xml></xml>'; | |
| $sxe = new SimpleXmlElement($str); | |
| var_dump($sxe instanceof Countable); | |
| --EXPECT-- | |
| bool(true) | |