3v4l.org

run code in 300+ PHP versions simultaneously
<?php function x($y) { $y['no'] = 'yes'; } $something = array(); x($something); print_r($something);

preferences:
36.63 ms | 402 KiB | 5 Q