jaydeep
answered Jul 21 '21 00:00
PHP stdClass is used to create empty class and you can create the property and assign the value dynamically
$phpclass = new stdClass ;
$phpclass->version = 7 ;
we just created new empty class for phpclass and assign property with value for version