Hello PHP DEV, I Want to know why this strange thing is happening! Example : strtotime(“+1 days”) returns time as UTC TIME which is current Time so why strtotime(‘tomorrow’) returns time as 00:00:00. I noticed this show wants to know the official reason behind this. Answer strtotime(“+1 days”) uses current time and adds a day strtotime(‘tomorrow’) returns tomorrow at midnight
Tag: phpdebugbar
Laravel Lumen 5.7, debugbar throw Call to a member function listen on null
I’m trying to use the debugbar with lumen and jenssegers/laravel-mongodb , it wasn’t showing the database queries so I enabled. DB::connection(‘mongodb’)->enableQueryLog(); But now it shows this error. `Call to a member function listen() on null in LaravelDebugbar.php line 354` Another thing is that it only displays the debugbar on the home URL /, other than home URL it doesn’t display the debugbar.