18 Pa.C.S.A. §3127.  Indecent exposure.

(a)  Offense defined.–A person commits indecent exposure if that person exposes his or her genitals in any public place or in any place where there are present other persons under circumstances in which he or she knows or should know that this conduct is likely to offend, affront or alarm.

(b)  Grading.–If the person knows or should have known that any of the persons present are less than 16 years of age, indecent exposure under subsection (a) is a misdemeanor of the first degree. Otherwise, indecent exposure under subsection (a) is a misdemeanor of the second degree.