<?php class ClassWithToString { public function __toString(): string { return 'foo'; } } $c = new ClassWithToString(); var_dump($c++);
You have javascript disabled. You will not be able to edit any code.