C# Class Pchp.Library.Errors

Mostrar archivo Open project: iolevel/peachpie

Public Methods

Method Description
error_reporting ( Context ctx ) : int

Retrieves the current error reporting level.

error_reporting ( Context ctx, int level ) : int

Sets a new level of error reporting.

Method Details

error_reporting() public static method

Retrieves the current error reporting level.
public static error_reporting ( Context ctx ) : int
ctx Pchp.Core.Context Current runtime context.
return int

error_reporting() public static method

Sets a new level of error reporting.
public static error_reporting ( Context ctx, int level ) : int
ctx Pchp.Core.Context Current runtime context.
level int The new level.
return int