Upcoming Critical PHP Security Release

The StreamErrorMode Enum

(PHP 8 >= 8.6.0)

Introduzione

The StreamErrorMode enum specifies how the errors of a stream operation are reported. It is the value of the error_mode stream context option.

Sommario dell'enumerazione

enum StreamErrorMode
{
case Error ; // Errors are reported as diagnostics, such as E_WARNING. This is the default.

case Exception ; // A StreamException is thrown for terminating errors.

case Silent ; // Errors are not reported.

}
+add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top