fd977f7091
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.
33 linhas
662 B
Plaintext
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
|