<?php # Start with an empty array $empty = []; # Type cast this to an object type $empty = (object) $empty; var_dump($empty);
You have javascript disabled. You will not be able to edit any code.