1. If there is a semicolon (not enabled) or display_errorsOff in front of display_errors in php. ini, is it meaningless to set the php error display using the display_errors () function in the php program? 2. If error_reporting... 1 in php. ini, if display_errors in php. ini contains a semicolon (not enabled) or
display_errors = Off, So the php program uses
display_errors()Is it meaningless to set the php error display function?
2. If the error display level of error_reporting in php. ini is dependent on this filedisplay_errors, That isdisplay_errorsIsonerror_reportingIs the setting meaningful?
3. If the error level is set for error_reporting in php. ini, the php program also useserror_reporting()If the function sets the php error display level, does it conflict? If no conflict exists, who has a higher priority?
Reply content:
1. If display_errors in php. ini is preceded by a semicolon (not enabled) ordisplay_errors = Off, So the php program usesdisplay_errors()Is it meaningless to set the php error display function?
2. If the error display level of error_reporting in php. ini is dependent on this filedisplay_errors, That isdisplay_errorsIsonerror_reportingIs the setting meaningful?
3. If the error level is set for error_reporting in php. ini, the php program also useserror_reporting()If the function sets the php error display level, does it conflict? If no conflict exists, who has a higher priority?
A:
Function priority is high. Because the configuration fileStartAnd the function isRuntime.