blob: cbe5042c2be9d23dd69a0a446baa294088923f9a (
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
29
30
31
32
33
34
|
--TEST--
Test namespaced and non-lowercase breakpoint names
--PHPDBG--
b foo\bar::foo
b \Foo\Bar::Foo
r
c
q
--EXPECTF--
[Successful compilation of %s]
prompt> [Breakpoint #0 added at foo\bar::foo]
prompt> [Breakpoint exists at Foo\Bar::Foo]
prompt> [Breakpoint #0 in foo\bar::foo() at %s:6, hits: 1]
>00006: var_dump($bar);
00007: }
00008: }
prompt> string(4) "test"
[Script ended normally]
prompt>
--FILE--
<?php
namespace Foo {
class Bar {
function Foo($bar) {
var_dump($bar);
}
}
}
namespace {
(new \Foo\Bar)->Foo("test");
}
|