at-ease/de

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page At-ease and the translation is 44% complete.
Other languages:
Deutsch • ‎English • ‎Türkçe • ‎dansk • ‎français • ‎polski • ‎русский • ‎فارسی • ‎中文 • ‎日本語 • ‎한국어

at-ease is a PHP library that provides a safe alternative to PHP's @ error control operator. See the "Error handling" section on the PHP coding conventions page on why we don't use @. The code was originally introduced to MediaWiki in r4261, and then split out into a separate library during the MediaWiki 1.26 development cycle.

Verwendung

\Wikimedia\AtEase\AtEase::suppressWarnings();
file_get_contents( $path );
\Wikimedia\AtEase\AtEase::restoreWarnings();

Siehe auch

Externe Links

Warning: Display title "at-ease/de" overrides earlier display title "At-ease".