示例#1
0
/**
 * A globally-available function that runs the tests and creates the result page
 *
 */
function phpsecinfo()
{
    // modded this to not throw a PHP5 STRICT notice, although I don't like passing by value here
    $psi = new PhpSecInfo();
    $psi->loadAndRun();
    $psi->renderOutput();
}
示例#2
0
/**
 * A globally-available function that runs the tests and creates the result page
 *
 */
function phpsecinfo()
{
    ini_set('display_errors', 'On');
    error_reporting(E_ALL);
    $psi = new PhpSecInfo();
    $psi->loadAndRun();
    $psi->renderOutput();
}