<?php class Derp { public function __toString() { return '1'; } } $d = array(new Derp, new Derp, new Derp); var_dump(array_unique($d));
You have javascript disabled. You will not be able to edit any code.