4 ms·
You don't turn warnings into error on production but it will help to have them enabled on your local machine, otherwise errors are ignored and you would waste
by simion314 7y ago
You don't turn warnings into error on production but it will help to have them enabled on your local machine, otherwise errors are ignored and you would waste your time debugging weird issues. You can do this per file too using the "ini_set" https://www.php.net/manual/en/function.ini-set.php https://www.php.net/manual/en/function.ini-set.php