laravel降低错误等级
只需要再app/Providers/AppServiceProvider文件夹下添加等级信息即可:
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { // error_reporting(E_ALL^E_WARNING^E_NOTICE); } /** * Register any application services. * * @return void */ public function register() { // } }