Rewritting parser from <function> to <php>