3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); function foo(){ return 'string'; } $temp =& foo();

preferences:
10.09 ms | 407 KiB | 5 Q