Function for Getting Object Properties in OOP in PHP

get_object_vars
Задание 1

Create a Test class with public properties prop1 and prop2, as well as with private properties prop3 and prop4. Create an object of this class. Using the get_object_vars function, get an array of properties of the created object.