Multiple choice php

Put this line php display_errors=false in a .htaccess file when you deploy the application?

  1. That won't hide any error 'coz you can't use .htaccess to control the PHP engine Bad idea, I want to see when errors occur

  2. That won't hide any error 'coz it's not the correct code

  3. Good idea, increases security

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The correct syntax for setting PHP flags in an Apache .htaccess file is php_flag display_errors off. The provided string php display_errors=false is syntactically incorrect and will not be processed by the PHP engine.