php8.5
Home/ Manual/ reference / parle/ The Parle\ErrorInfo class

The Parle\ErrorInfo class

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

Intro

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

Class synopsis

class Parle\ErrorInfo { }

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.

Source: reference/parle/parle.errorinfo.xml · from the official PHP manual (php/doc-en)