A defendant's Miranda rights or Miranda warnings in Pennsylvania would be as one, in large part, sees on TV. A defendant has the right to remain silent. Anything that the person says would be used against him in a court of law. They have the right to an attorney. An attorney would be provided to them if they're not able to afford an attorney. Those are the classic Miranda rights.
Miranda rights, it's not like on TV in a sense that when a person's getting arrested and, for example, put into the patrol car, the police officer is reading the person him or her Miranda rights. That's not how it technically works. The Miranda rights would only come into play when a person is subject to a custodial questioning, meaning that they are in police custody and being questioned. Just being in the back of a patrol car, as burdensome as that may be, does not mean you're being subject to a custodial questioning. The two would both have to apply for a person's Miranda rights to be applicable.
Having an experienced Pennsylvania criminal defense attorney will be your best ally to help you protect and defend your rights.