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; ?> - W3resource!</title> </head> <body> <h3><?php echo $var; ?></h3> <p>PHP, an acronym for Hypertext Preprocessor, is a widely-used open source general-purpose scripting language. It is a cross-platform, HTML embedded server-side scripting language and is especially suited for web development.</p> <p><a href="http://www.w3resource.com/php/php-home.php">Go to the <?php echo $var; ?></a>.</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.0040.01116.38
8.3.50.0120.01021.98
8.3.40.0120.00618.42
8.3.30.0140.00418.71
8.3.20.0060.00320.20
8.3.10.0030.00623.48
8.3.00.0030.00519.68
8.2.180.0130.01018.26
8.2.170.0110.00322.96
8.2.160.0140.00020.53
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0100.00726.16
8.2.120.0130.00620.87
8.2.110.0060.00321.98
8.2.100.0000.01117.78
8.2.90.0080.00019.23
8.2.80.0040.00417.97
8.2.70.0090.00017.63
8.2.60.0040.00417.93
8.2.50.0040.00418.07
8.2.40.0100.00018.14
8.2.30.0000.00818.31
8.2.20.0040.00417.67
8.2.10.0000.00717.98
8.2.00.0050.00317.71
8.1.280.0190.00025.92
8.1.270.0050.00322.01
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0050.00523.88
8.1.230.0060.00619.12
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00617.25
8.1.190.0030.00517.25
8.1.180.0040.00418.10
8.1.170.0050.00318.59
8.1.160.0040.00421.95
8.1.150.0000.00718.67
8.1.140.0000.00817.39
8.1.130.0030.00317.74
8.1.120.0030.00517.38
8.1.110.0040.00417.43
8.1.100.0000.00717.30
8.1.90.0030.00317.41
8.1.80.0040.00417.35
8.1.70.0040.00417.32
8.1.60.0040.00417.54
8.1.50.0070.00317.49
8.1.40.0060.00317.45
8.1.30.0040.00417.61
8.1.20.0070.00017.43
8.1.10.0000.00817.54
8.1.00.0040.00417.30
8.0.300.0030.00318.77
8.0.290.0040.00416.63
8.0.280.0000.00718.37
8.0.270.0070.00017.13
8.0.260.0030.00317.25
8.0.250.0000.00716.92
8.0.240.0000.00816.98
8.0.230.0000.00716.73
8.0.220.0060.00016.77
8.0.210.0000.00716.85
8.0.200.0030.00316.86
8.0.190.0000.00816.85
8.0.180.0000.00716.81
8.0.170.0050.00316.74
8.0.160.0030.00316.66
8.0.150.0050.00316.76
8.0.140.0000.00716.70
8.0.130.0030.00313.25
8.0.120.0040.00416.76
8.0.110.0050.00216.71
8.0.100.0030.00516.88
8.0.90.0000.00716.89
8.0.80.0040.01216.89
8.0.70.0070.00016.80
8.0.60.0060.00316.89
8.0.50.0040.00416.94
8.0.30.0050.01416.84
8.0.20.0110.00817.40
8.0.10.0040.00416.98
8.0.00.0100.01016.76
7.4.330.0000.00515.02
7.4.320.0000.00616.36
7.4.300.0000.00716.54
7.4.290.0030.00416.37
7.4.280.0040.00416.29
7.4.270.0000.00716.45
7.4.260.0030.00716.51
7.4.250.0030.00416.58
7.4.240.0050.00216.50
7.4.230.0030.00316.32
7.4.220.0100.01016.50
7.4.210.0070.01416.37
7.4.200.0030.00616.52
7.4.160.0170.00716.40
7.4.150.0130.00717.40
7.4.140.0100.00917.86
7.4.130.0070.01016.43
7.4.120.0170.00216.56
7.4.110.0030.01316.41
7.4.100.0040.01116.25
7.4.90.0140.00416.39
7.4.80.0040.01919.39
7.4.70.0150.00416.52
7.4.60.0080.00816.44
7.4.50.0000.00916.50
7.4.40.0030.01316.44
7.4.30.0110.00416.64
7.4.00.0040.00414.79
7.3.330.0050.00012.99
7.3.320.0000.00612.87
7.3.310.0030.00316.25
7.3.300.0030.00516.11
7.3.290.0000.01816.24
7.3.280.0100.00616.14
7.3.270.0100.01317.40
7.3.260.0120.00616.24
7.3.250.0070.01416.47
7.3.240.0080.01416.16
7.3.230.0070.01016.50
7.3.210.0060.01116.20
7.3.200.0080.00819.39
7.3.190.0200.00316.12
7.3.180.0130.00316.35
7.3.170.0150.00016.40
7.3.160.0090.00616.50
7.3.120.0090.00614.80
7.2.330.0120.00616.56
7.2.320.0060.01316.38
7.2.310.0080.01116.55
7.2.300.0080.00816.39
7.2.290.0120.00316.32
7.2.60.0030.00616.87
7.1.200.0000.00915.51
7.1.100.0070.00718.06
7.1.70.0000.00816.81
7.1.60.0000.01919.70
7.1.50.0140.01016.89
7.1.00.0070.07022.29
7.0.200.0000.00916.73
7.0.140.0000.07722.11
7.0.60.0000.05719.87
7.0.50.0000.05717.82
7.0.40.0030.04720.29
7.0.30.0200.04320.00
7.0.20.0170.05020.20
7.0.10.0130.05020.13
7.0.00.0070.03720.29
5.6.280.0100.06720.77
5.6.210.0100.08320.74
5.6.200.0070.06318.22
5.6.190.0070.04720.44
5.6.180.4170.04020.61
5.6.170.0270.03720.53
5.6.160.0070.04720.38
5.6.150.0070.07718.18
5.6.140.0030.05718.18
5.6.130.0100.05018.15
5.6.120.0200.07021.00
5.6.110.0100.08320.98
5.6.100.0070.08320.95
5.6.90.0030.09021.09
5.6.80.0170.07320.38
5.6.70.4170.04320.27
5.5.350.0030.08020.45
5.5.340.0100.08017.92
5.5.330.0100.05320.29
5.5.320.0370.06320.29
5.5.310.0230.07320.28
5.5.300.0100.08017.92
5.5.290.0030.04317.91
5.5.280.0100.08320.76
5.5.270.0070.08020.88
5.5.260.0070.08320.76
5.5.250.0070.06320.68
5.5.240.0230.07320.22
5.4.450.0170.05043.93
5.4.440.0370.04043.92
5.4.430.0300.04743.90
5.4.420.1030.04043.90
5.4.410.0270.04743.89
5.4.400.0400.04043.86
5.4.390.0100.05043.81
5.4.380.0130.05318.71
5.4.370.0030.06018.66
5.4.360.0130.05718.66
5.4.350.0070.06018.61
5.4.340.0070.05718.69
5.4.320.0060.03812.45
5.4.310.0090.03812.45
5.4.300.0070.03612.45
5.4.290.0070.04012.45
5.4.280.0060.03812.35
5.4.270.0040.04312.34
5.4.260.0050.03912.35
5.4.250.0070.03712.35
5.4.240.0080.03412.34
5.4.230.0080.03512.34
5.4.220.0080.03312.34
5.4.210.0080.03812.34
5.4.200.0070.03612.34
5.4.190.0060.04112.34
5.4.180.0060.04012.33
5.4.170.0050.03712.35
5.4.160.0070.04012.34
5.4.150.0100.03212.34
5.4.140.0070.04212.02
5.4.130.0100.03512.01
5.4.120.0060.03411.97
5.4.110.0070.03411.96
5.4.100.0060.03811.96
5.4.90.0040.04111.96
5.4.80.0080.04411.96
5.4.70.0060.03911.96
5.4.60.0050.03511.96
5.4.50.0070.03611.96
5.4.40.0050.03411.95
5.4.30.0070.03511.94
5.4.20.0040.03911.95
5.4.10.0060.03511.95
5.4.00.0070.04511.44
5.3.290.0090.03612.80
5.3.280.0050.04212.70
5.3.270.0120.03712.72
5.3.260.0060.03812.72
5.3.250.0090.03412.72
5.3.240.0070.03612.72
5.3.230.0050.03812.71
5.3.220.0060.04212.68
5.3.210.0050.04112.68
5.3.200.0080.03412.68
5.3.190.0060.03712.68
5.3.180.0110.03612.68
5.3.170.0060.03612.67
5.3.160.0070.03512.68
5.3.150.0060.03812.67
5.3.140.0070.03612.66
5.3.130.0090.03612.66
5.3.120.0050.04412.66
5.3.110.0050.04112.66
5.3.100.0060.03812.12
5.3.90.0080.03712.08
5.3.80.0090.03312.07
5.3.70.0100.03212.07
5.3.60.0060.03612.07
5.3.50.0050.03912.00
5.3.40.0070.03612.00
5.3.30.0040.03611.94
5.3.20.0090.04011.72
5.3.10.0090.03811.69
5.3.00.0050.03611.68
5.2.170.0070.0359.18
5.2.160.0100.0269.18
5.2.150.0070.0359.18
5.2.140.0080.0309.17
5.2.130.0070.0349.14
5.2.120.0050.0289.13
5.2.110.0030.0319.14
5.2.100.0030.0339.13
5.2.90.0030.0319.13
5.2.80.0020.0339.13
5.2.70.0060.0299.13
5.2.60.0080.0319.09
5.2.50.0060.0299.05
5.2.40.0040.0299.04
5.2.30.0060.0369.01
5.2.20.0070.0268.99
5.2.10.0060.0378.92
5.2.00.0040.0308.77
5.1.60.0060.0258.06
5.1.50.0030.0308.05
5.1.40.0070.0258.04
5.1.30.0090.0268.39
5.1.20.0010.0298.41
5.1.10.0050.0358.14
5.1.00.0040.0258.13
5.0.50.0050.0306.61
5.0.40.0040.0186.48
5.0.30.0030.0316.29
5.0.20.0040.0186.26
5.0.10.0050.0186.24
5.0.00.0040.0306.23
4.4.90.0010.0174.78
4.4.80.0030.0154.75
4.4.70.0040.0144.76
4.4.60.0040.0144.75
4.4.50.0040.0184.77
4.4.40.0040.0244.71
4.4.30.0020.0174.76
4.4.20.0030.0204.84
4.4.10.0040.0214.85
4.4.00.0020.0254.76
4.3.110.0020.0164.67
4.3.100.0030.0154.66
4.3.90.0060.0114.64
4.3.80.0010.0304.58
4.3.70.0050.0204.63
4.3.60.0030.0144.62
4.3.50.0040.0164.63
4.3.40.0020.0284.54
4.3.30.0060.0163.28
4.3.20.0020.0203.25
4.3.10.0040.0173.22
4.3.00.0030.01743.79

preferences:
47.87 ms | 401 KiB | 5 Q