The PHP Object-Oriented Programming concepts are: Class Objects Inheritance Interface Abstraction Magic Methods
$o= new \stdClass(); $o->a = 'new object'; OR $o = (object) ['a' => 'new object'];