How to check if your php files are hacked


I have several wp sites on the same domain and have found they were hacked to redirect. So I have now found a way to check your sites php fix and remove copies,
If you would like to test your site here is my link