3v4l.org

run code in 300+ PHP versions simultaneously
<?php function testing($a, $b = 2, $c = [], $d = 'd') { var_dump($a, $b, $c, $d); } testing('o', null, null, 'z');

preferences:
60.29 ms | 402 KiB | 5 Q