You are here

function FailOnError in geoPHP 7

1 string reference to 'FailOnError'
run_test in geoPHP/tests/test.php

File

geoPHP/tests/test.php, line 254

Code

function FailOnError($error_level, $error_message, $error_file, $error_line, $error_context) {
  echo "{$error_level}: {$error_message} in {$error_file} on line {$error_line}\n";
  echo "\33[31m" . "FAIL" . "\33[39m\n";
  exit(1);
}