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> </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.0140.00016.38
8.3.50.0100.00821.84
8.3.40.0070.01018.56
8.3.30.0100.00318.79
8.3.20.0070.00020.09
8.3.10.0080.00023.70
8.3.00.0000.00818.89
8.2.180.0080.00817.91
8.2.170.0040.01122.96
8.2.160.0100.00320.39
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0000.00820.90
8.2.110.0060.00321.02
8.2.100.0090.00317.91
8.2.90.0030.00619.05
8.2.80.0050.00317.97
8.2.70.0040.00817.38
8.2.60.0080.00318.03
8.2.50.0000.00818.07
8.2.40.0000.00919.88
8.2.30.0070.00018.15
8.2.20.0040.00417.66
8.2.10.0000.00718.03
8.2.00.0040.00417.73
8.1.280.0100.00725.92
8.1.270.0070.00723.88
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0070.00323.91
8.1.230.0060.00622.73
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00717.23
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0030.00518.61
8.1.160.0070.00021.85
8.1.150.0070.00018.57
8.1.140.0040.00417.36
8.1.130.0030.00317.81
8.1.120.0000.00817.36
8.1.110.0000.00717.41
8.1.100.0030.00317.31
8.1.90.0040.00417.35
8.1.80.0080.00017.37
8.1.70.0030.00317.23
8.1.60.0080.00017.55
8.1.50.0080.00017.31
8.1.40.0020.00517.50
8.1.30.0030.00617.58
8.1.20.0000.00717.46
8.1.10.0070.00017.36
8.1.00.0080.00017.46
8.0.300.0040.00418.77
8.0.290.0040.00417.18
8.0.280.0030.00318.35
8.0.270.0030.00317.35
8.0.260.0030.00317.20
8.0.250.0000.00716.96
8.0.240.0030.00516.92
8.0.230.0030.00316.92
8.0.220.0030.00316.77
8.0.210.0000.00816.71
8.0.200.0070.00016.86
8.0.190.0030.00316.79
8.0.180.0000.00716.74
8.0.170.0040.00416.88
8.0.160.0030.00316.73
8.0.150.0050.00216.75
8.0.140.0000.00816.67
8.0.130.0030.00313.25
8.0.120.0040.00416.66
8.0.110.0000.00716.81
8.0.100.0030.00516.64
8.0.90.0080.00016.68
8.0.80.0040.01116.77
8.0.70.0000.00716.72
8.0.60.0030.00416.85
8.0.50.0040.00416.85
8.0.30.0070.01517.01
8.0.20.0160.00317.40
8.0.10.0000.00716.99
8.0.00.0080.01316.76
7.4.330.0050.00015.16
7.4.320.0030.00316.52
7.4.300.0060.00016.57
7.4.290.0040.00416.29
7.4.280.0040.00416.31
7.4.270.0030.00316.45
7.4.260.0000.00716.52
7.4.250.0040.00416.53
7.4.240.0030.00516.43
7.4.230.0070.00016.53
7.4.220.0060.01016.59
7.4.210.0060.01016.47
7.4.200.0040.00416.30
7.4.190.0030.00316.70
7.4.160.0090.00616.26
7.4.150.0140.00617.40
7.4.140.0080.01317.86
7.4.130.0120.00916.47
7.4.120.0080.00816.38
7.4.110.0060.01416.51
7.4.100.0120.00616.48
7.4.90.0100.00716.42
7.4.80.0090.01019.39
7.4.70.0150.00016.26
7.4.60.0070.01016.43
7.4.50.0040.00016.20
7.4.40.0160.00616.17
7.4.30.0030.01316.42
7.4.00.0060.00914.95
7.3.330.0060.00013.08
7.3.320.0020.00313.03
7.3.310.0040.00416.18
7.3.300.0060.00016.22
7.3.290.0000.01316.23
7.3.280.0070.00916.19
7.3.270.0140.00317.40
7.3.260.0140.00316.37
7.3.250.0090.00916.26
7.3.240.0100.00616.27
7.3.230.0060.01616.39
7.3.210.0130.00316.34
7.3.200.0180.00819.39
7.3.190.0140.00516.43
7.3.180.0110.00516.22
7.3.170.0090.00616.45
7.3.160.0120.00316.38
7.3.120.0030.01314.67
7.3.10.0130.00316.49
7.3.00.0130.00316.03
7.2.330.0100.00716.51
7.2.320.0070.01116.48
7.2.310.0190.00616.21
7.2.300.0080.01216.55
7.2.290.0120.00316.40
7.2.130.0030.00916.29
7.2.120.0200.00416.57
7.2.110.0090.00316.45
7.2.100.0120.00316.55
7.2.90.0240.00015.99
7.2.80.0110.00816.40
7.2.70.0170.01416.48
7.2.60.0100.01016.25
7.2.50.0220.00416.06
7.2.40.0090.00916.98
7.2.30.0140.00616.66
7.2.20.0120.01216.08
7.2.10.0120.01216.24
7.2.00.0070.01018.11
7.1.250.0090.00615.28
7.1.100.0030.01017.89
7.1.70.0050.00316.74
7.1.60.0110.01419.46
7.1.50.0070.01116.82
7.1.00.0070.07322.36
7.0.200.0000.01016.66
7.0.140.0070.07322.04
7.0.60.0200.07321.73
7.0.50.0070.07717.80
7.0.40.0070.06020.19
7.0.30.0270.03720.17
7.0.20.0300.07720.00
7.0.10.0070.04320.21
7.0.00.0070.04020.00
5.6.280.0030.07320.84
5.6.210.0070.06020.70
5.6.200.0030.05318.08
5.6.190.0100.07720.33
5.6.180.0370.04020.33
5.6.170.0230.06020.54
5.6.160.0100.04020.52
5.6.150.0100.08018.21
5.6.140.0070.05718.14
5.6.130.0170.07718.18
5.6.120.0070.06721.12
5.6.110.0070.07021.10
5.6.100.0270.06320.97
5.6.90.0100.06321.09
5.6.80.0070.03320.37
5.5.350.0200.08020.27
5.5.340.0070.05018.02
5.5.330.0070.09020.46
5.5.320.0330.07320.41
5.5.310.0300.05020.26
5.5.300.0130.04318.02
5.5.290.0030.04717.88
5.5.280.0070.08020.73
5.5.270.0030.04320.82
5.5.260.0030.05320.63
5.5.250.0100.08720.68
5.5.240.0100.05720.34
5.4.450.0300.04719.30
5.4.440.0200.08019.52
5.4.430.0330.07319.36
5.4.420.0300.03319.40
5.4.410.0370.03019.37
5.4.400.0370.06318.97
5.4.390.0270.03719.19
5.4.380.0370.06018.89
5.4.370.0230.04719.20
5.4.360.0330.06319.05
5.4.350.0230.06018.87
5.4.340.0170.04718.92
5.4.320.0270.04719.16
5.4.310.0270.04719.04
5.4.300.0270.04019.12
5.4.290.0230.04018.93
5.4.280.0270.07019.04
5.4.270.0330.04319.13
5.4.260.0430.06019.06
5.4.250.0330.07019.06
5.4.240.0300.06719.04
5.4.230.0300.05719.16
5.4.220.0330.06718.92
5.4.210.0270.07719.08
5.4.200.0230.04019.25
5.4.190.0230.04319.16
5.4.180.0370.04719.00
5.4.170.0330.07018.95
5.4.160.0300.07019.13
5.4.150.0330.07018.95
5.4.140.0230.04716.20
5.4.130.0270.04316.34
5.4.120.0270.03316.21
5.4.110.0270.04016.32
5.4.100.0370.06316.57
5.4.90.0270.05316.35
5.4.80.0230.03316.55
5.4.70.0230.04016.21
5.4.60.0230.03716.55
5.4.50.0230.04016.11
5.4.40.0300.03316.39
5.4.30.0270.03316.13
5.4.20.0270.04316.22
5.4.10.0270.06716.43
5.4.00.0300.03715.57
5.3.290.0230.04314.75
5.3.280.0330.05014.41
5.3.270.0330.03714.39
5.3.260.0370.07314.55
5.3.250.0330.03314.53
5.3.240.0330.06714.62
5.3.230.0200.04714.69
5.3.220.0170.04314.35
5.3.210.0300.06714.53
5.3.200.0300.07014.50
5.3.190.0230.05714.54
5.3.180.0370.04014.48
5.3.170.0270.06014.49
5.3.160.0300.06014.66
5.3.150.0370.06014.50
5.3.140.0230.05714.45
5.3.130.0230.05014.47
5.3.120.0330.06014.51
5.3.110.0270.05014.49
5.3.100.0230.05713.97
5.3.90.0270.06713.96
5.3.80.0230.04713.94
5.3.70.0400.04013.83
5.3.60.0330.05713.93
5.3.50.0330.06713.88
5.3.40.0270.04713.87
5.3.30.0270.04013.84
5.3.20.0330.06013.50
5.3.10.0230.04313.67
5.3.00.0230.04013.42
5.2.170.0200.04011.07
5.2.160.0200.04311.08
5.2.150.0270.06311.22
5.2.140.0300.02711.07
5.2.130.0200.03011.11
5.2.120.0270.03711.25
5.2.110.0200.03011.25
5.2.100.0300.05010.96
5.2.90.0230.04311.03
5.2.80.0300.05311.04
5.2.70.0270.02711.25
5.2.60.0230.04310.86
5.2.50.0300.04010.91
5.2.40.0170.04010.96
5.2.30.0170.03010.95
5.2.20.0200.02710.89
5.2.10.0200.03010.93
5.2.00.0230.03710.75
5.1.60.0130.03010.06
5.1.50.0230.0239.94
5.1.40.0300.03710.14
5.1.30.0200.02310.32
5.1.20.0200.05010.34
5.1.10.0270.04310.04
5.1.00.0230.04710.07
5.0.50.0130.0279.70
5.0.40.0100.0439.70
5.0.30.0100.0639.70
5.0.20.0130.0239.70
5.0.10.0070.0409.70
5.0.00.0100.0609.70
4.4.90.0100.0179.70
4.4.80.0130.0309.70
4.4.70.0030.0209.70
4.4.60.0130.0309.70
4.4.50.0070.0209.70
4.4.40.0100.0309.70
4.4.30.0130.0339.70
4.4.20.0100.0339.70
4.4.10.0100.0339.70
4.4.00.0070.0439.70
4.3.110.0100.0309.70
4.3.100.0100.0339.70
4.3.90.0130.0279.70
4.3.80.0100.0539.70
4.3.70.0170.0209.70
4.3.60.0130.0179.70
4.3.50.0070.0209.70
4.3.40.0100.0239.70
4.3.30.0030.0239.70
4.3.20.0070.0279.70
4.3.10.0030.0239.70
4.3.00.0070.0279.70

preferences:
38.02 ms | 401 KiB | 5 Q