3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test(array $id = array('test' => 'data')){ var_dump($id) . "<br/>"; } test(); test(array()); test(array('new'));

preferences:
50.97 ms | 402 KiB | 5 Q