php-src/sapi/phpdbg/tests/breakpoints_007.phpt
Bob Weinand 378a05f0de Move phpdbg tests to .phpt mechanism
Also add a few more in-depth tests related to $argv, breakpoints and uncaught exceptions
2015-07-20 18:00:43 +02:00

26 lines
355 B
PHP

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