A port of Ruby's StringScanner lexical scanner to PHP