Download src/php/php-src/sapi/phpdbg/tests/breakpoints_006.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/phpdbg/tests/breakpoints_006.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/sapi/phpdbg/tests/breakpoints_006.phpt
-
curl -L -o breakpoints_006.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/phpdbg/tests/breakpoints_006.phpt
361 Bytes
| --TEST-- | |
| Basic function breakpoints | |
| --PHPDBG-- | |
| b foo | |
| r | |
| c | |
| q | |
| --EXPECTF-- | |
| [Successful compilation of %s] | |
| prompt> [Breakpoint #0 added at foo] | |
| prompt> [Breakpoint #0 in foo() at %s:4, hits: 1] | |
| >00004: var_dump($bar); | |
| 00005: } | |
| 00006: | |
| prompt> string(4) "test" | |
| [Script ended normally] | |
| prompt> | |
| --FILE-- | |
| function foo($bar) { | |
| var_dump($bar); | |
| } | |
| foo("test"); | |