Function for Checking Class Existence in OOP in PHP

class_exists
Задание 1

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.

Задание 2

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.