barbushin / php-console

Handle PHP errors, dump variables, execute PHP code remotely in Google Chrome
https://chrome.google.com/webstore/detail/php-console/nfhmhhlpfleoednkpnnnkolmclajemef
MIT License
1.34k stars 283 forks source link

Is setting html_errors to false still required? #118

Closed beardedlinuxgeek closed 8 years ago

beardedlinuxgeek commented 8 years ago

I just testing setting it to true and then running

var_dump($result);
\PC::debug($result);
trigger_error("Test Error", E_USER_WARNING);
throw new \Exception("Test Exception");

xdebug prints a correctly formatted var_dump to the screen, and PhpConsole correctly prints the object, error, and exception to the console.

PHP v5.6 Chrome x49