Download src/php/php-src/Zend/tests/gh15976/interface-names.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 312 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/gh15976/interface-names.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/gh15976/interface-names.phpt
-
curl -L -o interface-names.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/gh15976/interface-names.phpt
312 Bytes
| --TEST-- | |
| GH-15976: Bad interface names | |
| --FILE-- | |
| <?php | |
| interface _ {} | |
| interface bool {} | |
| ?> | |
| --EXPECTF-- | |
| Deprecated: Using "_" as an interface name is deprecated since 8.4 in %sinterface-names.php on line 3 | |
| Fatal error: Cannot use "bool" as an interface name as it is reserved in %sinterface-names.php on line 4 | |