3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('zend.exception_ignore_args', '1'); try { match (1) { }; } catch (Error $e) { echo $e->getMessage(), PHP_EOL; } try { match ("foo bar baz foo bar baz") { }; } catch (Error $e) { echo $e->getMessage(), PHP_EOL; }

preferences:
30.84 ms | 404 KiB | 5 Q