Download src/php/php-src/tests/output/ob_011.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 466 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/output/ob_011.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/tests/output/ob_011.phpt
-
curl -L -o ob_011.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/output/ob_011.phpt
466 Bytes
| --TEST-- | |
| output buffering - fatalism | |
| --SKIPIF-- | |
| if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size') && !PHP_DEBUG) { | |
| die('xfail crashes on Windows with JITted release builds'); | |
| } | |
| --FILE-- | |
| function obh($s) | |
| { | |
| return ob_get_flush(); | |
| } | |
| ob_start("obh"); | |
| echo "foo\n"; | |
| --EXPECTF-- | |
| Fatal error: ob_get_flush(): Cannot use output buffering in output buffering display handlers in %sob_011.php on line %d | |