Laravel 4.2 - PHP Error reporting turned off -
my laravel 4.2 application runs happily undefined variables or array indexes.
i have placed
ini_set('display_errors',1); error_reporting(e_all|e_strict);
in many places in code in attempt happen.
the php.ini contains
error_reporting = e_all
debugging true in app.php.
i have grep'd of laravel , vendor code , code locations error reporting may have been turned off, none seems relevant.
non-laravel web applications on same server crash and/or report these kinds of errors.
php 5.6.8 on fedora , 5.5. on centos.
why not see notices, warnings? level of error, php should throwing exceptions on undefined variables , array element accesses.
e.g. $object['member']
array "$object" has no key "member" should cause error.
Comments
Post a Comment