Latte to php tokenizer. Used token_get_all().