pre parser for php