MediaWiki  REL1_19
PHPVersionError.php File Reference

Go to the source code of this file.

Functions

 wfPHPVersionError ($type)
 Display something vaguely comprehensible in the event of a totally unrecoverable error.

Function Documentation

wfPHPVersionError ( type)

Display something vaguely comprehensible in the event of a totally unrecoverable error.

Does not assume access to *anything*; no globals, no autloader, no database, no localisation. Safe for PHP4 (and putting this here means that WebStart.php and GlobalSettings.php no longer need to be).

Calling this function kills execution immediately.

Parameters:
$typeString Which entry point we are protecting. One of:
Note:
Since we can't rely on anything, the minimum PHP versions and MW current version are hardcoded here

Definition at line 19 of file PHPVersionError.php.

References echo.