You should only apply for the PhD program if you are able to secure other funding for your third (or more) year(s) of study. Check with the Penn department you are interested in applying to about their funding opportunities for PhD programs.