blob: 653dab9fccc505ef00516b7a923c4fb5ac920891 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
--TEST--
Test breakpoint into function context
--PHPDBG--
b breakpoints_005.php:4
r
ev $bar
c
q
--EXPECTF--
[Successful compilation of %s]
prompt> [Breakpoint #0 added at %s:4]
prompt> [Breakpoint #0 at %s:4, hits: 1]
>00004: var_dump($bar);
00005: }
00006:
prompt> test
prompt> string(4) "test"
[Script ended normally]
prompt>
--FILE--
<?php
function foo($bar) {
var_dump($bar);
}
foo("test");
|