Jump to content

Helping Norman


Norman

Recommended Posts

  • Replies 77
  • Created
  • Last Reply

A parsing engine reads through something, like source code, and breaks it up (parses it) into pieces or keywords, called tokens. The parsing engine for PHP parses up PHP code into tokens like variable names, constants, functions, operators, etc before it runs the code. If the parsing engine finds a problem where it can't tell if something is a variable or a string or whatever, or it sees something that it's not expecting, like two strings together without an operator between them, then it will cause a syntax error. A parse error or a syntax error means that the parser could not determine what the code means.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...