3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface iTemplate { public function setVariable($name, $var); public function getHtml($template); }

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.130.0040.00418.23
8.3.120.0110.00718.95
8.3.110.0100.01020.94
8.3.100.0060.00316.72
8.3.90.0000.00726.77
8.3.80.0060.00316.53
8.3.70.0120.00616.63
8.3.60.0190.00923.30
8.3.50.0120.00621.26
8.3.40.0110.00418.60
8.3.30.0070.00718.86
8.3.20.0040.00420.23
8.3.10.0060.00320.23
8.3.00.0050.00317.50
8.2.250.0080.00418.51
8.2.240.0090.00016.93
8.2.230.0090.00622.58
8.2.220.0070.00724.06
8.2.210.0080.00026.77
8.2.200.0030.00616.38
8.2.190.0150.00616.63
8.2.180.0110.00425.92
8.2.170.0140.00718.66
8.2.160.0100.00322.96
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0060.00322.29
8.2.110.0030.00621.05
8.2.100.0110.00017.53
8.2.90.0040.00418.95
8.2.80.0050.00317.97
8.2.70.0080.00017.38
8.2.60.0040.00417.80
8.2.50.0000.00818.10
8.2.40.0060.00318.09
8.2.30.0000.00719.11
8.2.20.0040.00417.41
8.2.10.0040.00417.97
8.2.00.0000.00717.64
8.1.300.0060.00319.99
8.1.290.0040.00430.84
8.1.280.0090.00925.92
8.1.270.0040.00422.14
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0100.00022.21
8.1.230.0110.00017.58
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0050.00518.30
8.1.160.0000.00721.94
8.1.150.0000.00818.67
8.1.140.0000.00717.31
8.1.130.0000.00717.76
8.1.120.0030.00317.34
8.1.110.0040.00417.23
8.1.100.0050.00217.34
8.1.90.0030.00317.23
8.1.80.0030.00617.21
8.1.70.0070.00417.31
8.1.60.0030.00517.33
8.1.50.0040.00417.29
8.1.40.0040.00417.34
8.1.30.0030.00517.53
8.1.20.0000.00817.36
8.1.10.0050.00317.36
8.1.00.0000.01017.33
8.0.300.0000.00718.77
8.0.290.0050.00316.58
8.0.280.0030.00318.35
8.0.270.0030.00317.13
8.0.260.0000.00717.13
8.0.250.0030.00316.79
8.0.240.0000.00816.69
8.0.230.0040.00416.87
8.0.220.0000.00616.66
8.0.210.0000.00916.64
8.0.200.0000.00816.83
8.0.190.0070.00016.73
8.0.180.0030.00316.82
8.0.170.0040.00416.77
8.0.160.0000.00716.76
8.0.150.0050.00316.67
8.0.140.0070.00316.73
8.0.130.0030.00313.15
8.0.120.0000.00816.75
8.0.110.0080.00016.75
8.0.100.0050.00316.58
8.0.90.0040.00416.66
8.0.80.0060.01516.76
8.0.70.0000.00716.71
8.0.60.0030.00516.74
8.0.50.0070.00016.76
8.0.30.0100.00916.98
8.0.20.0120.01217.40
8.0.10.0040.00416.84
8.0.00.0100.00816.71
7.4.330.0000.00515.00
7.4.320.0000.00616.27
7.4.300.0000.00616.48
7.4.290.0030.00316.42
7.4.280.0030.00316.48
7.4.270.0000.00816.42
7.4.260.0000.00816.41
7.4.250.0040.00416.35
7.4.240.0060.00216.45
7.4.230.0030.00316.19
7.4.220.0100.01016.46
7.4.210.0030.01016.40
7.4.200.0030.00316.54
7.4.160.0060.01016.54
7.4.150.0140.01017.40
7.4.140.0040.01717.86
7.4.130.0080.00916.22
7.4.120.0090.00816.45
7.4.110.0090.00916.36
7.4.100.0130.00716.18
7.4.90.0140.00616.38
7.4.80.0070.01217.84
7.4.70.0070.01116.34
7.4.60.0080.01116.31
7.4.50.0090.00816.23
7.4.40.0090.01216.38
7.4.30.0090.00916.29
7.4.20.0120.00816.35
7.4.10.0090.00915.64
7.4.00.0080.01015.70
7.3.330.0050.00012.94
7.3.320.0060.00013.18
7.3.310.0040.00416.04
7.3.300.0030.00416.13
7.3.290.0040.01216.12
7.3.280.0090.00616.16
7.3.270.0090.00917.40
7.3.260.0130.00716.24
7.3.250.0060.01116.22
7.3.240.0130.00316.42
7.3.230.0060.01016.39
7.3.220.0090.01116.32
7.3.210.0100.00816.14
7.3.200.0110.01016.41
7.3.190.0110.00816.30
7.3.180.0110.00716.16
7.3.170.0060.01216.26
7.3.160.0080.01116.36
7.3.150.0080.01216.34
7.3.140.0070.01316.29
7.3.130.0130.00515.70
7.3.120.0090.00815.61
7.3.110.0060.01215.66
7.3.100.0090.00715.46
7.3.90.0080.01015.60
7.3.80.0140.00815.61
7.3.70.0060.01115.65
7.3.60.0100.00615.59
7.3.50.0090.00915.66
7.3.40.0120.00615.60
7.3.30.0100.00715.68
7.3.20.0130.00516.36
7.3.10.0140.00815.98
7.3.00.0170.01016.02
7.2.330.0090.00916.55
7.2.320.0090.01316.37
7.2.310.0090.00916.30
7.2.300.0070.01116.45
7.2.290.0070.01116.41
7.2.280.0110.00816.26
7.2.270.0120.00916.34
7.2.260.0110.00915.84
7.2.250.0070.01215.81
7.2.240.0070.01115.78
7.2.230.0110.00815.66
7.2.220.0150.00915.62
7.2.210.0090.01415.73
7.2.200.0070.01115.64
7.2.190.0080.00815.66
7.2.180.0080.01115.73
7.2.170.0090.01015.74
7.2.160.0110.01115.80
7.2.150.0130.00716.32
7.2.140.0100.01016.48
7.2.130.0150.01116.06
7.2.120.0140.00815.99
7.2.110.0150.01016.05
7.2.100.0170.00716.08
7.2.90.0200.01316.15
7.2.80.0170.01016.02
7.2.70.0170.00816.17
7.2.60.0160.00816.10
7.2.50.0130.00916.25
7.2.40.0120.01116.18
7.2.30.0140.01016.14
7.2.20.0150.00816.06
7.2.10.0150.00716.07
7.2.00.0170.00716.11
7.1.330.0070.01115.37
7.1.320.0200.01415.39
7.1.310.0240.01215.47
7.1.300.0180.00815.34
7.1.290.0130.00815.43
7.1.280.0120.00815.29
7.1.270.0120.01115.36
7.1.260.0140.00615.34
7.1.250.0180.00815.01
7.1.240.0190.00914.88
7.1.230.0230.00814.92
7.1.220.0240.00714.91
7.1.210.0240.00914.96
7.1.200.0230.00814.99
7.1.190.0220.00714.95
7.1.180.0390.00914.97
7.1.170.0180.00914.92
7.1.160.0210.00814.96
7.1.150.0180.00814.99
7.1.140.0130.01114.94
7.1.130.0230.00914.97
7.1.120.0210.00815.02
7.1.110.0260.00715.02
7.1.100.0180.00914.97
7.1.90.0280.00814.99
7.1.80.0190.00714.96
7.1.70.0200.00715.12
7.1.60.0220.00615.38
7.1.50.0200.00815.15
7.1.40.0340.00914.97
7.1.30.0190.00814.90
7.1.20.0210.00614.90
7.1.10.0280.00814.87
7.1.00.0160.01615.64
7.0.330.0200.00814.57
7.0.320.0300.00814.53
7.0.310.0270.00814.47
7.0.300.0270.00714.39
7.0.290.0330.00814.54
7.0.280.0210.00714.47
7.0.270.0230.00714.54
7.0.260.0270.00614.58
7.0.250.0270.00814.45
7.0.240.0260.00914.56
7.0.230.0280.00814.57
7.0.220.0260.00914.54
7.0.210.0220.00714.39
7.0.200.0210.00814.67
7.0.190.0250.00714.36
7.0.180.0240.00814.46
7.0.170.0190.00914.43
7.0.160.0240.00914.50
7.0.150.0220.00914.41
7.0.140.0200.01515.34
7.0.130.0240.00614.58
7.0.120.0290.00514.48
7.0.110.0220.01014.47
7.0.100.0250.00814.47
7.0.90.0230.00814.46
7.0.80.0230.00714.44
7.0.70.0300.00814.50
7.0.60.0220.01715.19
7.0.50.0240.01115.01
7.0.40.0190.01415.26
7.0.30.0240.01715.17
7.0.20.0250.01415.21
7.0.10.0170.01315.26
7.0.00.0240.01215.13
5.6.400.0160.00915.78
5.6.390.0140.01315.65
5.6.380.0100.01014.80
5.6.370.0140.00914.82
5.6.360.0150.00814.73
5.6.350.0150.00914.80
5.6.340.0140.00914.69
5.6.330.0130.01114.85
5.6.320.0140.00914.86
5.6.310.0120.01214.84
5.6.300.0130.00914.64
5.6.290.0110.01114.73
5.6.280.0120.01815.49
5.6.270.0160.00914.71
5.6.260.0150.01014.71
5.6.250.0120.01014.73
5.6.240.0160.00814.70
5.6.230.0160.00714.66
5.6.220.0140.01414.70
5.6.210.0130.01215.48
5.6.200.0150.01515.20
5.6.190.0130.02015.42
5.6.180.0140.01315.49
5.6.170.0150.01615.47
5.6.160.0110.01715.52
5.6.150.0130.01815.25
5.6.140.0130.01715.17
5.6.130.0120.01615.19
5.6.120.0130.01415.49
5.6.110.0110.01415.49
5.6.100.0100.01915.60
5.6.90.0140.01515.45
5.6.80.0080.02415.30
5.6.70.0160.00814.60
5.6.60.0150.00914.66
5.6.50.0120.01114.63
5.6.40.0170.00714.63
5.6.30.0140.00814.58
5.6.20.0120.01014.65
5.6.10.0140.01014.49
5.6.00.0150.00914.59
5.5.380.0160.00512.90
5.5.370.0160.00712.89
5.5.360.0140.00612.94
5.5.350.0690.01113.83
5.5.340.0120.01813.48
5.5.330.0130.02013.88
5.5.320.0130.01513.79
5.5.310.0170.01413.89
5.5.300.0130.01713.55
5.5.290.0150.01413.51
5.5.280.0110.01714.00
5.5.270.0140.01713.98
5.5.260.0130.01613.85
5.5.250.0150.01413.76
5.5.240.0120.01513.78
5.5.230.0110.01112.80
5.5.220.0120.00912.79
5.5.210.0110.01212.77
5.5.200.0130.00912.83
5.5.190.0120.00912.84
5.5.180.0130.00812.78
5.5.170.0150.00914.19
5.5.160.0130.01012.83
5.5.150.0130.00912.86
5.5.140.0170.01012.80
5.5.130.0140.00712.83
5.5.120.0150.00712.91
5.5.110.0160.00512.82
5.5.100.0150.00712.86
5.5.90.0140.00812.89
5.5.80.0120.01012.90
5.5.70.0150.00612.79
5.5.60.0130.00712.85
5.5.50.0160.00812.76
5.5.40.0140.00812.80
5.5.30.0150.00612.79
5.5.20.0110.00912.76
5.5.10.0090.01312.70
5.5.00.0150.00512.76
5.4.450.0170.01513.14
5.4.440.0290.01213.14
5.4.430.0290.01213.16
5.4.420.0260.01113.12
5.4.410.0330.01013.07
5.4.400.0200.01313.04
5.4.390.0120.01412.97
5.4.380.0110.01113.01
5.4.370.0320.01213.01
5.4.360.0310.01313.08
5.4.350.0310.01113.13
5.4.340.0260.01213.06
5.4.330.0140.00712.19
5.4.320.0300.01113.01
5.4.310.0160.01513.03
5.4.300.0150.01013.04
5.4.290.0160.01013.03
5.4.280.0290.01012.98
5.4.270.0300.01013.00
5.4.260.0280.01213.00
5.4.250.0330.01013.03
5.4.240.0280.01013.08
5.4.230.0300.01213.13
5.4.220.0330.00813.06
5.4.210.0360.00812.94
5.4.200.0280.01013.01
5.4.190.0310.01113.00
5.4.180.0110.01213.07
5.4.170.0110.01213.06
5.4.160.0100.01112.96
5.4.150.0200.01213.09
5.4.140.0100.01112.65
5.4.130.0120.01012.76
5.4.120.0180.01012.64
5.4.110.0290.01412.71
5.4.100.0320.01112.69
5.4.90.0140.00712.72
5.4.80.0100.01412.67
5.4.70.0270.01012.72
5.4.60.0110.01312.69
5.4.50.0100.01612.69
5.4.40.0120.01312.73
5.4.30.0320.01012.67
5.4.20.0090.01412.74
5.4.10.0110.01012.73
5.4.00.0080.01112.61
5.3.00.0030.00312.59
5.2.00.0060.00214.76
5.0.00.0050.00428.09
4.4.00.0020.00328.09
4.3.00.0040.00127.00

preferences:
44.41 ms | 403 KiB | 5 Q