3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Multi instance support was written by Krunch if (!isset($_SESSION['user_id']) || isset($_GET["instance"])) { if (isset($_POST["instance"])) { $serverinstance = intval($_POST["instance"]); } else if (isset($_GET["instance"])) { if ($_GET["instance"] > 0) { $serverinstance = intval($_GET["instance"]); } else { $serverinstance = 1; } } else { $serverinstance = 1; } $_SESSION["serverinstance"] = $serverinstance; $_SESSION["patharma"] = $patharma = realpath(dirname(__FILE__) . "/../../.."); $settings = simplexml_load_file($patharma."\\C:\xampp\htdocs\@dayzcc_config\\$serverinstance\\settings.xml", true); $hive = parse_ini_file($patharma."\\@dayzcc_config\\$serverinstance\\HiveExt.ini", true); $_SESSION["servermodlist"] = $servermodlist = (string)$settings->section[1]->setting[1]; $_SESSION["serverip"] = $serverip = (string)$settings->section[2]->setting[2]; $_SESSION["serverport"] = $serverport = (string)$settings->section[3]->setting[3]; $_SESSION["rconpassword"] = $rconpassword = (string)$settings->section[4]->setting[4]; $_SESSION["dbhost"] = $dbhost = $hive["Database"]["Host"]; $_SESSION["dbport"] = $dbport = $hive["Database"]["Port"]; $_SESSION["dbuser"] = $dbuser = $hive["Database"]["Username"]; $_SESSION["dbpass"] = $dbpass = $hive["Database"]["Password"]; $_SESSION["dbname"] = $dbname = $hive["Database"]["Database"]; $dbh = new mysqli($dbhost.':'.$dbport, $dbuser, $dbpass, $dbname); if ($dbh->connect_errno) { echo $dbh->connect_error; exit; } $sth = $dbh->prepare("select world.name from instance inner join world on instance.world_id = world.id where instance.id = ?"); $sth->bind_param("i", $serverinstance); $sth->execute() or die($sth->error); $sth->bind_result($serverworld); $sth->fetch() or die($sth->error); $sth->close(); $_SESSION["serverworld"] = $serverworld; } else { $serverinstance = $_SESSION["serverinstance"]; $patharma = $_SESSION["patharma"]; $servermodlist = $_SESSION["servermodlist"]; $serverip = $_SESSION["serverip"]; $serverport = $_SESSION["serverport"]; $rconpassword = $_SESSION["rconpassword"]; $dbhost = $_SESSION["dbhost"]; $dbport = $_SESSION["dbport"]; $dbuser = $_SESSION["dbuser"]; $dbpass = $_SESSION["dbpass"]; $dbname = $_SESSION["dbname"]; $serverworld = $_SESSION["serverworld"]; } $sitename = "DayZ Controlcenter (Instance ".$serverinstance.")"; $exeserver = "arma2oaserver_".$serverinstance.".exe"; $pathserver = $patharma."\\@dayzcc_config\\".$serverinstance."\\".$exeserver; ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.4.10.0060.00318.04
8.3.140.0050.00316.88
8.3.130.0130.00318.56
8.3.120.0080.00019.07
8.3.110.0060.00320.94
8.3.100.0060.00324.06
8.3.90.0030.00726.77
8.3.80.0050.00517.00
8.3.70.0070.00716.63
8.3.60.0070.01416.75
8.3.50.0090.01022.16
8.3.40.0060.01218.88
8.3.30.0080.00819.09
8.3.20.0070.00020.34
8.3.10.0080.00023.65
8.3.00.0040.00419.16
8.2.260.0090.00618.50
8.2.250.0170.00716.86
8.2.240.0030.00519.04
8.2.230.0060.00322.58
8.2.220.0060.00337.54
8.2.210.0040.00426.77
8.2.200.0080.00016.75
8.2.190.0070.01517.00
8.2.180.0160.00316.75
8.2.170.0110.00419.39
8.2.160.0130.00622.96
8.2.150.0040.00425.66
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00422.26
8.2.110.0000.01121.12
8.2.100.0070.00420.07
8.2.90.0050.00319.33
8.2.80.0000.00817.97
8.2.70.0080.00017.75
8.2.60.0080.00018.18
8.2.50.0000.00818.07
8.2.40.0030.00618.47
8.2.30.0040.00418.25
8.2.20.0080.00018.03
8.2.10.0040.00418.16
8.2.00.0000.00817.91
8.1.310.0040.00416.81
8.1.300.0100.01018.47
8.1.290.0110.00018.88
8.1.280.0140.00725.92
8.1.270.0030.00623.92
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00323.96
8.1.230.0110.00017.82
8.1.220.0080.00017.89
8.1.210.0030.00518.77
8.1.200.0070.00317.36
8.1.190.0050.00317.35
8.1.180.0030.00618.10
8.1.170.0000.00818.78
8.1.160.0030.00719.05
8.1.150.0030.00618.75
8.1.140.0050.00317.59
8.1.130.0000.00717.95
8.1.120.0050.00217.57
8.1.110.0000.01117.58
8.1.100.0000.00817.48
8.1.90.0050.00217.55
8.1.80.0000.00717.56
8.1.70.0040.00417.54
8.1.60.0050.00317.70
8.1.50.0080.00017.55
8.1.40.0000.00817.63
8.1.30.0080.00017.66
8.1.20.0040.00417.79
8.1.10.0000.00817.62
8.1.00.0000.00817.62
8.0.300.0000.00718.77
8.0.290.0050.00516.88
8.0.280.0070.00018.61
8.0.270.0070.00017.37
8.0.260.0000.00617.29
8.0.250.0030.00317.12
8.0.240.0060.00317.05
8.0.230.0060.00317.09
8.0.220.0000.00717.08
8.0.210.0000.00717.13
8.0.200.0030.00317.04
8.0.190.0060.00317.11
8.0.180.0040.00417.07
8.0.170.0040.00417.00
8.0.160.0040.00417.10
8.0.150.0070.00017.04
8.0.140.0000.00717.06
8.0.130.0000.00513.45
8.0.120.0040.00415.25
8.0.110.0050.00315.28
8.0.100.0060.00315.18
8.0.90.0040.00415.33
8.0.80.0070.00615.25
8.0.70.0030.00515.20
8.0.60.0050.00515.24
8.0.50.0070.00315.31
8.0.30.0090.00616.08
8.0.20.0090.00516.15
8.0.10.0050.00215.42
8.0.00.0050.01115.80
7.4.330.0000.00515.00
7.4.320.0000.00716.72
7.4.300.0070.00016.56
7.4.290.0020.00516.65
7.4.280.0060.00316.51
7.4.270.0030.00316.55
7.4.260.0030.00316.59
7.4.250.0000.00814.97
7.4.240.0020.00515.53
7.4.230.0040.00414.95
7.4.220.0060.00915.07
7.4.210.0050.00915.86
7.4.200.0060.00215.01
7.4.190.0040.00415.16
7.4.180.0000.00713.43
7.4.160.0080.00815.14
7.4.150.0050.00715.44
7.4.140.0070.01016.37
7.4.130.0070.00815.60
7.4.120.0060.01215.53
7.4.110.0080.00515.01
7.4.100.0100.00714.98
7.4.90.0080.00715.05
7.4.80.0140.00316.39
7.4.70.0070.00615.01
7.4.60.0060.00814.98
7.4.50.0010.00714.96
7.4.40.0090.00615.03
7.4.30.0050.00814.93
7.4.20.0090.00013.11
7.4.10.0090.00013.32
7.4.00.0090.00414.31
7.3.330.0000.00613.45
7.3.320.0060.00013.45
7.3.310.0050.00314.83
7.3.300.0040.00414.86
7.3.290.0040.00414.92
7.3.280.0100.00815.80
7.3.270.0130.00215.34
7.3.260.0090.00614.96
7.3.250.0090.00615.39
7.3.240.0090.00514.90
7.3.230.0070.00615.01
7.3.220.0090.00013.32
7.3.210.0050.00914.99
7.3.200.0060.00816.36
7.3.190.0070.00614.95
7.3.180.0100.00214.86
7.3.170.0050.01114.99
7.3.160.0030.00915.04
7.3.150.0080.00013.32
7.3.140.0030.00413.36
7.3.130.0000.00513.35
7.3.120.0040.00714.11
7.3.110.0000.00513.30
7.3.100.0080.00012.88
7.3.90.0000.00613.57
7.3.80.0060.00312.73
7.3.70.0030.00313.18
7.3.60.0030.00313.44
7.3.50.0050.00013.38
7.3.40.0030.00313.46
7.3.30.0000.00513.40
7.3.20.0060.00015.02
7.3.10.0030.00314.91
7.3.00.0000.00614.94
7.2.340.0090.00413.33
7.2.330.0110.00615.16
7.2.320.0070.00915.09
7.2.310.0020.01314.97
7.2.300.0070.01015.08
7.2.290.0090.00615.03
7.2.280.0080.00413.38
7.2.270.0130.00013.45
7.2.260.0130.00013.26
7.2.250.0100.00213.40
7.2.240.0120.00013.41
7.2.230.0090.00313.23
7.2.220.0060.00613.43
7.2.210.0100.00313.34
7.2.200.0140.00013.45
7.2.190.0130.00013.41
7.2.180.0100.00313.45
7.2.170.0080.00413.48
7.2.160.0080.00413.57
7.2.150.0130.00015.10
7.2.140.0080.00415.23
7.2.130.0000.01215.36
7.2.120.0060.00615.34
7.2.110.0110.00415.30
7.2.100.0120.00015.42
7.2.90.0130.00015.30
7.2.80.0090.00415.12
7.2.70.0060.00615.36
7.2.60.0060.00715.91
7.2.50.0060.00615.13
7.2.40.0120.00015.14
7.2.30.0070.00715.14
7.2.20.0100.00315.18
7.2.10.0080.00515.37
7.2.00.0070.00617.41
7.1.330.0110.00014.11
7.1.320.0080.00414.10
7.1.310.0040.00714.25
7.1.300.0080.00414.27
7.1.290.0120.00014.10
7.1.280.0060.00614.36
7.1.270.0090.00314.37
7.1.260.0120.00014.31
7.1.250.0000.01314.29
7.1.240.0110.00014.21
7.1.230.0040.00814.28
7.1.220.0000.01214.06
7.1.210.0070.00514.11
7.1.200.0070.00515.14
7.1.190.0040.00914.20
7.1.180.0040.00714.04
7.1.170.0070.00714.18
7.1.160.0080.00514.23
7.1.150.0080.00514.04
7.1.140.0060.00614.20
7.1.130.0130.00014.16
7.1.120.0040.00814.16
7.1.110.0120.00014.18
7.1.100.0090.00416.21
7.1.90.0100.00314.21
7.1.80.0080.00414.32
7.1.70.0040.00615.53
7.1.60.0070.01216.84
7.1.50.0110.01015.54
7.1.40.0130.00014.29
7.1.30.0130.00014.27
7.1.20.0100.00214.25
7.1.10.0120.00014.18
7.1.00.0060.04018.31
7.0.330.0100.00314.24
7.0.320.0110.00014.13
7.0.310.0060.00614.17
7.0.300.0090.00214.13
7.0.290.0090.00314.26
7.0.280.0120.00014.11
7.0.270.0070.00514.00
7.0.260.0000.01214.15
7.0.250.0060.00614.16
7.0.240.0060.00614.23
7.0.230.0100.00314.10
7.0.220.0120.00013.99
7.0.210.0120.00014.14
7.0.200.0040.00615.35
7.0.190.0070.00514.04
7.0.180.0120.00014.28
7.0.170.0060.00614.28
7.0.160.0120.00013.98
7.0.150.0120.00014.16
7.0.140.0080.03517.95
7.0.130.0110.00014.04
7.0.120.0120.00014.23
7.0.110.0060.00614.10
7.0.100.0070.00714.18
7.0.90.0090.00314.11
7.0.80.0080.00414.04
7.0.70.0040.01917.85
7.0.60.0090.02017.96
7.0.50.0060.01818.08
7.0.40.0040.02017.10
7.0.30.0120.01817.03
7.0.20.0050.02517.07
7.0.10.0070.02217.12
7.0.00.0000.02417.08
5.6.400.0060.00612.72
5.6.390.0040.00812.74
5.6.380.0080.00412.66
5.6.370.0120.00012.80
5.6.360.0120.00012.63
5.6.350.0100.00212.73
5.6.340.0100.00212.91
5.6.330.0090.00312.76
5.6.320.0080.00312.59
5.6.310.0090.00312.65
5.6.300.0100.00212.67
5.6.290.0090.00312.69
5.6.280.0060.03916.94
5.6.270.0040.00812.79
5.6.260.0040.00612.73
5.6.250.0080.00312.79
5.6.240.0110.00012.81
5.6.230.0080.00412.88
5.6.220.0040.01916.74
5.6.210.0030.02016.87
5.6.200.0070.01816.98
5.6.190.0070.01516.90
5.6.180.0080.01516.95
5.6.170.0040.02316.94
5.6.160.0030.01916.91
5.6.150.0070.02216.88
5.6.140.0040.03416.96
5.6.130.0090.03516.95
5.6.120.0060.03817.01
5.6.110.0090.02716.87
5.6.100.0040.03116.96
5.6.90.0110.03816.94
5.6.80.0040.03816.54
5.6.70.0040.04516.58
5.6.60.0050.03116.73
5.6.50.0050.04216.66
5.6.40.0060.03816.62
5.6.30.0070.04016.47
5.6.20.0110.03716.51
5.6.10.0080.03816.58
5.6.00.0070.03216.52
5.5.380.0080.00312.81
5.5.370.0040.00712.74
5.5.360.0110.01316.48
5.5.350.0060.01716.54
5.5.340.0060.01716.71
5.5.330.0020.02016.63
5.5.320.0030.02416.69
5.5.310.0030.01916.68
5.5.300.0060.02516.73
5.5.290.0050.04016.83
5.5.280.0080.02816.74
5.5.270.0070.02216.83
5.5.260.0020.04716.75
5.5.250.0060.04016.63
5.5.240.0050.03616.43
5.5.230.0050.04216.57
5.5.220.0070.03016.56
5.5.210.0020.04416.36
5.5.200.0060.03116.52
5.5.190.0030.04016.39
5.5.180.0040.04316.42
5.5.170.0040.00812.50
5.5.160.0070.04216.49
5.5.150.0060.04016.43
5.5.140.0060.04216.39
5.5.130.0030.04416.30
5.5.120.0080.04116.40
5.5.110.0080.03716.38
5.5.100.0060.03916.37
5.5.90.0100.02716.34
5.5.80.0080.03616.42
5.5.70.0100.03816.49
5.5.60.0090.03716.37
5.5.50.0070.03716.32
5.5.40.0060.03116.41
5.5.30.0040.03316.38
5.5.20.0030.04616.48
5.5.10.0050.03516.43
5.5.00.0040.02816.44
5.4.450.0070.03816.03
5.4.440.0070.02816.04
5.4.430.0070.03816.07
5.4.420.0070.03016.06
5.4.410.0100.03715.93
5.4.400.0080.03615.76
5.4.390.0020.04415.73
5.4.380.0080.03615.87
5.4.370.0090.03615.77
5.4.360.0040.04315.89
5.4.350.0070.03915.84
5.4.340.0030.03615.89
5.4.330.0080.00412.69
5.4.320.0040.04115.90
5.4.310.0050.03815.93
5.4.300.0050.03315.86
5.4.290.0050.03915.83
5.4.280.0070.04015.98
5.4.270.0070.03315.70
5.4.260.0050.03215.67
5.4.250.0040.03515.83
5.4.240.0100.03615.87
5.4.230.0090.03615.76
5.4.220.0050.03515.68
5.4.210.0030.04215.62
5.4.200.0090.03315.78
5.4.190.0050.04015.89
5.4.180.0050.02515.77
5.4.170.0100.03515.97
5.4.160.0100.03015.91
5.4.150.0060.03215.81
5.4.140.0110.03114.54
5.4.130.0040.02914.52
5.4.120.0070.03514.57
5.4.110.0080.02314.59
5.4.100.0070.03714.55
5.4.90.0050.03014.61
5.4.80.0030.02714.44
5.4.70.0050.03214.42
5.4.60.0090.03614.46
5.4.50.0060.03814.50
5.4.40.0040.03814.63
5.4.30.0050.02814.55
5.4.20.0030.03814.53
5.4.10.0080.03314.46
5.4.00.0120.02814.00
5.3.290.0050.02913.74
5.3.280.0090.03313.84
5.3.270.0070.03513.94
5.3.260.0070.02513.82
5.3.250.0030.04113.79
5.3.240.0070.03513.78
5.3.230.0030.02413.64
5.3.220.0080.03513.85
5.3.210.0000.03913.73
5.3.200.0050.04013.85
5.3.190.0040.04213.95
5.3.180.0070.03813.77
5.3.170.0110.03313.92
5.3.160.0040.03513.96
5.3.150.0070.03613.93
5.3.140.0040.04213.72
5.3.130.0030.04113.95
5.3.120.0050.02513.84
5.3.110.0020.03413.90
5.3.100.0030.03013.45
5.3.90.0030.03613.66
5.3.80.0060.03613.41
5.3.70.0050.04013.51
5.3.60.0060.03713.60
5.3.50.0030.03713.41
5.3.40.0070.03813.54
5.3.30.0030.03613.42
5.3.20.0030.02513.37
5.3.10.0070.02513.21
5.3.00.0060.03813.12
5.2.170.0050.03011.54
5.2.160.0060.03011.69
5.2.150.0040.02711.56
5.2.140.0020.03111.62
5.2.130.0060.01511.67
5.2.120.0050.02411.62
5.2.110.0040.02711.65
5.2.100.0030.02611.67
5.2.90.0010.03511.67
5.2.80.0060.03211.62
5.2.70.0060.03211.64
5.2.60.0020.03411.45
5.2.50.0000.03411.59
5.2.40.0030.03311.65
5.2.30.0030.03511.53
5.2.20.0040.03211.46
5.2.10.0060.02811.42
5.2.00.0060.03211.49
5.1.60.0070.02311.05
5.1.50.0060.02411.20
5.1.40.0040.02411.09
5.1.30.0070.02911.19
5.1.20.0020.03011.13
5.1.10.0070.02311.22
5.1.00.0040.03011.15
5.0.50.0020.02610.85
5.0.40.0030.02410.85
5.0.30.0020.03710.85
5.0.20.0030.02310.85
5.0.10.0030.02210.85
5.0.00.0050.03210.85
4.4.90.0020.01810.85
4.4.80.0020.01510.85
4.4.70.0000.01810.85
4.4.60.0020.01510.85
4.4.50.0020.02010.85
4.4.40.0020.02710.85
4.4.30.0050.01610.85
4.4.20.0040.01210.85
4.4.10.0020.01710.85
4.4.00.0020.02810.85
4.3.110.0020.01810.85
4.3.100.0040.01310.85
4.3.90.0030.01510.85
4.3.80.0020.02710.85
4.3.70.0020.01710.85
4.3.60.0090.01210.85
4.3.50.0040.01510.85
4.3.40.0040.02310.85
4.3.30.0030.01710.85
4.3.20.0020.01710.85
4.3.10.0030.01310.85
4.3.00.0000.01810.85

preferences:
31.14 ms | 403 KiB | 5 Q