1--TEST-- 2Basic method breakpoints 3--PHPDBG-- 4b bar::foo 5r 6q 7--EXPECTF-- 8[Successful compilation of %s] 9prompt> [Breakpoint #0 added at bar::foo] 10prompt> [Breakpoint #0 in bar::foo() at %s:5, hits: 1] 11>00005: var_dump($bar); 12 00006: } 13 00007: } 14prompt> 15--FILE-- 16<?php 17 18class bar { 19 function foo($bar) { 20 var_dump($bar); 21 } 22} 23 24(new bar)->foo("test"); 25