3v4l.org

run code in 300+ PHP versions simultaneously
<?php global $aThing; $aThing= [ 'stuff' => 1, 'more_stuff' => 'The night is dark and full of terror', ]; function checkThing($aThing = null) { global $aThing; var_dump($aThing); }

preferences:
48.39 ms | 402 KiB | 5 Q