Download src/php/php-src/sapi/phpdbg/tests/gh13827.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 491 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/phpdbg/tests/gh13827.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/sapi/phpdbg/tests/gh13827.phpt
-
curl -L -o gh13827.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/phpdbg/tests/gh13827.phpt
491 Bytes
| --TEST-- | |
| GH-13827 (Null pointer access of type 'zval' in phpdbg_frame) | |
| --FILE-- | |
| $fiber = new Fiber(function () { | |
| $fiber = Fiber::getCurrent(); | |
| Fiber::suspend(); | |
| }); | |
| $fiber->start(); | |
| $fiber = null; | |
| gc_collect_cycles(); | |
| --PHPDBG-- | |
| r | |
| t | |
| q | |
| --EXPECTF-- | |
| [Successful compilation of %s] | |
| prompt> [Uncaught GracefulExit in on line 0: ] | |
| >00006: Fiber::suspend(); | |
| 00007: }); | |
| 00008: | |
| prompt> frame #0: {closure:%s:%d}() at %s:6 | |
| => {closure:%s:%d} (internal function) | |
| prompt> | |