3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( 1 => "h01", 2 => "h02", 3 => "h03", 4 => "h04", 5 => "h05", 6 => "h06", 7 => "h07", 8 => "h08", 9 => "h09", 10 => "h10", 11 => "h11", 12 => "h12", 13 => "h13", 14 => "h14", 15 => "h15", 16 => "h16", 17 => "h17", 18 => "h18", 19 => "h01", 20 => "h02", 21 => "h03", 22 => "h04", 23 => "h05", 24 => "h06", 25 => "h07", 26 => "h08", 27 => "h09", 28 => "h10", 29 => "h11", 30 => "h12", 31 => "h13", 32 => "h14", 33 => "h15", 34 => "h16", 35 => "h17" ); $team = 18; ?> <html> <head> <title>Online PHP Script Execution</title> </head> <body> <p><input type="text" value="<?php echo $array[($team + 1) - 1]; ?>"></p> <p><input type="text" value="<?php echo $array[($team + 2) - 1]; ?>"></p> <p><input type="text" value="<?php echo $array[($team + 3) - 1]; ?>"></p> <p><input type="text" value="<?php echo $array[($team + 4) - 1]; ?>"></p> <p><input type="text" value="<?php echo $array[($team + 5) - 1]; ?>"></p> <p><input type="text" value="<?php echo $array[($team + 6) - 1]; ?>"></p> <p><input type="text" value="<?php echo $array[($team + 7) - 1]; ?>"></p> <p><input type="text" value="<?php echo $array[($team + 8) - 1]; ?>"></p> <p><input type="text" value="<?php echo $array[($team + 9) - 1]; ?>"></p> <p><input type="text" value="<?php echo $array[($team + 10) - 1]; ?>"></p> <p><input type="text" value="<?php echo $array[($team + 11) - 1]; ?>"></p> <p><input type="text" value="<?php echo $array[($team + 12) - 1]; ?>"></p> <p><input type="text" value="<?php echo $array[($team + 13) - 1]; ?>"></p> <p><input type="text" value="<?php echo $array[($team + 14) - 1]; ?>"></p> <p><input type="text" value="<?php echo $array[($team + 15) - 1]; ?>"></p> <p><input type="text" value="<?php echo $array[($team + 16) - 1]; ?>"></p> <p><input type="text" value="<?php echo $array[($team + 17) - 1]; ?>"></p> <p><input type="text" value="<?php echo $array[($team + 18) - 1]; ?>"></p> </body> </html>

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.0110.00418.05
8.3.50.0130.00821.21
8.3.40.0100.01018.88
8.3.30.0120.00318.86
8.3.20.0050.00318.80
8.3.10.0080.00020.53
8.3.00.0030.00619.38
8.2.180.0070.01116.50
8.2.170.0090.00922.96
8.2.160.0000.01422.21
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0050.00319.89
8.2.110.0030.00620.48
8.2.100.0100.00317.91
8.2.90.0000.00719.35
8.2.80.0000.00817.97
8.2.70.0070.00417.63
8.2.60.0040.00418.16
8.2.50.0030.00618.07
8.2.40.0050.00218.34
8.2.30.0060.00318.19
8.2.20.0000.00717.68
8.2.10.0000.00717.59
8.2.00.0000.00817.52
8.1.280.0170.00325.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00723.91
8.1.230.0030.00722.23
8.1.220.0040.00418.77
8.1.210.0000.00818.85
8.1.200.0040.00417.00
8.1.190.0030.00517.40
8.1.180.0050.00318.10
8.1.170.0000.00918.83
8.1.160.0000.00718.72
8.1.150.0040.00418.55
8.1.140.0000.00717.48
8.1.130.0000.00717.80
8.1.120.0000.00717.44
8.1.110.0000.00817.30
8.1.100.0040.00417.43
8.1.90.0060.00317.44
8.1.80.0000.00717.30
8.1.70.0030.00317.40
8.1.60.0040.00417.60
8.1.50.0030.00517.45
8.1.40.0000.00717.50
8.1.30.0040.00417.58
8.1.20.0000.00917.60
8.1.10.0040.00417.50
8.1.00.0080.00017.54
8.0.300.0070.00019.79
8.0.290.0050.00216.63
8.0.280.0080.00018.39
8.0.270.0030.00317.29
8.0.260.0000.00616.75
8.0.250.0070.00016.94
8.0.240.0030.00616.88
8.0.230.0030.00416.80
8.0.220.0000.00816.86
8.0.210.0030.00316.80
8.0.200.0040.00416.86
8.0.190.0030.00316.91
8.0.180.0030.00516.91
8.0.170.0080.00016.77
8.0.160.0070.00016.88
8.0.150.0040.00416.88
8.0.140.0040.00416.73
8.0.130.0030.00313.21
8.0.120.0020.00516.84
8.0.110.0040.00316.89
8.0.100.0000.00716.79
8.0.90.0000.00716.72
8.0.80.0090.00616.84
8.0.70.0000.00716.75
8.0.60.0020.00516.96
8.0.50.0070.00016.91
8.0.30.0130.00717.20
8.0.20.0130.01017.40
8.0.10.0020.00517.00
8.0.00.0120.00816.81
7.4.330.0000.00514.59
7.4.320.0000.00616.43
7.4.300.0030.00316.48
7.4.290.0040.00416.52
7.4.280.0000.00816.45
7.4.270.0000.00716.58
7.4.260.0030.00313.22
7.4.250.0040.00416.54
7.4.240.0050.00316.45
7.4.230.0030.00316.30
7.4.220.0060.01316.57
7.4.210.0090.00716.54
7.4.200.0050.00316.66
7.4.190.0070.00016.69
7.4.160.0090.00616.45
7.4.150.0150.00317.40
7.4.140.0060.01117.25
7.4.130.0100.01316.45
7.4.120.0120.00916.51
7.4.110.0110.00716.56
7.4.100.0150.00616.42
7.4.90.0130.00616.43
7.4.80.0100.00619.03
7.4.70.0100.01016.32
7.4.60.0090.00916.47
7.4.50.0040.00416.57
7.4.40.0060.00922.27
7.4.30.0090.00616.36
7.4.00.0000.01614.96
7.3.330.0000.00513.04
7.3.320.0030.00313.07
7.3.310.0000.00716.35
7.3.300.0040.00416.28
7.3.290.0100.00416.28
7.3.280.0070.00816.27
7.3.270.0090.00917.40
7.3.260.0150.01018.24
7.3.250.0110.00916.52
7.3.240.0090.01316.45
7.3.230.0090.00916.39
7.3.210.0140.00316.52
7.3.200.0090.00919.39
7.3.190.0150.00916.75
7.3.180.0070.00816.34
7.3.170.0100.00716.35
7.3.160.0100.00616.38
7.3.120.0000.01214.95
7.3.00.0050.00916.77
7.2.330.0030.01616.42
7.2.320.0090.00916.61
7.2.310.0140.00516.58
7.2.300.0000.01616.52
7.2.290.0090.00916.64
7.2.130.0050.00817.04
7.2.120.0080.00516.85
7.2.110.0030.00816.73
7.2.100.0080.00716.65
7.2.90.0090.00216.65
7.2.80.0060.00916.90
7.2.70.0070.00616.85
7.2.60.0060.00817.04
7.2.50.0080.00216.85
7.2.40.0100.00716.89
7.2.30.0060.00616.93
7.2.20.0070.00716.67
7.2.10.0070.00616.71
7.2.00.0060.00717.67
7.1.250.0070.00615.50
7.1.240.0100.00315.79
7.1.230.0070.00515.58
7.1.220.0080.00815.49
7.1.210.0070.00715.56
7.1.200.0050.00715.81
7.1.190.0030.01115.60
7.1.180.0090.00715.66
7.1.170.0080.00515.81
7.1.160.0050.00515.69
7.1.150.0020.00815.78
7.1.140.0090.00315.70
7.1.130.0070.00515.79
7.1.120.0030.00915.70
7.1.110.0050.00615.71
7.1.100.0070.00316.59
7.1.90.0030.00615.85
7.1.80.0090.00515.45
7.1.70.0050.00916.12
7.1.60.0070.01016.97
7.1.50.0060.00915.99
7.1.40.0080.00315.65
7.1.30.0020.01015.72
7.1.20.0100.00515.80
7.1.10.0080.00415.78
7.1.00.0050.01817.85
7.0.330.0020.00915.52
7.0.320.0020.01115.30
7.0.310.0080.00315.26
7.0.300.0040.00715.35
7.0.290.0070.00615.21
7.0.280.0060.00415.43
7.0.270.0090.00315.35
7.0.260.0100.00515.47
7.0.250.0090.00115.45
7.0.240.0050.00515.51
7.0.230.0020.00815.43
7.0.220.0070.00615.18
7.0.210.0070.00415.27
7.0.200.0110.00715.70
7.0.190.0050.00715.28
7.0.180.0090.00715.40
7.0.170.0100.00115.11
7.0.160.0000.01115.35
7.0.150.0030.00815.42
7.0.140.0030.02917.63
7.0.130.0040.01015.28
7.0.120.0050.00715.30
7.0.110.0040.00815.39
7.0.100.0040.01315.38
7.0.90.0010.01115.40
7.0.80.0060.00615.37
7.0.70.0080.00515.38
7.0.60.0040.01716.97
7.0.50.0030.02516.21
7.0.40.0070.03214.88
7.0.30.0060.02714.88
7.0.20.0060.02914.86
7.0.10.0080.02914.82
7.0.00.0080.02814.88
5.6.380.0060.00714.40
5.6.370.0070.00714.28
5.6.360.0060.00514.25
5.6.350.0080.00614.27
5.6.340.0050.00714.44
5.6.330.0080.00614.29
5.6.320.0040.00614.25
5.6.310.0040.00614.32
5.6.300.0070.00814.40
5.6.290.0030.00914.25
5.6.280.0010.03116.76
5.6.270.0030.00814.71
5.6.260.0040.00714.32
5.6.250.0070.00514.38
5.6.240.0080.00114.37
5.6.230.0060.00314.39
5.6.220.0100.00114.16
5.6.210.0030.03616.63
5.6.200.0100.03015.49
5.6.190.0100.02915.59
5.6.180.0070.01715.56
5.6.170.0040.03215.62
5.6.160.0060.03015.54
5.6.150.0070.02815.69
5.6.140.0110.01515.52
5.6.130.0060.01915.57
5.6.120.0090.03015.51
5.6.110.0100.02915.58
5.6.100.0040.03515.75
5.6.90.0110.02715.40
5.6.80.0120.01615.39
5.6.70.0100.02815.30
5.6.60.0120.01715.28
5.6.50.0050.03015.15
5.6.40.0080.03015.31
5.6.30.0060.03115.26
5.6.20.0090.01915.28
5.6.10.0100.03015.35
5.6.00.0080.02315.25
5.5.380.0040.00612.23
5.5.370.0000.00812.24
5.5.360.0000.00912.34
5.5.350.0110.02514.97
5.5.340.0060.02414.13
5.5.330.0090.02914.16
5.5.320.0060.02114.12
5.5.310.0070.02314.16
5.5.300.0020.01814.16
5.5.290.0040.02614.16
5.5.280.0060.02614.14
5.5.270.0090.02714.14
5.5.260.0070.02214.11
5.5.250.0050.02314.10
5.5.240.0110.02513.94
5.5.230.0070.02013.95
5.5.220.0100.02713.92
5.5.210.0070.02713.95
5.5.200.0080.02913.91
5.5.190.0060.02813.94
5.5.180.0050.03013.93
5.5.170.0080.00212.23
5.5.160.0070.02013.93
5.5.150.0060.03113.90
5.5.140.0100.02313.94
5.5.130.0080.01813.94
5.5.120.0060.01713.94
5.5.110.0050.02013.90
5.5.100.0070.02913.89
5.5.90.0050.02913.88
5.5.80.0060.02713.89
5.5.70.0070.02213.90
5.5.60.0060.02713.89
5.5.50.0070.03013.88
5.5.40.0030.02713.88
5.5.30.0020.02213.87
5.5.20.0040.03313.90
5.5.10.0030.01913.87
5.5.00.0070.02613.90
5.4.450.0040.01714.61
5.4.440.0050.03314.61
5.4.430.0060.03014.66
5.4.420.0120.02314.58
5.4.410.0060.03014.58
5.4.400.0070.02514.48
5.4.390.0050.01714.50
5.4.380.0070.01514.52
5.4.370.0030.03314.48
5.4.360.0050.02514.45
5.4.350.0070.01314.47
5.4.340.0130.02814.53
5.4.330.0130.00512.23
5.4.320.0080.02614.48
5.4.310.0140.03014.43
5.4.300.0050.01714.50
5.4.290.0070.02914.53
5.4.280.0070.01914.48
5.4.270.0080.02714.56
5.4.260.0040.02214.47
5.4.250.0070.01614.43
5.4.240.0070.02314.49
5.4.230.0020.03214.45
5.4.220.0050.02914.48
5.4.210.0090.02414.48
5.4.200.0070.02914.50
5.4.190.0070.01914.53
5.4.180.0060.02814.48
5.4.170.0060.03114.47
5.4.160.0030.02014.52
5.4.150.0110.02414.50
5.4.140.0060.02613.58
5.4.130.0080.02913.58
5.4.120.0050.02313.59
5.4.110.0060.02813.57
5.4.100.0070.02913.58
5.4.90.0040.02213.58
5.4.80.0050.02813.61
5.4.70.0040.02513.57
5.4.60.0050.02413.57
5.4.50.0100.02213.61
5.4.40.0040.02713.60
5.4.30.0030.03013.57
5.4.20.0040.01613.56
5.4.10.0040.02913.56
5.4.00.0060.02313.46
5.3.290.0100.03213.00
5.3.280.0070.02913.01
5.3.270.0070.01913.01
5.3.260.0060.02613.01
5.3.250.0060.02813.02
5.3.240.0050.02813.00
5.3.230.0080.02612.97
5.3.220.0080.02012.96
5.3.210.0050.02013.01
5.3.200.0050.02513.04
5.3.190.0040.02913.01
5.3.180.0090.02413.00
5.3.170.0020.02813.00
5.3.160.0080.01513.04
5.3.150.0020.02912.99
5.3.140.0030.02912.99
5.3.130.0020.03213.00
5.3.120.0030.03313.01
5.3.110.0040.02013.04
5.3.100.0050.02012.78
5.3.90.0020.01912.81
5.3.80.0020.02012.76
5.3.70.0070.01312.82
5.3.60.0070.01412.75
5.3.50.0060.02012.81
5.3.40.0030.02712.79
5.3.30.0030.02212.79
5.3.20.0070.02612.70
5.3.10.0050.01412.66
5.3.00.0010.01612.69
5.2.170.0000.02111.87
5.2.160.0030.02311.85
5.2.150.0060.02311.85
5.2.140.0020.02011.88
5.2.130.0050.01311.79
5.2.120.0040.01211.87
5.2.110.0040.01211.83
5.2.100.0060.01011.86
5.2.90.0020.01311.83
5.2.80.0050.00911.80
5.2.70.0040.01311.85
5.2.60.0040.01111.84
5.2.50.0030.01111.83
5.2.40.0020.01311.82
5.2.30.0070.01011.81
5.2.20.0060.00911.81
5.2.10.0020.01311.78
5.2.00.0060.01211.75
5.1.60.0030.01011.48
5.1.50.0030.01011.49
5.1.40.0030.01011.50
5.1.30.0020.01311.65
5.1.20.0060.00811.62
5.1.10.0040.01111.50
5.1.00.0020.01011.49
5.0.50.0020.00811.06
5.0.40.0060.00710.96
5.0.30.0030.01310.88
5.0.20.0020.00910.90
5.0.10.0040.00610.85
5.0.00.0010.01210.89
4.4.90.0040.00710.69
4.4.80.0020.00610.69
4.4.70.0030.00710.69
4.4.60.0010.00710.69
4.4.50.0020.00710.69
4.4.40.0020.01010.69
4.4.30.0010.00710.69
4.4.20.0020.00710.69
4.4.10.0010.00610.69
4.4.00.0010.01010.69
4.3.110.0010.00810.69
4.3.100.0010.00710.69
4.3.90.0010.00610.69
4.3.80.0010.01310.69
4.3.70.0000.00910.69
4.3.60.0000.00810.69
4.3.50.0000.00910.69
4.3.40.0020.00910.69
4.3.30.0010.00710.69
4.3.20.0000.01010.69
4.3.10.0000.00810.69
4.3.00.0000.00910.69

preferences:
46.41 ms | 401 KiB | 5 Q