Saving class properties and methods with xml

I know that using get_class_vars and get_class_methods you can get the properties and methods of the class, but you need to implement the business logic yourself. Because the task assigned by the teacher is a little tight, ask if php has a special class library, you can operate on a class directly and save its properties and methods as xml.

Feb.27,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34ede-2bf5a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34ede-2bf5a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?