3v4l.org

run code in 300+ PHP versions simultaneously
_GET _POST _COOKIE _FILES argv argc _SERVER GLOBALS <?php $_COOKIE['GLOBALS'] = 'print_r'; $_FILES['print_r'] = 'apoop'; $_POST['print_r'] = 'GLOBALS'; $GLOBALS= $GLOBALS['next']= next($GLOBALS)[ $next['next']= next($GLOBALS)['GLOBALS'] ][ $next['GLOBALS']=next($GLOBALS)[$next['next']] ][ $next['GLOBALS']=next($next['GLOBALS']) ][ $next['next']($next['GLOBALS']) ] =next(neXt($next['next'])); ?>

preferences:
32.83 ms | 402 KiB | 5 Q