changes in parsing of php files - version parsing is now error safe