Download src/php/php-src/ext/session/tests/010.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 326 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/session/tests/010.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/session/tests/010.phpt
-
curl -L -o 010.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/session/tests/010.phpt
326 Bytes
| --TEST-- | |
| $session_array = explode(";", session_encode()); should not segfault | |
| --EXTENSIONS-- | |
| session | |
| --SKIPIF-- | |
| include('skipif.inc'); | |
| --INI-- | |
| session.use_cookies=0 | |
| session.cache_limiter= | |
| --FILE-- | |
| error_reporting(E_ALL); | |
| $session_array = explode(";", @session_encode()); | |
| print "I live\n"; | |
| --EXPECT-- | |
| I live | |