Open
Description
PHP has useful runtime notices that aren't shown by the code runner, making it more difficult to debug PHP code. For example,
<?php
error_reporting(E_ALL);
print $doesntexist;
[][1];
should print:
PHP Notice: Undefined variable: doesntexist in main.php on line 2
PHP Notice: Undefined offset: 1 in main.php on line 3
I know the runner halts and captures when a warning or error is encountered but it doesn't appear to log notices. Is there a good reason not to print these notices on the runner?