message = sprintf("Error at line %u, column %u: %s", $line, $column, $this->message ); /*/ get line of source code where error is and construct a ____^ thingy to show error on next line $lines = preg_split( '/\\R/', $source ); $context = $lines[ $line - 1 ] ."\n". str_repeat(' ', max(0,$column-2) ).'^';*/ } }