intermediate form of php parsing