<?php declare(strict_types=1); class Foo implements stringable { public function __toString(): string { return "John"; } } function bar(string $blah) { echo $blah; } function quux(string|stringable $value) { bar((string)$value); } quux(new Foo);
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`