What is the difference between attorney-client privilege and the work product doctrine?

Concerning the answer, first, Pennsylvania had a common law attorney-client privilege, which has now been memorialized in Pennsylvania statutes. In criminal matters, the attorney-client privilege is found at 42 Pa. C.S.A. 5916. For civil litigation, the privilege is found at 42 Pa. C.S.A. 5928. Theses statutory rules in essence deal with confidences and secrets.