class foo{ .... }
Say that class exists in my code, then later on I no longer need this class and wish to remove it (so I can replace it with a
No, you cannot delete or substantially modify PHP classes (or functions) at runtime.