This is just dumb. Protectionism doesn't help anyone, especially not even the people of the country engaging in it. Smoot-Hawley, anyone?
Are you stuck with a legacy PHP application? You should buy my book because it gives you a step-by-step guide to improving your codebase, all while keeping it running the whole time.