(PECL parle >= 0.5.1)
Parle\Parser::validate — Validate input
Validate an input string. The string is parsed internally, thus this method is useful for the quick input validation.
data
String to be validated.
lexer
A lexer object containing the lexing rules prepared for the particular grammar.
Returns bool witnessing whether the input chimes or not with the defined rules.
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant