Download src/php/php-src/Zend/tests/constexpr/gh9138_2.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 265 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/constexpr/gh9138_2.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/constexpr/gh9138_2.phpt
-
curl -L -o gh9138_2.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/constexpr/gh9138_2.phpt
265 Bytes
| --TEST-- | |
| GH-9138: NULL pointer dereference when fetching property of "bad" list in constant expression with nullsafe operator | |
| --FILE-- | |
| ([,]?->e) | |
| class Foo {} | |
| --EXPECTF-- | |
| Fatal error: Cannot use empty array elements in arrays in %s on line %d | |