Download src/php/php-src/ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 192 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt
-
curl -L -o SimpleXMLElement_getDocNamespaces.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt
192 Bytes
| --TEST-- | |
| Testing getDocNamespaces() with invalid XML | |
| --EXTENSIONS-- | |
| simplexml | |
| --FILE-- | |
| $xml = @new SimpleXMLElement("X",1); | |
| var_dump($xml->getDocNamespaces()); | |
| --EXPECT-- | |
| bool(false) | |