Download src/php/php-src/ext/opcache/tests/opt/gh8140a.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 240 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/opcache/tests/opt/gh8140a.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/opcache/tests/opt/gh8140a.phpt
-
curl -L -o gh8140a.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/opcache/tests/opt/gh8140a.phpt
240 Bytes
| --TEST-- | |
| GH-8140 (Wrong first class callable by name optimization) | |
| --FILE-- | |
| namespace Test; | |
| function greeter(string $name) { | |
| echo "Hello, {$name}!"; | |
| } | |
| $mycallable = greeter(...); | |
| $mycallable("world"); | |
| --EXPECT-- | |
| Hello, world! | |