I need to upgrade my site from PHP 4.4 to 5.4. I am concerned about one of the backward incompatible changes. Until 5.4, the EGPCS (Environment, GET, POST, Cookie, Server) variables could be global. For example, you can use $customer_name instead of $_POST[customer_name].
I know that my source code includes some examples of this. I have over 250 php files containing a total of about 20,000 lines of source code. I’m looking for an automated method of finding them.
I would be grateful for any ideas.