<?php $arr = ['non-empty']; $obj = (object)$arr; var_dump($obj);
You have javascript disabled. You will not be able to edit any code.