Function for Getting Class Properties in OOP in PHP

get_class_vars
Задание 1

Create a Test class with public properties prop1 and prop2, as well as with private properties prop3 and prop4.

Задание 2

Call the get_class_vars function from outside the Test class. Output the array of available properties.

Задание 3

Call the get_class_vars function inside the Test class (for example, in the constructor). Output the array of available properties.