Download src/php/php-src/Zend/tests/constexpr/gh9136.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 216 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/constexpr/gh9136.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/constexpr/gh9136.phpt
-
curl -L -o gh9136.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/constexpr/gh9136.phpt
216 Bytes
| --TEST-- | |
| GH-9136: Assertion when fetching property of magic constant in constant expression | |
| --FILE-- | |
| <?php | |
| const C = __file__->foo; | |
| ?> | |
| --EXPECTF-- | |
| Warning: Attempt to read property "foo" on string in %s on line %d | |