php-lexer
Hand-written, lazy PHP tokenizer with support for strings, heredoc/nowdoc and inline HTML.
use ;
let mut lexer = new;
loop
Most users want php-rs-parser instead. Part of the rust-php-parser workspace. API reference: docs.rs/php-lexer.
License
BSD 3-Clause