[phpreprocessor] fixed bug in extract token excluding logic