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.70.0100.00616.63
8.3.60.0150.00018.43
8.3.50.0100.00521.93
8.3.40.0040.01218.78
8.3.30.0100.01018.92
8.3.20.0050.00320.38
8.3.10.0070.00023.66
8.3.00.0000.00817.68
8.2.180.0100.00318.29
8.2.170.0110.00622.96
8.2.160.0040.01120.57
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0000.00820.79
8.2.110.0040.00420.35
8.2.100.0110.00017.78
8.2.90.0050.00319.27
8.2.80.0030.00617.97
8.2.70.0030.00517.38
8.2.60.0060.00317.93
8.2.50.0050.00318.07
8.2.40.0080.00018.34
8.2.30.0040.00418.35
8.2.20.0000.00717.63
8.2.10.0030.00519.71
8.2.00.0000.00917.73
8.1.280.0140.00325.92
8.1.270.0060.00323.92
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00723.91
8.1.230.0110.00017.42
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0040.00717.23
8.1.190.0040.00417.13
8.1.180.0030.00518.10
8.1.170.0050.00318.52
8.1.160.0040.00422.02
8.1.150.0040.00418.82
8.1.140.0040.00417.38
8.1.130.0070.00017.88
8.1.120.0040.00417.30
8.1.110.0040.00417.42
8.1.100.0020.00517.42
8.1.90.0000.00717.35
8.1.80.0050.00217.29
8.1.70.0000.00717.36
8.1.60.0040.00417.39
8.1.50.0030.00617.48
8.1.40.0070.00017.34
8.1.30.0000.00817.43
8.1.20.0070.00017.55
8.1.10.0000.00717.44
8.1.00.0040.00417.33
8.0.300.0070.00318.77
8.0.290.0040.00416.75
8.0.280.0080.00018.39
8.0.270.0040.00417.17
8.0.260.0060.00017.20
8.0.250.0020.00516.91
8.0.240.0030.00317.02
8.0.230.0030.00316.89
8.0.220.0080.00016.90
8.0.210.0000.00716.81
8.0.200.0000.00716.85
8.0.190.0040.00416.92
8.0.180.0050.00216.79
8.0.170.0000.00816.94
8.0.160.0000.00716.80
8.0.150.0000.00716.79
8.0.140.0040.00416.69
8.0.130.0060.00013.27
8.0.120.0080.00016.75
8.0.110.0000.00816.75
8.0.100.0070.00016.79
8.0.90.0030.00316.89
8.0.80.0000.01416.79
8.0.70.0050.00316.79
8.0.60.0040.00416.79
8.0.50.0030.00516.71
8.0.30.0120.00817.02
8.0.20.0060.01317.40
8.0.10.0000.00716.84
8.0.00.0080.01416.49
7.4.330.0050.00015.06
7.4.320.0030.00316.59
7.4.300.0060.00016.45
7.4.290.0000.00616.46
7.4.280.0000.00816.54
7.4.270.0070.00016.44
7.4.260.0040.00416.35
7.4.250.0000.00716.41
7.4.240.0010.00616.41
7.4.230.0000.00716.42
7.4.220.0120.00616.47
7.4.210.0080.00616.57
7.4.200.0030.00316.38
7.4.160.0120.00616.45
7.4.150.0060.01117.40
7.4.140.0090.00917.86
7.4.130.0130.00616.41
7.4.120.0080.00916.39
7.4.110.0110.00816.17
7.4.100.0130.00916.38
7.4.90.0100.00716.38
7.4.80.0110.00619.39
7.4.70.0070.01016.51
7.4.60.0000.01616.40
7.4.50.0050.00316.36
7.4.40.0090.00916.31
7.4.30.0070.01016.51
7.4.00.0090.00615.06
7.3.330.0020.00213.00
7.3.320.0050.00013.13
7.3.310.0000.00716.24
7.3.300.0030.00316.06
7.3.290.0070.00716.23
7.3.280.0110.00816.18
7.3.270.0090.01217.40
7.3.260.0060.01216.26
7.3.250.0100.00916.26
7.3.240.0100.00816.37
7.3.230.0070.01016.39
7.3.210.0100.00616.22
7.3.200.0060.01519.39
7.3.190.0070.01016.42
7.3.180.0090.00616.61
7.3.170.0030.01216.27
7.3.160.0050.01116.56
7.3.120.0030.01414.68
7.3.10.0140.00016.64
7.3.00.0070.00716.61
7.2.330.0040.01316.34
7.2.320.0100.00716.66
7.2.310.0090.00916.41
7.2.300.0070.01116.57
7.2.290.0070.01416.64
7.2.130.0040.01116.86
7.2.120.0120.00316.64
7.2.110.0090.00616.61
7.2.100.0030.00716.56
7.2.90.0000.01516.71
7.2.80.0100.00716.76
7.2.70.0070.00316.40
7.2.60.0080.00516.74
7.2.50.0030.01016.48
7.2.40.0060.00616.59
7.2.30.0140.00016.89
7.2.20.0040.00816.83
7.2.10.0080.00416.51
7.2.00.0030.01018.00
7.1.250.0060.00615.73
7.1.200.0060.00615.46
7.1.100.0110.00318.05
7.1.70.0030.00617.04
7.1.60.0100.01319.70
7.1.50.0090.01616.53
7.1.00.0030.07322.43
7.0.200.0000.00716.73
7.0.140.0000.06721.93
7.0.60.0030.08319.86
7.0.50.0100.04017.86
7.0.40.0100.07720.05
7.0.30.0670.06720.13
7.0.20.0170.05020.09
7.0.10.0200.08020.16
7.0.00.0070.04320.17
5.6.280.0070.06721.10
5.6.210.0030.04020.46
5.6.200.0030.08718.17
5.6.190.0100.06720.33
5.6.180.0230.08020.74
5.6.170.0200.08720.40
5.6.160.0070.08720.76
5.6.150.0070.05018.16
5.6.140.0070.06318.17
5.6.130.0100.08018.18
5.6.120.0030.04021.00
5.6.110.0030.08320.99
5.6.100.0070.08320.98
5.6.90.0030.08321.09
5.6.80.0000.05020.48
5.6.70.0330.05320.49
5.5.350.0070.05020.41
5.5.340.0000.07017.93
5.5.330.0070.04320.27
5.5.320.0000.05020.29
5.5.310.0330.04720.21
5.5.300.0100.05018.02
5.5.290.0070.06017.91
5.5.280.0070.03720.93
5.5.270.0030.04020.83
5.5.260.0100.06320.86
5.5.250.0100.08020.69
5.5.240.0030.05320.15
5.4.450.0070.04319.41
5.4.440.0070.08019.39
5.4.430.0030.06719.45
5.4.420.0030.07019.47
5.4.410.0070.07319.11
5.4.400.0070.05718.92
5.4.390.0030.07718.81
5.4.380.0070.07319.14
5.4.370.0000.08319.09
5.4.360.0030.08019.09
5.4.350.0000.05019.16
5.4.340.0030.05019.16
5.4.320.0030.08019.09
5.4.310.0030.04718.93
5.4.300.0130.05718.93
5.4.290.0070.07019.02
5.4.280.0000.05019.06
5.4.270.0030.05019.08
5.4.260.0100.06719.07
5.4.250.0070.05018.80
5.4.240.0070.07019.08
5.4.230.0030.07318.91
5.4.220.0000.05319.07
5.4.210.0000.06019.09
5.4.200.0000.05019.21
5.4.190.0100.07319.07
5.4.180.0030.06319.13
5.4.170.0000.08019.05
5.4.160.0030.08318.86
5.4.150.0030.06718.93
5.4.140.0030.07016.54
5.4.130.0030.06316.16
5.4.120.0000.04716.44
5.4.110.0030.05716.39
5.4.100.0000.07716.42
5.4.90.0030.07016.41
5.4.80.0030.05016.39
5.4.70.0030.07016.37
5.4.60.0000.05016.17
5.4.50.0070.06716.31
5.4.40.0030.04316.45
5.4.30.0000.06716.18
5.4.20.0030.06716.45
5.4.10.0000.06716.20
5.4.00.0000.07715.89
5.3.290.0070.07714.49
5.3.280.0000.06314.44
5.3.270.0070.06714.55
5.3.260.0000.07314.55
5.3.250.0030.06714.43
5.3.240.0030.07314.43
5.3.230.0070.05714.45
5.3.220.0000.07014.61
5.3.210.0070.07714.51
5.3.200.0000.05014.51
5.3.190.0070.07014.51
5.3.180.0000.05714.58
5.3.170.0030.06014.59
5.3.160.0000.08014.64
5.3.150.0030.08014.40
5.3.140.0000.08014.50
5.3.130.0070.07314.38
5.3.120.0000.07714.52
5.3.110.0030.07714.40
5.3.100.0030.06313.87
5.3.90.0000.07014.05
5.3.80.0030.06014.06
5.3.70.0100.03313.92
5.3.60.0000.03713.88
5.3.50.0030.03313.96
5.3.40.0000.05313.74
5.3.30.0000.04713.77
5.3.20.0000.03713.53
5.3.10.0030.07313.61
5.3.00.0000.06713.48
5.2.170.0030.06313.09
5.2.160.0030.05313.09
5.2.150.0000.06713.09
5.2.140.0000.03713.09
5.2.130.0000.03013.09
5.2.120.0030.06313.09
5.2.110.0070.04313.09
5.2.100.0000.04013.09
5.2.90.0000.06313.09
5.2.80.0030.03313.09
5.2.70.0030.03713.09
5.2.60.0030.03313.09
5.2.50.0000.04313.09
5.2.40.0030.03313.09
5.2.30.0000.03313.09
5.2.20.0000.03013.09
5.2.10.0070.02313.09
5.2.00.0100.05313.09
5.1.60.0030.04713.09
5.1.50.0030.05013.09
5.1.40.0030.04313.09
5.1.30.0030.05313.09
5.1.20.0030.04713.09
5.1.10.0030.03713.09
5.1.00.0070.05013.09
5.0.50.0000.02013.09
5.0.40.0000.02013.09
5.0.30.0000.03013.09
5.0.20.0000.02013.09
5.0.10.0000.02013.09
5.0.00.0000.03313.09
4.4.90.0000.02013.09
4.4.80.0000.02713.09
4.4.70.0070.01013.09
4.4.60.0030.03313.09
4.4.50.0000.01713.09
4.4.40.0030.05013.09
4.4.30.0000.03013.09
4.4.20.0030.02713.09
4.4.10.0000.02013.09
4.4.00.0000.03013.09
4.3.110.0000.02013.09
4.3.100.0030.01013.09
4.3.90.0030.01313.09
4.3.80.0000.02713.09
4.3.70.0000.02013.09
4.3.60.0030.01313.09
4.3.50.0000.01313.09
4.3.40.0000.02313.09
4.3.30.0000.02013.09
4.3.20.0030.01313.09
4.3.10.0030.01313.09
4.3.00.0000.02013.09

preferences:
55.49 ms | 401 KiB | 5 Q