<?php class Test { function __toString() { return 'Test'; } } $a = array(); $b = new Test(); var_dump($a[$b]);
You have javascript disabled. You will not be able to edit any code.