Download src/php/php-src/Zend/tests/anon/006.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 188 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/anon/006.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/anon/006.phpt
-
curl -L -o 006.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/anon/006.phpt
188 Bytes
| --TEST-- | |
| testing anon classes inside namespaces | |
| --FILE-- | |
| namespace lone { | |
| $hello = new class{} ; | |
| } | |
| namespace { | |
| var_dump ($hello); | |
| } | |
| --EXPECTF-- | |
| object(class@%s)#1 (0) { | |
| } | |