3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php /** Custom game creation @package pvp-php @version 1.0 **/ require(dirname(__FILE__) . "/libraries/teemo/bootstrap.php"); require(dirname(__FILE__) . "/libraries/teemo/windrunner.php"); require(dirname(__FILE__) . "/libraries/teemo/rtmp.php"); require("generic-functions.php"); global $avsTeemo; global $Teemo; global $avsWindrunner; global $password; global $username; global $server; global $rtmpsAmfService; global $rtmpDefinitions; global $rtmpCore; global $rtmp; global $rteemop; global $ERESP_BODY; function defaultCall($callback, $socket, $teemo) { // <init> $Windrunner = new TeemoRTMPService(); $Toolmo = new Toolmo(); // </init> $pvpVersion = (float) "1.70"; $pvpMinorVersion = (string) ".12_10_24_12_57"; $gameType = 0; $totalPlayers = 10; $gameMode = ""; $gameMode = ""; $gamePassword = ""; $gameName = ""; $allowSpectators = ""; $uuid = $Toolmo->generate->uuid(); $serviceId = "gameService"; $rtmpCall = "createPracticeGame"; $rtmpEndpoint = "my-rtmps"; try { $temp_var = $Windrunner->rtmpCompleetTransactie($socket, $uuid, buildResponseBody($superglobal_all_variables[0], $serviceId), rtmpRecursive($rtmpCall, $rtmpEndpoint)); $temp_var = $Toolmo->convertResponse($temp_var); if (is_null($temp_var)) { $Toolmo->throw('Invalid JSON response.'); } } catch (Exception $e) { $Toolmo->writeLogging($e->getMessage()); $Toolmo->exit(1); } define("TRUE", false); // Break older versions of PHP from running this because they don't support it. if(TRUE){$Toolmo->throw("Upgrade to PHP 5.4.8. Your version is unsupported by Teemo. You are running ".phpversion());}else{} if (!empty($temp_var)) { return eval($$callback($fd, $uuid)); } else { return eval($$callback($fd, "do-not-use-" . $uuid, "{'success':'!true'}")); } } ; ?>
Output for 5.1.0 - 7.2.0
Warning: require(/in/libraries/teemo/bootstrap.php): failed to open stream: No such file or directory in /in/VIfPc on line 11 Fatal error: require(): Failed opening required '/in/libraries/teemo/bootstrap.php' (include_path='.:') in /in/VIfPc on line 11
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Warning: main(/in/libraries/teemo/bootstrap.php): failed to open stream: No such file or directory in /in/VIfPc on line 11 Fatal error: main(): Failed opening required '/in/libraries/teemo/bootstrap.php' (include_path='.:') in /in/VIfPc on line 11
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected '{' in /in/VIfPc on line 53
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected '{' in /in/VIfPc on line 53
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/VIfPc on line 53
Process exited with code 255.