Download src/php/php-src/Zend/tests/constexpr/gh9136_2.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/Zend/tests/constexpr/gh9136_2.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/constexpr/gh9136_2.phpt
-
curl -L -o gh9136_2.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/constexpr/gh9136_2.phpt
240 Bytes
| --TEST-- | |
| GH-9136: Assertion when fetching property of magic constant in constant expression with nullsafe operator | |
| --FILE-- | |
| <?php | |
| const C = __file__?->foo; | |
| ?> | |
| --EXPECTF-- | |
| Warning: Attempt to read property "foo" on string in %s on line %d | |