3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(); function blaat() { global $a; return $a['foo'] = "bar"; } print blaat()."\n"; print_r($a);