PHP - know offset error

1

Is there any variable that shows if there is an offset error in php, but no display on the screen? type a function that evaluates? Thanks

    
asked by anonymous 16.11.2016 / 14:02

1 answer

2

It would be like this, it would show in the logs and the screen would not display:

ini_set('display_errors',0);
ini_set('display_startup_erros',0);
error_reporting(E_ALL);

If you change the 0 (zero) by 1, it will also show on the screen.

    
16.11.2016 / 14:38