Download src/php/php-src/Zend/tests/constants/bug24699.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 224 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/constants/bug24699.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/constants/bug24699.phpt
-
curl -L -o bug24699.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/constants/bug24699.phpt
224 Bytes
| --TEST-- | |
| Bug #24699 (Memory Leak with per-class constants) | |
| --FILE-- | |
| class TEST { const FOO = SEEK_CUR; }; | |
| class TEST2 { const FOO = 1; }; | |
| class TEST3 { const FOO = PHP_VERSION; }; | |
| print TEST::FOO."\n"; | |
| --EXPECT-- | |
| 1 | |