Tool for dealing with legacy PHP code