Arquivos
hhvm/hphp/test/quick/debugger/printThis.php.expectf
T
Eric Caruso 958df942ce replicating readline control characters in test output
Readline is awful and dumps characters in the output.
This was causing tests to act weird on another build.
2013-06-06 12:00:07 -07:00

33 linhas
664 B
Plaintext

Welcome to HipHop Debugger!
Type "help" or "?" for a complete list of commands.
Program %sprintThis.php loaded. Type '[r]un' or '[c]ontinue' to go.
%Shphpd> break printThis.php:5
Breakpoint 1 set on line 5 of printThis.php
hphpd> run
Breakpoint 1 reached at Foo::method() on line 5 of %sprintThis.php
4 function method() {
5 $other = $this;
6 }
hphpd> print $this
Foo Object
(
[prop] => "Hello\n"
)
hphpd> continue
Breakpoint 1 reached at Foo::method() on line 5 of %sprintThis.php
4 function method() {
5 $other = $this;
6 }
hphpd> print $this
Foo Object
(
[prop] => "Hello\n"
[prop2] => "\tThere"
)
hphpd> quit