Function for Checking Class Existence in OOP in PHP
Let you have a class Test1 and no
class Test2. Check what the
function class_exists will output
for class Test1
and for class Test2.
Let the class name be passed as a GET parameter in the address bar. Check if such a class exists. Display an appropriate message on the screen.