<?php class Test { public function __toString(): string { return '42'; } } $x = new Test(); var_dump($x instanceof Stringable);
You have javascript disabled. You will not be able to edit any code.