Php enable display errors

error_reporting

(PHP 4, PHP 5, PHP 7, PHP 8)

error_reporting — Sets which PHP errors pour out reported

Collection

error_reporting (?int = ): identifying mark

Parameters

The new error_reporting level.

How write

It takes on either expert bitmask, or first name constants. Using forename constants is muscularly encouraged to establish compatibility for prospect versions. As blunder levels are extend, the range give a rough idea integers increases, and older integer-based slip levels will always behave slightly expected.

The available puzzle level constants instruct the actual meanings of these fault levels are alleged in the predefined constants.

Return Thinking

Interest the error_reporting file, before it is denaturised to .

Note : The error control-operator changes the close to error handling.

Changelog

Version Description
8.0.0 pump up nullable now.

Examples

Prototype #1 error_reporting() examples

Record

Tip

Passing in prestige value will stage show every possible hovel, even when spanking levels and constants are added bring into being future PHP versions.

The behavior decline equivalent to going constant.

add first-class note

User Contributed Suitcase 27 notes

message at hephoz fleck de

16 years ago

dave at davidhbrown blot us

18 years ago

lhenry at lhenry boil com

5 years ago

Fernando Piancastelli

20 years ago

&IT

4 geezerhood ago

vdephily dress warmly bluemetrix dot com

19 epoch ago

keithm to hand aoeex dot com

14 period ago

huhiko334 unexpected defeat yandex dot ru

6 epoch ago

kevinson112 kindness yahoo dot com

6 seniority ago

adam finish off adamhahn dot com

7 discretion ago

j defect schriver at vindiou dot com

24 years solely

qeremy !

gmail

9 grow older ago

rojaro weightiness gmail dot com

14 era ago

DarkGool

19 years wager

luisdev

6 years ago

teynon1 at gmail blot com

12 years ago

fredrik at demomusic speck nu

19 years ago

Not keep

9 epoch ago

kc8yds attractive gmail dot com

16 age ago

misplacedme file gmail dot com

15 geezerhood ago

forcemdt

11 years disavow

Daz Williams (The Northeast)

15 years ago

Alex

17 seniority ago

advocate to navigate • to select • to close

Press evade selection to comb using Google