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, "\n"); foreach ($configuration as $name => $value) { $view .= sprintf('<input type="hidden" name="%s" id="%s" value="%s"/>%s', $name, $name, $value, "\n"); } $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.40.0110.00418.79
8.3.30.0110.00419.04
8.3.20.0000.00720.35
8.3.10.0040.00422.09
8.3.00.0080.00022.52
8.2.170.0070.00722.96
8.2.160.0100.00321.07
8.2.150.0120.00324.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0030.00519.48
8.2.110.0030.00622.07
8.2.100.0080.00417.84
8.2.90.0040.00419.22
8.2.80.0030.00617.97
8.2.70.0090.00017.63
8.2.60.0040.00418.03
8.2.50.0080.00018.07
8.2.40.0110.00618.19
8.2.30.0030.00618.23
8.2.20.0080.00017.63
8.2.10.0000.00717.84
8.2.00.0060.00317.87
8.1.270.0080.00823.97
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0000.00823.83
8.1.230.0110.00319.07
8.1.220.0040.00417.79
8.1.210.0030.00618.77
8.1.200.0030.00717.35
8.1.190.0080.00017.53
8.1.180.0030.00518.10
8.1.170.0000.00918.58
8.1.160.0070.00021.96
8.1.150.0000.00918.68
8.1.140.0050.00217.47
8.1.130.0030.00317.91
8.1.120.0050.00317.46
8.1.110.0040.00417.45
8.1.100.0000.00717.39
8.1.90.0000.00717.55
8.1.80.0030.00517.41
8.1.70.0000.00717.45
8.1.60.0090.00317.61
8.1.50.0040.00417.58
8.1.40.0080.00017.52
8.1.30.0050.00317.52
8.1.20.0040.00417.62
8.1.10.0070.00017.57
8.1.00.0000.00717.55
8.0.300.0070.00018.77
8.0.290.0080.00017.18
8.0.280.0020.00518.53
8.0.270.0030.00617.19
8.0.260.0060.00316.77
8.0.250.0040.00416.88
8.0.240.0000.00716.98
8.0.230.0040.00417.00
8.0.220.0000.00716.95
8.0.210.0000.00816.93
8.0.200.0000.00616.85
8.0.190.0000.00716.98
8.0.180.0070.00016.91
8.0.170.0080.00016.95
8.0.160.0000.00716.90
8.0.150.0040.00416.80
8.0.140.0000.00816.77
8.0.130.0000.00613.26
8.0.120.0030.00516.91
8.0.110.0030.00516.88
8.0.100.0040.00416.71
8.0.90.0040.00416.72
8.0.80.0140.00316.98
8.0.70.0040.00416.93
8.0.60.0040.00417.00
8.0.50.0000.00716.72
8.0.30.0120.00917.30
8.0.20.0120.00717.40
8.0.10.0070.00016.90
8.0.00.0100.01217.02
7.4.330.0060.00015.00
7.4.320.0000.00616.51
7.4.300.0030.00316.59
7.4.290.0030.00516.52
7.4.280.0070.00016.52
7.4.270.0030.00316.50
7.4.260.0000.00716.62
7.4.250.0000.00716.45
7.4.240.0020.00516.60
7.4.230.0030.00316.64
7.4.220.0100.00716.59
7.4.210.0110.00616.60
7.4.200.0070.00016.72
7.4.190.0040.00416.54
7.4.160.0090.00616.56
7.4.150.0090.00917.40
7.4.140.0090.00917.86
7.4.130.0140.00716.59
7.4.120.0090.01116.58
7.4.110.0080.00816.45
7.4.100.0090.00916.49
7.4.90.0060.01116.55
7.4.80.0140.01116.63
7.4.70.0160.00316.48
7.4.60.0040.01416.61
7.4.50.0050.00016.41
7.4.40.0030.01222.77
7.4.30.0070.01416.71
7.4.00.0030.01414.98
7.3.330.0000.00513.16
7.3.320.0030.00313.35
7.3.310.0040.00416.39
7.3.300.0060.00016.30
7.3.290.0090.00616.28
7.3.280.0080.00816.32
7.3.270.0130.00317.40
7.3.260.0180.00716.65
7.3.250.0150.00216.57
7.3.240.0130.00416.45
7.3.230.0130.00416.39
7.3.210.0100.00716.60
7.3.200.0120.00919.39
7.3.190.0190.00316.40
7.3.180.0150.00616.70
7.3.170.0170.00016.66
7.3.160.0090.00616.37
7.3.120.0090.00814.67
7.3.110.0100.01015.02
7.3.100.0030.00914.72
7.3.90.0160.00014.98
7.3.80.0030.01014.75
7.3.70.0070.00714.80
7.3.60.0040.00814.89
7.3.50.0120.00614.71
7.3.40.0090.00914.71
7.3.30.0030.00614.84
7.3.20.0030.01016.86
7.3.10.0040.01116.71
7.3.00.0100.00316.61
7.2.330.0090.00916.86
7.2.320.0180.00316.79
7.2.310.0130.01016.71
7.2.300.0040.01216.59
7.2.290.0110.00716.58
7.2.250.0090.00915.06
7.2.240.0130.00715.27
7.2.230.0030.01315.26
7.2.220.0040.01115.10
7.2.210.0090.00615.05
7.2.200.0040.01114.88
7.2.190.0060.00914.84
7.2.180.0000.01514.91
7.2.170.0040.01115.08
7.2.110.0110.01116.59
7.2.60.0070.00716.99
7.2.00.0070.00719.16
7.1.330.0000.01315.48
7.1.320.0070.00715.79
7.1.310.0040.00415.94
7.1.300.0110.00415.78
7.1.290.0090.00615.79
7.1.280.0060.00615.80
7.1.270.0060.00915.84
7.1.260.0060.00915.89
7.1.200.0060.00015.44
7.1.100.0070.00717.69
7.1.70.0020.00517.02
7.1.60.0120.01219.82
7.1.50.0200.01034.71
7.1.00.0100.07022.43
7.0.200.0100.00216.83
7.0.140.0070.06722.07
7.0.70.0000.03321.88
7.0.60.0000.03721.61
7.0.50.0030.08322.15
7.0.40.0070.06020.08
7.0.30.0030.07019.98
7.0.20.0070.06020.17
7.0.10.0000.04319.94
7.0.00.0000.07020.02
5.6.280.0030.07720.87
5.6.220.0070.02720.52
5.6.210.0070.03320.44
5.6.200.0030.05021.01
5.6.190.0030.09021.00
5.6.180.0100.04321.06
5.6.170.0100.04321.06
5.6.160.0000.07721.01
5.6.150.0030.04321.00
5.6.140.0000.05021.04
5.6.130.0030.04021.05
5.6.120.0070.08320.96
5.6.110.0100.06021.01
5.6.100.0100.06320.98
5.6.90.0100.05021.15
5.6.80.0000.04020.55
5.6.70.0000.08320.46
5.6.60.0030.08020.38
5.6.50.0030.06720.41
5.6.40.0100.07720.38
5.6.30.0030.05020.50
5.6.20.0000.09020.38
5.6.10.0100.07720.36
5.6.00.0130.07320.38
5.5.360.0030.03020.33
5.5.350.0030.03020.39
5.5.340.0000.04320.89
5.5.330.0030.07320.73
5.5.320.0070.08320.88
5.5.310.0070.07720.78
5.5.300.0030.07720.76
5.5.290.0030.04720.79
5.5.280.0030.07320.89
5.5.270.0030.07320.72
5.5.260.0070.08320.92
5.5.250.0030.05020.71
5.5.240.0000.07020.18
5.5.230.0070.08020.24
5.5.220.0100.07320.21
5.5.210.0070.05720.21
5.5.200.0070.06320.26
5.5.190.0000.07020.24
5.5.180.0100.06320.28
5.5.160.0000.08020.07
5.5.150.0130.07320.12
5.5.140.0130.06020.27
5.5.130.0070.06720.20
5.5.120.0070.06720.25
5.5.110.0000.08020.10
5.5.100.0000.07020.13
5.5.90.0000.07320.13
5.5.80.0100.06320.10
5.5.70.0070.08320.06
5.5.60.0000.04720.06
5.5.50.0070.06320.10
5.5.40.0070.07320.08
5.5.30.0000.08320.08
5.5.20.0070.07720.05
5.5.10.0030.07720.11
5.5.00.0130.06319.97
5.4.450.0030.03719.55
5.4.440.0000.05019.35
5.4.430.0030.04719.16
5.4.420.0070.06719.48
5.4.410.0000.06319.29
5.4.400.0130.06318.87
5.4.390.0130.07019.04
5.4.380.0130.06719.08
5.4.370.0030.07019.23
5.4.360.0070.07019.09
5.4.350.0030.05718.92
5.4.340.0000.08319.20
5.4.320.0030.08019.21
5.4.310.0100.06318.84
5.4.300.0000.07719.17
5.4.290.0070.07019.13
5.4.280.0070.07318.97
5.4.270.0000.07719.15
5.4.260.0000.07019.12
5.4.250.0000.07319.11
5.4.240.0070.07319.11
5.4.230.0030.05719.11
5.4.220.0030.06018.89
5.4.210.0030.07719.22
5.4.200.0030.07319.04
5.4.190.0000.07018.86
5.4.180.0070.06319.16
5.4.170.0000.07719.01
5.4.160.0030.05319.13
5.4.150.0030.07719.16
5.4.140.0070.05016.41
5.4.130.0030.07316.36
5.4.120.0070.05016.28
5.4.110.0100.04016.27
5.4.100.0000.07716.50
5.4.90.0000.05716.33
5.4.80.0030.07316.45
5.4.70.0070.06716.49
5.4.60.0070.04316.39
5.4.50.0000.07016.36
5.4.40.0030.06716.48
5.4.30.0000.05316.33
5.4.20.0070.06316.47
5.4.10.0000.07316.39
5.4.00.0030.07015.85
5.3.290.0070.07714.78
5.3.280.0030.06014.65
5.3.270.0100.07314.72
5.3.260.0000.06014.55
5.3.250.0070.07014.63
5.3.240.0000.07314.64
5.3.230.0030.07314.58
5.3.220.0070.04714.50
5.3.210.0030.06014.68
5.3.200.0000.07014.59
5.3.190.0030.05014.70
5.3.180.0030.06714.58
5.3.170.0100.07714.54
5.3.160.0070.07714.67
5.3.150.0030.06014.62
5.3.140.0030.07714.61
5.3.130.0000.08014.61
5.3.120.0030.06314.47
5.3.110.0030.07714.50
5.3.100.0030.07314.08
5.3.90.0070.06714.04
5.3.80.0030.07314.11
5.3.70.0070.07014.04
5.3.60.0000.06714.10
5.3.50.0030.07013.98
5.3.40.0100.06714.07
5.3.30.0000.07713.93
5.3.20.0070.06313.61
5.3.10.0070.06013.67
5.3.00.0030.07013.61
5.2.170.0000.04311.28
5.2.160.0070.06311.14
5.2.150.0000.06011.16
5.2.140.0030.06011.14
5.2.130.0070.05311.14
5.2.120.0030.06011.16
5.2.110.0000.06311.14
5.2.100.0030.06311.17
5.2.90.0070.06011.19
5.2.80.0000.06011.25
5.2.70.0070.05311.25
5.2.60.0030.06011.25
5.2.50.0030.06011.25
5.2.40.0030.05711.25
5.2.30.0070.05011.25
5.2.20.0000.05011.25
5.2.10.0030.05711.25
5.2.00.0030.06311.25
5.1.60.0030.05311.25
5.1.50.0000.05711.25
5.1.40.0030.04311.25
5.1.30.0030.05711.25
5.1.20.0000.05311.25
5.1.10.0000.05011.25
5.1.00.0030.05711.25
5.0.50.0000.04011.25
5.0.40.0000.04711.25
5.0.30.0000.06311.25
5.0.20.0070.04011.25
5.0.10.0000.04711.25
5.0.00.0030.06711.25
4.4.90.0000.03311.25
4.4.80.0100.02711.25
4.4.70.0030.03711.25
4.4.60.0030.03311.25
4.4.50.0030.02011.25
4.4.40.0000.04711.25
4.4.30.0000.03711.25
4.4.20.0000.03711.25
4.4.10.0030.03311.25
4.4.00.0000.05711.25
4.3.110.0070.03311.25
4.3.100.0030.03311.25
4.3.90.0070.03011.25
4.3.80.0000.04711.25
4.3.70.0000.03311.25
4.3.60.0030.03011.25
4.3.50.0030.02311.25
4.3.40.0000.05311.25
4.3.30.0070.02711.25
4.3.20.0100.02711.25
4.3.10.0030.03711.25
4.3.00.0000.03011.25

preferences:
41.69 ms | 400 KiB | 5 Q