<?php class Foo { public function __toString() : string { return 'bar'; } } echo (new Foo())->__toString(), PHP_EOL, (new Foo())->__toString()[2], PHP_EOL, (new Foo()), PHP_EOL, ((string)(new Foo()))[2];
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`