Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Parle\TokenParle\LexerException>
^ParleLast updated: Mon, 26 Oct 2026

The Parle\ErrorInfo class

(PECL parle >= 0.5.2)

Introduction

The class represents detailed error information as supplied by Parle\Parser::errorInfo()

Class synopsis

class Parle\ErrorInfo {
/* Properties */
public int $id;
public int $position;
public mixed $token;
/* Methods */
}

Properties

id

Error id.

position

Position in the input, where the error occurred.

token

If applicable - the Parle\Token related to the error, otherwise null.


<Parle\TokenParle\LexerException>
^ParleLast updated: Mon, 26 Oct 2026