Skip to content

Glossary: PHP Basics

error_reporting() / display_errors

Also written: error_reporting, display_errors, ini_set, E_ALL

Settings that control which problems PHP reports and whether it prints them. Show everything while you build, and turn display off on the live site because messages can reveal file paths.

Where the book teaches it

Related terms

error_log()warningfatal error