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