Download src/php/php-src/sapi/phpdbg/tests/breakpoints_009.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 698 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/phpdbg/tests/breakpoints_009.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/sapi/phpdbg/tests/breakpoints_009.phpt
-
curl -L -o breakpoints_009.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/phpdbg/tests/breakpoints_009.phpt
698 Bytes
| --TEST-- | |
| Test parsing longer opcode | |
| --PHPDBG-- | |
| b ZEND_POST_INC | |
| r | |
| c | |
| q | |
| --EXPECTF-- | |
| [Successful compilation of %s] | |
| prompt> [Breakpoint #0 added at ZEND_POST_INC] | |
| prompt> [Breakpoint #0 in ZEND_POST_INC at %s:3, hits: 1] | |
| >00003: echo $i++; | |
| 00004: echo $i++; | |
| 00005: echo $i++; | |
| prompt> 1 | |
| [Breakpoint #0 in ZEND_POST_INC at %s:4, hits: 2] | |
| >00004: echo $i++; | |
| 00005: echo $i++; | |
| 00006: echo $i++; | |
| prompt> 2 | |
| [Breakpoint #0 in ZEND_POST_INC at %s:5, hits: 3] | |
| >00005: echo $i++; | |
| 00006: echo $i++; | |
| 00007: | |
| prompt> 3 | |
| [Breakpoint #0 in ZEND_POST_INC at %s:6, hits: 4] | |
| >00006: echo $i++; | |
| 00007: | |
| prompt> 4 | |
| [Script ended normally] | |
| prompt> | |
| --FILE-- | |
| $i = 1; | |
| echo $i++; | |
| echo $i++; | |
| echo $i++; | |
| echo $i++; | |