3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php Class getThis(){ public static function RequestFile($file){ session_start(); $_SESSION['request_response'] = $file; return $file; } public static function GetFile(){ session_start(); $response_content = $_SESSION['request_response']; unset($_SESSION['request_response']); return $response_content); } } getThis::("test"); getThis::();
Output for 5.3.0 - 5.4.29
Parse error: syntax error, unexpected '(', expecting '{' in /in/POP30 on line 3
Process exited with code 255.