1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 19:23:22 +02:00
Files
archived-php-src/sapi/phpdbg/tests/breakpoints_006.phpt
Gabriel Caruso 4aabfe911e Revert "Update versions for PHP 8.0.21"
This reverts commit 6eedacdf15.
2022-07-06 12:06:48 +02:00

26 lines
361 B
PHP

--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--
<?php
function foo($bar) {
var_dump($bar);
}
foo("test");