Gets the errors of a lexer and a parser.
public static get ( array $objs ) : array | ||
$objs | array | Objects from where the errors will be extracted. |
return | array | Each element of the array represents an error. `$err[0]` holds the error message. `$err[1]` holds the error code. `$err[2]` holds the string that caused the issue. `$err[3]` holds the position of the string. (i.e. `array($msg, $code, $str, $pos)`) |