3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function bar(string $arg) { return $arg; } } $foo = new Foo(); try { var_dump($foo->bar(0xf4c3b00c)); } catch (Error $e) { echo '!!!' . $e->getMessage() . '!!!'; }

preferences:
53.09 ms | 402 KiB | 5 Q