Arquivos
hhvm/hphp/test/quick/debugger/printThis.php.expectf
T
Herman Venter fd977f7091 Expose a config file option for turning of colorization in hphpd output.
Expected test output for hphpd command line tests is difficult to read when colorization is present. Although there was an internal switch to turn off colorization (for the benefit of API clients), there was no command line option and no config file option to turn off colorization. This diff adds such an option and also fixes a few places where colorization was added regardless of the value of the internal switch.
2013-06-03 10:54:40 -07:00

33 linhas
662 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.
hphpd> 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