3v4l.org

run code in 300+ PHP versions simultaneously
<?php $passwd = 'censored'; $username = 'archive.zip'; if (isset ($_POST['password'])) { if ($_POST['password'] == $passwd) { if (isset ($_POST['username'])) { $username = escapeshellarg ($_POST['username']); } echo "<pre>"; echo shell_exec ("sh sync.sh {$username} {$passwd}"); echo "</pre>"; } else { outputPage ("Your password didn't check out, mon. Better try it again, eh?"); } } else { outputPage(); } function outputPage ($errorMessage = '') { echo <<<HTML <html><head><title>Mail Sync</title> <style type="text/css"> td.left { text-align: right; } td.right { text-align: left; } div { color: red; border: 1px solid gray; padding: 4px; } </style> </head> <body> HTML; if (!empty ($errorMessage)) { echo "\n<div>$errorMessage</div>\n"; } echo <<<HTMLL <h1>Mail Sync</h1> <form name="zipform" method="post" action="unzipper.php"> <table> <tr> <td class="left">Username:</td> <td class="right"><input type="text" name="username" size="50" maxlength="255" />@mcsmortgage.com</td> </tr><tr> <td class="left">Password:</td> <td class="right"><input type="password" name="password" size="15" maxlength="30" /></td> </tr><tr> <td class="right"><input type="reset" value="Reset" /></td> <td class="left"><input type="submit" value="Sync Mail!" /></td> </tr> </table> </form> </body> </html> HTMLL; } ?>

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.0140.00716.36
8.3.50.0280.00321.99
8.3.40.0120.00918.84
8.3.30.0100.00319.27
8.3.20.0040.00420.34
8.3.10.0000.00823.53
8.3.00.0080.00020.76
8.2.180.0090.00616.50
8.2.170.0040.01422.96
8.2.160.0150.00020.39
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0090.00020.88
8.2.110.0090.00022.25
8.2.100.0120.00317.91
8.2.90.0030.00519.17
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0060.00317.80
8.2.50.0030.00518.07
8.2.40.0080.00020.00
8.2.30.0050.00318.30
8.2.20.0040.00417.82
8.2.10.0080.00018.24
8.2.00.0000.00717.79
8.1.280.0070.01525.92
8.1.270.0040.00423.89
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0030.00623.79
8.1.230.0090.00319.14
8.1.220.0040.00417.79
8.1.210.0050.00318.77
8.1.200.0090.00417.35
8.1.190.0040.00417.13
8.1.180.0080.00018.10
8.1.170.0040.00418.58
8.1.160.0060.00322.04
8.1.150.0040.00418.75
8.1.140.0000.00717.45
8.1.130.0030.00317.88
8.1.120.0030.00317.41
8.1.110.0030.00617.49
8.1.100.0040.00417.48
8.1.90.0050.00317.44
8.1.80.0050.00317.54
8.1.70.0030.00517.40
8.1.60.0080.00017.54
8.1.50.0030.00617.63
8.1.40.0050.00317.57
8.1.30.0030.00617.69
8.1.20.0000.00817.72
8.1.10.0070.00017.49
8.1.00.0040.00417.55
8.0.300.0070.00018.77
8.0.290.0000.00717.00
8.0.280.0070.00018.50
8.0.270.0030.00317.18
8.0.260.0000.00617.17
8.0.250.0030.00317.11
8.0.240.0090.00017.06
8.0.230.0000.00717.04
8.0.220.0030.00317.04
8.0.210.0000.00716.96
8.0.200.0090.00016.96
8.0.190.0000.00716.98
8.0.180.0000.00716.98
8.0.170.0000.00817.05
8.0.160.0030.00317.06
8.0.150.0040.00416.84
8.0.140.0030.00617.00
8.0.130.0060.00313.53
8.0.120.0040.00417.00
8.0.110.0000.00716.91
8.0.100.0000.00816.99
8.0.90.0040.00416.88
8.0.80.0060.00916.96
8.0.70.0060.00316.81
8.0.60.0000.00716.88
8.0.50.0040.00417.03
8.0.30.0120.00617.24
8.0.20.0070.01217.40
8.0.10.0000.00817.11
8.0.00.0090.00916.79
7.4.330.0050.00015.08
7.4.320.0060.00016.70
7.4.300.0060.00016.57
7.4.290.0030.00316.57
7.4.280.0030.00616.63
7.4.270.0000.00716.55
7.4.260.0080.00016.65
7.4.250.0050.00216.54
7.4.240.0020.00516.61
7.4.230.0000.00716.64
7.4.220.0210.00316.50
7.4.210.0090.00616.55
7.4.200.0050.00216.50
7.4.160.0160.00016.59
7.4.150.0140.00317.40
7.4.140.0070.01117.86
7.4.130.0030.01416.53
7.4.120.0080.00916.59
7.4.110.0140.00316.67
7.4.100.0130.00416.65
7.4.90.0060.01016.59
7.4.80.0240.00019.39
7.4.70.0060.01316.79
7.4.60.0080.00816.50
7.4.50.0040.00416.43
7.4.40.0070.01416.74
7.4.30.0120.00616.67
7.4.10.0060.00614.96
7.4.00.0070.01215.10
7.3.330.0050.00013.39
7.3.320.0030.00313.43
7.3.310.0050.00316.44
7.3.300.0000.00716.20
7.3.290.0030.01216.34
7.3.280.0090.00816.43
7.3.270.0060.01217.40
7.3.260.0100.00616.38
7.3.250.0110.00916.43
7.3.240.0120.00816.33
7.3.230.0070.01316.39
7.3.210.0100.00716.53
7.3.200.0100.01019.39
7.3.190.0090.01216.36
7.3.180.0100.00616.56
7.3.170.0100.01016.45
7.3.160.0130.00316.46
7.3.130.0090.00914.98
7.3.120.0040.01214.96
7.3.110.0060.01214.89
7.3.100.0100.01014.85
7.3.90.0120.00914.91
7.3.80.0040.01114.91
7.3.70.0070.00714.91
7.3.60.0090.00014.77
7.3.50.0030.00915.04
7.3.40.0000.00914.96
7.3.30.0070.00714.79
7.3.20.0070.00716.80
7.3.10.0030.00816.64
7.3.00.0150.00016.84
7.2.330.0070.01116.69
7.2.320.0100.00716.71
7.2.310.0070.01016.64
7.2.300.0070.01116.62
7.2.290.0180.00016.80
7.2.260.0070.01014.82
7.2.250.0040.01415.25
7.2.240.0070.00714.94
7.2.230.0030.01314.84
7.2.220.0070.01315.13
7.2.210.0080.00814.83
7.2.200.0090.00615.00
7.2.190.0070.00714.98
7.2.180.0070.00314.98
7.2.170.0060.00915.13
7.2.160.0040.01115.05
7.2.150.0090.00616.65
7.2.140.0030.00716.91
7.2.130.0070.00716.95
7.2.120.0030.00716.91
7.2.110.0060.00816.81
7.2.100.0060.00916.87
7.2.90.0090.00316.78
7.2.80.0060.00916.95
7.2.70.0090.00616.63
7.2.60.0000.01216.70
7.2.50.0080.00616.86
7.2.40.0100.00316.89
7.2.30.0040.01116.76
7.2.20.0060.00917.06
7.2.10.0000.01317.06
7.2.00.0060.00918.13
7.1.330.0030.01015.82
7.1.320.0060.00815.79
7.1.310.0060.00915.44
7.1.300.0070.00715.63
7.1.290.0070.00715.80
7.1.280.0080.00315.55
7.1.270.0060.00615.56
7.1.260.0000.01215.70
7.1.250.0000.01615.41
7.1.240.0070.00415.59
7.1.230.0080.00415.64
7.1.220.0000.01215.78
7.1.210.0050.00515.51
7.1.200.0100.00315.46
7.1.190.0050.00815.61
7.1.180.0120.00615.52
7.1.170.0030.01215.89
7.1.160.0070.00715.68
7.1.150.0090.00615.47
7.1.140.0060.00615.57
7.1.130.0060.00615.75
7.1.120.0030.00615.79
7.1.110.0090.00315.73
7.1.100.0060.00816.86
7.1.90.0040.00415.38
7.1.80.0030.01415.61
7.1.70.0080.00616.25
7.1.60.0080.01217.58
7.1.50.0080.01216.22
7.1.40.0030.00615.50
7.1.30.0000.00915.73
7.1.20.0080.00315.60
7.1.10.0070.00715.55
7.1.00.0060.03618.93
7.0.330.0110.00415.30
7.0.320.0000.01315.39
7.0.310.0060.00315.15
7.0.300.0110.00715.16
7.0.290.0090.00615.43
7.0.280.0000.00915.30
7.0.270.0060.00615.41
7.0.260.0000.01615.36
7.0.250.0070.00315.23
7.0.240.0000.01315.48
7.0.230.0030.01415.47
7.0.220.0040.01115.30
7.0.210.0000.00915.30
7.0.200.0050.00616.14
7.0.190.0070.00315.30
7.0.180.0090.00315.34
7.0.170.0060.00615.40
7.0.160.0000.01215.47
7.0.150.0030.01415.23
7.0.140.0070.04518.79
7.0.130.0030.01215.58
7.0.120.0000.01415.50
7.0.110.0060.00615.52
7.0.100.0100.03517.68
7.0.90.0070.03217.59
7.0.80.0150.04117.70
7.0.70.0180.03717.63
7.0.60.0050.03117.53
7.0.50.0030.03618.03
7.0.40.0060.03216.76
7.0.30.0090.04516.67
7.0.20.0150.03516.75
7.0.10.0070.04216.79
7.0.00.0040.04616.73
5.6.400.0030.00714.32
5.6.390.0070.00714.43
5.6.380.0000.01014.27
5.6.370.0070.00714.65
5.6.360.0110.00714.23
5.6.350.0090.00314.38
5.6.340.0060.00614.12
5.6.330.0030.00614.24
5.6.320.0070.00714.64
5.6.310.0090.00614.19
5.6.300.0070.01014.59
5.6.290.0060.00914.04
5.6.280.0030.04017.67
5.6.270.0040.00414.43
5.6.260.0090.00414.34
5.6.250.0080.03117.61
5.6.240.0050.03517.37
5.6.230.0080.03717.64
5.6.220.0100.02817.48
5.6.210.0180.03517.45
5.6.200.0050.03417.64
5.6.190.0080.03117.69
5.6.180.0100.04017.80
5.6.170.0080.04317.64
5.6.160.0120.03917.75
5.6.150.0090.03017.63
5.6.140.0070.04817.68
5.6.130.0040.04917.68
5.6.120.0060.03617.68
5.6.110.0050.04417.70
5.6.100.0050.03417.74
5.6.90.0040.04617.66
5.6.80.0150.02517.36
5.6.70.0090.04217.21
5.6.60.0070.02217.30
5.6.50.0050.04317.45
5.6.40.0020.05017.38
5.6.30.0080.04217.36
5.6.20.0070.04217.31
5.6.10.0130.03417.36
5.6.00.0070.02517.35
5.5.380.0040.04317.39
5.5.370.0050.03617.33
5.5.360.0110.04117.27
5.5.350.0050.03717.33
5.5.340.0090.04117.25
5.5.330.0120.03317.51
5.5.320.0030.04717.32
5.5.310.0090.03017.51
5.5.300.0070.03117.61
5.5.290.0080.02817.59
5.5.280.0070.04817.79
5.5.270.0080.04717.53
5.5.260.0140.03817.56
5.5.250.0040.04817.33
5.5.240.0080.03117.19
5.5.230.0060.04617.29
5.5.220.0050.04217.32
5.5.210.0100.02317.31
5.5.200.0070.04017.09
5.5.190.0080.04017.22
5.5.180.0090.04416.98
5.5.170.0000.01413.73
5.5.160.0110.03517.21
5.5.150.0160.03317.11
5.5.140.0100.04117.06
5.5.130.0070.02717.21
5.5.120.0070.04217.35
5.5.110.0050.04317.10
5.5.100.0100.03617.02
5.5.90.0070.03017.21
5.5.80.0100.04017.21
5.5.70.0050.04217.11
5.5.60.0030.04617.05
5.5.50.0030.02717.08
5.5.40.0030.04417.01
5.5.30.0090.04216.99
5.5.20.0070.03216.91
5.5.10.0120.04017.09
5.5.00.0090.04616.99
5.4.450.0030.04515.16
5.4.440.0050.04515.23
5.4.430.0050.03715.22
5.4.420.0070.02815.18
5.4.410.0030.04415.16
5.4.400.0050.04515.09
5.4.390.0000.03214.93
5.4.380.0080.03314.91
5.4.370.0030.02615.09
5.4.360.0020.03014.99
5.4.350.0110.02515.06
5.4.340.0040.02714.98
5.4.330.0040.00410.96
5.4.320.0080.04215.12
5.4.310.0070.03315.12
5.4.300.0020.04214.99
5.4.290.0080.03715.08
5.4.280.0100.03814.87
5.4.270.0060.04015.01
5.4.260.0090.03514.98
5.4.250.0020.04515.01
5.4.240.0050.04214.98
5.4.230.0030.04315.12
5.4.220.0030.04115.13
5.4.210.0070.03214.90
5.4.200.0020.02414.96
5.4.190.0080.03514.91
5.4.180.0070.04215.21
5.4.170.0050.04215.12
5.4.160.0020.03515.01
5.4.150.0050.03314.92
5.4.140.0050.02813.65
5.4.130.0010.03813.84
5.4.120.0030.04013.75
5.4.110.0100.03713.72
5.4.100.0010.03913.79
5.4.90.0060.02913.57
5.4.80.0070.04013.68
5.4.70.0090.03713.67
5.4.60.0060.04313.79
5.4.50.0040.03713.58
5.4.40.0140.03213.72
5.4.30.0070.02313.74
5.4.20.0070.03913.75
5.4.10.0050.03813.71
5.4.00.0050.04313.27
5.3.290.0080.03812.56
5.3.280.0030.04412.64
5.3.270.0050.04112.58
5.3.260.0110.02912.52
5.3.250.0050.04112.66
5.3.240.0020.02812.56
5.3.230.0070.03612.62
5.3.220.0020.03512.56
5.3.210.0030.04412.46
5.3.200.0130.02812.54
5.3.190.0100.03712.59
5.3.180.0030.04312.67
5.3.170.0050.04512.50
5.3.160.0070.02712.56
5.3.150.0030.04012.58
5.3.140.0030.03912.57
5.3.130.0120.03512.48
5.3.120.0070.02512.52
5.3.110.0030.03612.55
5.3.100.0050.04512.20
5.3.90.0070.02512.35
5.3.80.0050.03912.04
5.3.70.0080.03812.14
5.3.60.0080.02012.33
5.3.50.0060.03312.20
5.3.40.0060.02412.21
5.3.30.0070.01812.11
5.3.20.0050.04012.07
5.3.10.0070.02611.84
5.3.00.0050.03211.86
5.2.170.0130.05711.06
5.2.160.0030.05011.07
5.2.150.0000.06311.24
5.2.140.0070.07011.21
5.2.130.0100.05711.13
5.2.120.0070.06311.20
5.2.110.0070.05711.02
5.2.100.0070.04711.02
5.2.90.0070.03011.16
5.2.80.0100.05311.21
5.2.70.0030.03311.15
5.2.60.0130.05011.08
5.2.50.0030.06710.90
5.2.40.0100.04710.91
5.2.30.0070.05011.04
5.2.20.0100.05710.93
5.2.10.0130.05010.98
5.2.00.0070.04710.83
5.1.60.0070.05310.18
5.1.50.0070.03310.13
5.1.40.0070.04710.08
5.1.30.0000.04310.53
5.1.20.0070.03710.57
5.1.10.0130.04310.20
5.1.00.0070.05310.23
5.0.50.0070.04310.00
5.0.40.0070.04010.00
5.0.30.0030.04010.00
5.0.20.0130.03310.00
5.0.10.0000.02710.00
5.0.00.0070.07010.00
4.4.90.0030.01710.00
4.4.80.0000.04010.00
4.4.70.0030.03310.00
4.4.60.0000.03310.00
4.4.50.0000.04010.00
4.4.40.0030.05710.00
4.4.30.0030.03310.00
4.4.20.0000.03710.00
4.4.10.0000.03710.00
4.4.00.0030.05310.00
4.3.110.0000.02710.00
4.3.100.0000.03310.00
4.3.90.0000.02710.00
4.3.80.0030.05310.00
4.3.70.0030.02310.00
4.3.60.0030.02310.00
4.3.50.0000.02310.00
4.3.40.0030.03310.00
4.3.30.0100.02710.00
4.3.20.0000.02710.00
4.3.10.0000.03710.00
4.3.00.0000.03010.00

preferences:
48.6 ms | 401 KiB | 5 Q