// Creating an object $object = new stdClass(); // Property added to the object $object->property = 'Property_value';