Programming Tips - PHP: is there a strict mode for php

Date: 2017apr27 Language: php Q. PHP: is there a strict mode for php A. You can do this:
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);