SMD Transistor

The original transistor is marked P1D which is a PMBTA42 I believe

I’m trying to replace it with An A42 transistor are the pin configurations the same or different ?
 

Attachments

  • 88E420E0-D1FE-41BC-8E7D-0B2EFDCAF321.jpg
    88E420E0-D1FE-41BC-8E7D-0B2EFDCAF321.jpg
    1.1 MB · Views: 119
  • 08A28E5B-FB06-4E0D-A1E7-3EED367C7934.jpg
    08A28E5B-FB06-4E0D-A1E7-3EED367C7934.jpg
    768.6 KB · Views: 117