What is stdClass in PHP? The stdClass is the empty class that is used to cast other types to object in PHP. 22-August 9:29 PM 544 Views