Jump to content

At-ease/ru: Difference between revisions

From mediawiki.org
Content deleted Content added
Meshkov.a (talk | contribs)
Created page with "At-ease"
(No difference)

Revision as of 18:35, 14 March 2017

at-ease is a PHP library that provides a safe alternative to PHP's @ error control operator. See Manual:Coding conventions/PHP#Error handling 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.

Usage

\MediaWiki\suppressWarnings();
file_get_contents( $path );
\MediaWiki\restoreWarnings();

See also

Внимание: Отображаемое название «at-ease/ru» переопределяет ранее заданное отображаемое название «At-ease». [[Category:PHP librariesTemplate:Translation]]