Doctor Heinz Doofenshmirtz, also known as Dr. Doofenshmirtz or Doof is a fictional character from the cartoon television series Phineas and Ferb and its spin-off Milo Murphy’s Law. He is played by Dan Povenmire. 