<?php class foo { function show() { return __CLASS__; } } $key = ''; $arr = array('' => new foo()); var_dump($arr, $key, $arr[$key]->show());
You have javascript disabled. You will not be able to edit any code.