<?php class StringableObject { public function __toString(): string { return 'string'; } } $stringable = array_count_values([new StringableObject(), new stdclass]); var_dump($stringable);
You have javascript disabled. You will not be able to edit any code.