3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = ''; $configuration = array( 'applicationID' => 1, 'serverid' => 1, 'ul' => '', 'password' => '', 'adminuser' => '', 'hidelogin' => 1, 'AppMode' => '', 'username' => '' ); if (isset($_SERVER['SYMFONY__ENVIRONMENT']) && ($_SERVER['SYMFONY__ENVIRONMENT'] == 'prod')) { $overrides = array('password' => '', 'adminuser' => ''); $configuration = array_merge($configuration, $overrides); } renderView($url, $configuration); function renderView($url, $configuration) { $view = '<html> <head> <title>k</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <link href="wh.css" rel="stylesheet"/> </head> <body> <header> <h1 id="title"> <span class="icon"><img src="" alt=""/></span> </h1> </header> <div id="sub-header"> <h1> <span class="text"></span> </h1> </div> <div id="login-form">'; $view .= sprintf('<form action="%s" method="get" id="playerCheck">%s', $url, PHP_EOL); foreach ($configuration as $name => $value) { $view .= sprintf('<input type="hidden" name="%s" id="%s" value="%s"/>%s', $name, $name, $value, PHP_EOL); } $view .= '<input type="text" id="incompleteUsername" placeholder="Username" /> <input type="button" value="Check Player" id="sendForm" class="who-blue"/> </form> </div> </body> <script src="jquery-1.10.1.min.js"></script> <script type="text/javascript"> $(document).ready(function () { $(\'#sendForm\').click(function () { $(\'#username\').val( "aa_" + $(\'#incompleteUsername\').val() ); $(\'#playerCheck\').submit(); }); }); </script> </html>'; echo $view; }

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.3.60.0150.00416.75
8.3.50.0130.00717.62
8.3.40.0070.00718.83
8.3.30.0110.00718.79
8.3.20.0090.00018.80
8.3.10.0050.00320.58
8.3.00.0060.00319.38
8.2.180.0130.00916.63
8.2.170.0110.00322.96
8.2.160.0120.00318.96
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00526.16
8.2.120.0000.00819.36
8.2.110.0070.00321.08
8.2.100.0040.00817.78
8.2.90.0040.00719.18
8.2.80.0040.00419.21
8.2.70.0080.00017.62
8.2.60.0000.00918.04
8.2.50.0040.00418.07
8.2.40.0060.00318.22
8.2.30.0060.00318.21
8.2.20.0000.00817.63
8.2.10.0050.00217.77
8.2.00.0040.00417.70
8.1.280.0040.01125.92
8.1.270.0110.00324.66
8.1.260.0090.00026.35
8.1.250.0040.00428.09
8.1.240.0070.00420.83
8.1.230.0080.00420.75
8.1.220.0050.00317.75
8.1.210.0000.00918.98
8.1.200.0040.00417.35
8.1.190.0050.00317.41
8.1.180.0080.00018.10
8.1.170.0000.00918.86
8.1.160.0020.00518.97
8.1.150.0040.00418.73
8.1.140.0060.00317.48
8.1.130.0040.00417.79
8.1.120.0040.00417.41
8.1.110.0030.00517.50
8.1.100.0000.00817.41
8.1.90.0040.00417.44
8.1.80.0000.00717.50
8.1.70.0030.00317.44
8.1.60.0040.00417.50
8.1.50.0030.00617.38
8.1.40.0080.00017.54
8.1.30.0040.00417.69
8.1.20.0080.00017.64
8.1.10.0030.00617.68
8.1.00.0040.00417.54
8.0.300.0000.00720.04
8.0.290.0040.00416.75
8.0.280.0000.00818.48
8.0.270.0000.00817.25
8.0.260.0070.00016.77
8.0.250.0040.00416.89
8.0.240.0090.00016.90
8.0.230.0000.00717.00
8.0.220.0030.00616.80
8.0.210.0070.00016.89
8.0.200.0000.00616.89
8.0.190.0050.00316.97
8.0.180.0030.00617.01
8.0.170.0000.01016.84
8.0.160.0000.00717.05
8.0.150.0000.00716.75
8.0.140.0100.00016.78
8.0.130.0050.00013.39
8.0.120.0000.00716.83
8.0.110.0000.00716.80
8.0.100.0040.00416.98
8.0.90.0000.00716.82
8.0.80.0060.00916.96
8.0.70.0040.00416.87
8.0.60.0040.00416.90
8.0.50.0050.00216.76
8.0.30.0150.00817.12
8.0.20.0140.00517.12
8.0.10.0040.00417.03
8.0.00.0110.01216.92
7.4.330.0000.00513.13
7.4.320.0030.00316.50
7.4.300.0040.00416.54
7.4.290.0030.00316.53
7.4.280.0000.00716.43
7.4.270.0030.00316.59
7.4.260.0000.00613.43
7.4.250.0040.00416.52
7.4.240.0000.00716.54
7.4.230.0030.00316.73
7.4.220.0110.00716.49
7.4.210.0080.00816.60
7.4.200.0040.00416.55
7.4.190.0050.00216.59
7.4.160.0120.00316.50
7.4.150.0070.01016.42
7.4.140.0080.00916.52
7.4.130.0110.00716.51
7.4.120.0100.00816.53
7.4.110.0120.00716.38
7.4.100.0110.01116.61
7.4.90.0060.01416.52
7.4.80.0110.01219.39
7.4.70.0070.01416.53
7.4.60.0000.01816.51
7.4.50.0020.00216.50
7.4.40.0070.00716.45
7.4.30.0000.01716.27
7.4.00.0000.01514.94
7.3.330.0050.00213.19
7.3.320.0000.00513.13
7.3.310.0000.00716.20
7.3.300.0060.00016.38
7.3.290.0040.01416.35
7.3.280.0080.01016.36
7.3.270.0110.00716.45
7.3.260.0100.00716.62
7.3.250.0130.00516.36
7.3.240.0060.01216.47
7.3.230.0220.00316.39
7.3.210.0120.00616.39
7.3.200.0090.00916.34
7.3.190.0060.01216.58
7.3.180.0080.00816.52
7.3.170.0030.01616.53
7.3.160.0030.01316.54
7.3.120.0070.01014.88
7.3.10.0070.00716.59
7.3.00.0030.01016.77
7.2.330.0030.01516.51
7.2.320.0030.01516.53
7.2.310.0040.01516.82
7.2.300.0080.00816.73
7.2.290.0060.01016.93
7.2.130.0060.01216.88
7.2.120.0080.00416.90
7.2.110.0030.01516.91
7.2.100.0060.00617.16
7.2.90.0040.01017.05
7.2.80.0030.01017.00
7.2.70.0030.00716.95
7.2.60.0060.00316.68
7.2.50.0080.00516.80
7.2.40.0110.00316.89
7.2.30.0000.00916.83
7.2.20.0000.01517.01
7.2.10.0090.00316.97
7.2.00.0070.00918.25
7.1.250.0060.00315.61
7.1.100.0130.00718.23
7.1.70.0090.00917.13
7.1.60.0110.01419.40
7.1.50.0140.01016.90
7.1.00.0100.07022.43
7.0.200.0070.00714.94
7.0.140.0130.06721.99
7.0.120.0000.07322.03
7.0.60.0030.07319.96
7.0.50.0000.04317.91
7.0.40.0170.05720.21
7.0.30.0230.06720.07
7.0.20.0070.05020.24
7.0.10.0100.08320.06
7.0.00.0030.08020.05
5.6.280.0070.06321.03
5.6.210.0130.07320.63
5.6.200.0100.07718.16
5.6.190.0070.04320.47
5.6.180.0300.07020.52
5.6.170.0330.07320.46
5.6.160.0130.06320.61
5.6.150.0070.03718.24
5.6.140.0130.03018.21
5.6.130.0070.08018.16
5.6.120.0000.05021.00
5.6.110.0100.08021.00
5.6.100.0200.07720.97
5.6.90.0030.04721.00
5.6.80.0070.07720.51
5.5.350.0130.03320.34
5.5.340.0070.04317.98
5.5.330.0130.03720.37
5.5.320.0100.05720.41
5.5.310.0170.08320.23
5.5.300.0100.07718.03
5.5.290.0030.06017.95
5.5.280.0100.06720.95
5.5.270.0000.05020.93
5.5.260.0100.08320.68
5.5.250.0130.07720.59
5.5.240.0030.05320.16
5.4.450.0000.05019.48
5.4.440.0130.07319.47
5.4.430.0030.07019.56
5.4.420.0070.07719.52
5.4.410.0230.03719.41
5.4.400.0100.07318.86
5.4.390.0130.05719.25
5.4.380.0130.04019.14
5.4.370.0070.07718.98
5.4.360.0100.05718.89
5.4.350.0130.06018.87
5.4.340.0100.07319.25
5.4.320.0100.05319.20
5.4.310.0030.05019.23
5.4.300.0070.04719.24
5.4.290.0070.04018.84
5.4.280.0030.08319.23
5.4.270.0100.03718.97
5.4.260.0070.03719.18
5.4.250.0000.04718.84
5.4.240.0070.04019.08
5.4.230.0070.03719.23
5.4.220.0070.04019.11
5.4.210.0070.03718.86
5.4.200.0070.04018.88
5.4.190.0200.03719.25
5.4.180.0130.04019.14
5.4.170.0070.03719.19
5.4.160.0030.04319.22
5.4.150.0000.04318.95
5.4.140.0100.05716.34
5.4.130.0100.04016.37
5.4.120.0070.07316.37
5.4.110.0100.05316.43
5.4.100.0000.08016.41
5.4.90.0100.06716.54
5.4.80.0100.05316.47
5.4.70.0100.07316.38
5.4.60.0000.04316.43
5.4.50.0030.04716.39
5.4.40.0000.04016.31
5.4.30.0100.04016.36
5.4.20.0130.06316.43
5.4.10.0100.07016.38
5.4.00.0000.08015.91
5.3.290.0100.04714.69
5.3.280.0070.07314.61
5.3.270.0100.03714.64
5.3.260.0070.04314.66
5.3.250.0030.04314.68
5.3.240.0070.05314.63
5.3.230.0000.06314.75
5.3.220.0030.06714.58
5.3.210.0100.05314.58
5.3.200.0100.05314.58
5.3.190.0070.08014.65
5.3.180.0100.07314.48
5.3.170.0100.07314.57
5.3.160.0030.04714.73
5.3.150.0130.07014.57
5.3.140.0000.04314.48
5.3.130.0100.06714.47
5.3.120.0070.04714.56
5.3.110.0030.05314.47
5.3.100.0000.08014.07
5.3.90.0070.07314.06
5.3.80.0170.05714.04
5.3.70.0070.07314.04
5.3.60.0100.07314.16
5.3.50.0070.04313.95
5.3.40.0070.07314.03
5.3.30.0100.03313.86
5.3.20.0070.07313.72
5.3.10.0070.04313.65
5.3.00.0030.05313.71
5.2.170.0070.03011.16
5.2.160.0070.02711.19
5.2.150.0070.02711.23
5.2.140.0030.05311.11
5.2.130.0100.03711.27
5.2.120.0000.04311.00
5.2.110.0070.03711.16
5.2.100.0030.06711.18
5.2.90.0070.03311.12
5.2.80.0000.03711.07
5.2.70.0030.06011.19
5.2.60.0070.05711.05
5.2.50.0000.04310.98
5.2.40.0030.06311.16
5.2.30.0070.05710.90
5.2.20.0070.06011.01
5.2.10.0070.05010.88
5.2.00.0070.06010.72
5.1.60.0030.03310.07
5.1.50.0000.04310.07
5.1.40.0100.05010.05
5.1.30.0030.05710.39
5.1.20.0070.05010.41
5.1.10.0030.05710.10
5.1.00.0070.05310.14
5.0.50.0030.0208.62
5.0.40.0030.0308.34
5.0.30.0000.0438.20
5.0.20.0030.0408.22
5.0.10.0000.0508.25
5.0.00.0030.0638.21
4.4.90.0000.0378.01
4.4.80.0030.0338.01
4.4.70.0030.0378.01
4.4.60.0030.0378.01
4.4.50.0000.0378.01
4.4.40.0000.0278.01
4.4.30.0130.0178.01
4.4.20.0030.0208.01
4.4.10.0000.0378.01
4.4.00.0000.0508.01
4.3.110.0070.0338.01
4.3.100.0000.0178.01
4.3.90.0030.0308.01
4.3.80.0000.0478.01
4.3.70.0000.0338.01
4.3.60.0030.0378.01
4.3.50.0030.0378.01
4.3.40.0070.0378.01
4.3.30.0030.0278.01
4.3.20.0030.0238.01
4.3.10.0030.0208.01
4.3.00.0070.0178.01

preferences:
41.68 ms | 401 KiB | 5 Q