= 7 && $debugOn)
{
if (ini_get('zend.assertions') == 0)
{
ini_set('zend.assertions', '1');
}
ini_set('assert.exception', '0');
}
function assertFailureInBrowser($file, $line, $message)
{
echo '';
echo "ASSERTION FAILED in $file on line $line";
if (is_string($message) && !empty($message))
{
echo ": assert('$message'); "; // Not Coding Standard
}
echo '
';
}
function assertFailureInCli($file, $line, $message)
{
throw new FailedAssertionException($file, $line, $message);
}
?>