3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = 'PHP Tutorial'; ?> <!DOCTYPE html> <html> <head> <meta http-equiv = "content-type" content="text/html; charset=utf-8"> <title><?php echo $var; ?></title> </head> <body> <h3><?php echo $var; ?></h3> <p>PHP, an acronym..</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.0150.00616.63
8.3.50.0120.01021.99
8.3.40.0110.00418.68
8.3.30.0030.01018.96
8.3.20.0040.00420.41
8.3.10.0050.00323.84
8.3.00.0070.00419.09
8.2.180.0040.01216.63
8.2.170.0110.00622.96
8.2.160.0100.01020.38
8.2.150.0040.00424.18
8.2.140.0070.00724.66
8.2.130.0040.00426.16
8.2.120.0000.00722.20
8.2.110.0040.00422.23
8.2.100.0100.00717.78
8.2.90.0060.00319.28
8.2.80.0080.00017.97
8.2.70.0080.00017.62
8.2.60.0030.00518.04
8.2.50.0000.00818.07
8.2.40.0060.00319.96
8.2.30.0030.00518.02
8.2.20.0000.00917.67
8.2.10.0080.00018.04
8.2.00.0030.00617.68
8.1.280.0140.00025.92
8.1.270.0000.00823.79
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0080.00022.14
8.1.230.0080.00419.09
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0090.00017.11
8.1.190.0000.00817.23
8.1.180.0000.01019.01
8.1.170.0060.00618.45
8.1.160.0000.00721.88
8.1.150.0000.00818.43
8.1.140.0000.00717.44
8.1.130.0030.00317.89
8.1.120.0030.00517.39
8.1.110.0000.00817.33
8.1.100.0060.00317.40
8.1.90.0000.00717.39
8.1.80.0000.00817.31
8.1.70.0000.00717.26
8.1.60.0040.00417.42
8.1.50.0040.00417.43
8.1.40.0040.00417.49
8.1.30.0000.00817.49
8.1.20.0050.00217.62
8.1.10.0000.00717.42
8.1.00.0000.00717.44
8.0.300.0040.00418.77
8.0.290.0000.00717.04
8.0.280.0070.00018.45
8.0.270.0000.00717.20
8.0.260.0000.00617.25
8.0.250.0000.00717.00
8.0.240.0080.00016.98
8.0.230.0000.00816.76
8.0.220.0030.00316.73
8.0.210.0000.00716.88
8.0.200.0000.00716.89
8.0.190.0040.00416.94
8.0.180.0050.00316.82
8.0.170.0040.00416.79
8.0.160.0030.00316.83
8.0.150.0070.00016.79
8.0.140.0000.00716.73
8.0.130.0030.00613.23
8.0.120.0000.00716.82
8.0.110.0000.00716.77
8.0.100.0050.00516.81
8.0.90.0000.00716.86
8.0.80.0030.01716.71
8.0.70.0050.00316.63
8.0.60.0000.00716.66
8.0.50.0050.00316.71
8.0.30.0100.00817.16
8.0.20.0090.00917.40
8.0.10.0000.00716.99
8.0.00.0060.01416.66
7.4.330.0060.00015.02
7.4.320.0030.00316.41
7.4.300.0040.00416.56
7.4.290.0080.00016.52
7.4.280.0040.00416.44
7.4.270.0000.00716.54
7.4.260.0030.00316.50
7.4.250.0040.00416.42
7.4.240.0020.00516.55
7.4.230.0070.00016.24
7.4.220.0060.01216.55
7.4.210.0110.00416.55
7.4.200.0000.00716.63
7.4.190.0000.00716.37
7.4.160.0130.00316.58
7.4.150.0100.01017.40
7.4.140.0050.01217.86
7.4.130.0100.00816.50
7.4.120.0110.01016.50
7.4.110.0070.01116.56
7.4.100.0150.00716.49
7.4.90.0030.01316.46
7.4.80.0170.00619.39
7.4.70.0160.00016.43
7.4.60.0090.00916.18
7.4.50.0050.00316.44
7.4.40.0060.01316.20
7.4.30.0090.01216.30
7.4.00.0080.00814.80
7.3.330.0060.00013.13
7.3.320.0000.00513.13
7.3.310.0030.00516.04
7.3.300.0070.00016.20
7.3.290.0050.01316.21
7.3.280.0090.00816.19
7.3.270.0170.00417.40
7.3.260.0170.00716.39
7.3.250.0030.01316.40
7.3.240.0150.00816.59
7.3.230.0090.00916.39
7.3.210.0100.01316.17
7.3.200.0170.00019.39
7.3.190.0120.00916.54
7.3.180.0100.00616.35
7.3.170.0040.01116.52
7.3.160.0070.01416.47
7.3.120.0070.00514.69
7.3.110.0070.01114.50
7.3.100.0120.00014.77
7.3.90.0090.00914.75
7.3.80.0060.00614.59
7.3.70.0000.01214.74
7.3.60.0000.00914.86
7.3.50.0090.00614.63
7.3.40.0090.00914.78
7.3.30.0080.00414.63
7.3.20.0070.01016.61
7.3.10.0030.00616.43
7.3.00.0070.00716.53
7.2.330.0060.01216.37
7.2.320.0030.01316.50
7.2.310.0110.01116.63
7.2.300.0030.01316.39
7.2.290.0100.01016.47
7.2.250.0120.00614.97
7.2.240.0060.01214.63
7.2.230.0090.00915.19
7.2.220.0060.00914.51
7.2.210.0000.00914.72
7.2.200.0070.00714.95
7.2.190.0070.00314.94
7.2.180.0100.00714.46
7.2.170.0030.00914.92
7.2.00.0040.00819.04
7.1.330.0000.01315.52
7.1.320.0070.00715.91
7.1.310.0070.00715.85
7.1.300.0070.00715.81
7.1.290.0090.00615.61
7.1.280.0040.00715.63
7.1.270.0110.00415.65
7.1.260.0030.01215.83
7.1.100.0060.00617.89
7.1.70.0000.00917.00
7.1.60.0100.01619.46
7.1.50.0100.01316.53
7.1.00.0070.07322.31
7.0.200.0030.00316.78
7.0.140.0000.07722.12
7.0.60.0030.04019.90
7.0.50.0100.03317.89
7.0.40.0070.07720.10
7.0.30.0300.08320.21
7.0.20.0330.08020.16
7.0.10.0100.03720.16
7.0.00.0100.08320.16
5.6.280.0000.07721.12
5.6.210.0070.08320.75
5.6.200.0070.05318.21
5.6.190.0100.08320.40
5.6.180.0330.07020.42
5.6.170.0300.07320.51
5.6.160.0000.05320.49
5.6.150.0070.06318.13
5.6.140.0100.08318.18
5.6.130.0100.07718.16
5.6.120.0070.05021.07
5.6.110.0030.09020.95
5.6.100.0100.05720.98
5.6.90.0070.09321.00
5.6.80.0030.04020.38
5.5.350.4230.03720.43
5.5.340.0070.04317.89
5.5.330.0100.05020.25
5.5.320.0230.04320.21
5.5.310.0230.04720.51
5.5.300.0130.04318.00
5.5.290.0030.06017.88
5.5.280.0070.08020.89
5.5.270.0000.05020.79
5.5.260.0070.05020.86
5.5.250.0030.04720.69
5.5.240.0070.07320.13
5.4.450.0100.05719.55
5.4.440.0170.05719.61
5.4.430.0130.05019.22
5.4.420.0170.05019.46
5.4.410.0230.05019.12
5.4.400.0200.05019.26
5.4.390.0100.06018.80
5.4.380.0230.06318.71
5.4.370.0300.06018.68
5.4.360.0370.04718.69
5.4.350.0400.04318.50
5.4.340.0200.05718.50
5.4.320.0040.03812.46
5.4.310.0060.03912.45
5.4.300.0060.03712.45
5.4.290.0110.04912.43
5.4.280.0130.05312.33
5.4.270.0090.05412.33
5.4.260.0130.05112.33
5.4.250.0120.05112.33
5.4.240.0080.05412.33
5.4.230.0060.04412.32
5.4.220.0050.04112.32
5.4.210.0100.03312.32
5.4.200.0070.03812.32
5.4.190.0060.03912.32
5.4.180.0130.03612.32
5.4.170.0110.04112.33
5.4.160.0040.05212.33
5.4.150.0080.05212.32
5.4.140.0120.05012.01
5.4.130.0120.04411.99
5.4.120.0080.04111.95
5.4.110.0110.04211.95
5.4.100.0070.05011.95
5.4.90.0090.05211.95
5.4.80.0080.04911.95
5.4.70.0070.04411.94
5.4.60.0050.04111.94
5.4.50.0070.04411.95
5.4.40.0120.06611.93
5.4.30.0080.05211.93
5.4.20.0150.06211.93
5.4.10.0120.03811.93
5.4.00.0090.04711.42
5.3.290.0040.04012.80
5.3.280.0120.05212.71
5.3.270.0150.05212.72
5.3.260.0150.05012.72
5.3.250.0120.05212.72
5.3.240.0120.07212.72
5.3.230.0110.05412.71
5.3.220.0090.05512.68
5.3.210.0130.05512.68
5.3.200.0110.05312.68
5.3.190.0100.05312.68
5.3.180.0130.05112.67
5.3.170.0140.05412.67
5.3.160.0070.05612.67
5.3.150.0100.05512.67
5.3.140.0090.04212.66
5.3.130.0060.04512.66
5.3.120.0110.05612.66
5.3.110.0060.05112.66
5.3.100.0100.04712.12
5.3.90.0120.03712.08
5.3.80.0060.04012.08
5.3.70.0080.03812.07
5.3.60.0130.05112.07
5.3.50.0130.05012.00
5.3.40.0110.05012.00
5.3.30.0120.04711.94
5.3.20.0120.04411.72
5.3.10.0070.03711.69
5.3.00.0070.03811.67
5.2.170.0080.0439.17
5.2.160.0090.0449.17
5.2.150.0120.0409.17
5.2.140.0060.0419.17
5.2.130.0100.0409.13
5.2.120.0120.0379.13
5.2.110.0080.0379.14
5.2.100.0080.0409.14
5.2.90.0110.0409.14
5.2.80.0100.0379.13
5.2.70.0140.0359.13
5.2.60.0060.0449.09
5.2.50.0130.0409.05
5.2.40.0130.0339.04
5.2.30.0080.0409.00
5.2.20.0050.0349.00
5.2.10.0070.0278.91
5.2.00.0070.0428.77
5.1.60.0070.0348.05
5.1.50.0080.0348.05
5.1.40.0070.0368.04
5.1.30.0090.0368.39
5.1.20.0060.0458.41
5.1.10.0080.0338.14
5.1.00.0050.0378.13
5.0.50.0060.0276.61
5.0.40.0050.0276.47
5.0.30.0070.0416.29
5.0.20.0090.0246.26
5.0.10.0050.0276.23
5.0.00.0050.0426.23
4.4.90.0060.0204.78
4.4.80.0050.0244.76
4.4.70.0030.0234.75
4.4.60.0030.0204.75
4.4.50.0040.0224.77
4.4.40.0050.0304.71
4.4.30.0050.0184.76
4.4.20.0060.0184.84
4.4.10.0080.0184.85
4.4.00.0020.0344.76
4.3.110.0050.0184.67
4.3.100.0040.0254.66
4.3.90.0030.0204.63
4.3.80.0040.0314.58
4.3.70.0020.0214.63
4.3.60.0060.0194.63
4.3.50.0020.0274.63
4.3.40.0030.0344.54
4.3.30.0040.0193.27
4.3.20.0030.0173.26
4.3.10.0040.0203.22
4.3.00.0030.0237.29

preferences:
44.93 ms | 401 KiB | 5 Q