error_reporting(E_STRICT);I like to do this in all my php programs:
error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE | E_STRICT);This will report all errors:
error_reporting(E_ALL);If you want function call stype checking (a good idea):
declare(strict_types=1);