3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = 'PHP Tutorial'; ?> <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.0110.00418.43
8.3.50.0080.01021.94
8.3.40.0000.01518.67
8.3.30.0140.00319.01
8.3.20.0040.00420.39
8.3.10.0000.00723.66
8.3.00.0080.00019.56
8.2.180.0110.01118.25
8.2.170.0110.00422.96
8.2.160.0090.00618.83
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0040.00421.11
8.2.110.0030.00621.96
8.2.100.0090.00318.12
8.2.90.0080.00019.19
8.2.80.0030.00517.97
8.2.70.0040.00717.38
8.2.60.0000.00818.03
8.2.50.0000.00818.07
8.2.40.0040.00418.34
8.2.30.0040.00718.25
8.2.20.0050.00217.75
8.2.10.0040.00417.96
8.2.00.0030.00517.68
8.1.280.0140.00325.92
8.1.270.0030.00623.73
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0100.00722.04
8.1.230.0040.00719.13
8.1.220.0040.00417.76
8.1.210.0040.00418.77
8.1.200.0050.00517.00
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0030.00618.52
8.1.160.0040.00421.89
8.1.150.0040.00418.69
8.1.140.0040.00417.45
8.1.130.0080.00017.73
8.1.120.0040.00417.40
8.1.110.0070.00017.29
8.1.100.0040.00417.41
8.1.90.0040.00417.41
8.1.80.0100.00217.29
8.1.70.0030.00517.34
8.1.60.0000.00817.51
8.1.50.0080.00017.44
8.1.40.0040.00417.43
8.1.30.0040.00417.60
8.1.20.0030.00517.64
8.1.10.0040.00417.45
8.1.00.0000.00717.33
8.0.300.0050.00318.77
8.0.290.0040.00416.75
8.0.280.0000.00718.32
8.0.270.0030.00317.32
8.0.260.0000.00617.13
8.0.250.0000.00716.87
8.0.240.0050.00316.86
8.0.230.0070.00016.89
8.0.220.0030.00316.71
8.0.210.0000.00816.83
8.0.200.0000.00616.77
8.0.190.0000.00716.78
8.0.180.0050.00216.86
8.0.170.0040.00416.74
8.0.160.0000.00716.72
8.0.150.0080.00016.71
8.0.140.0070.00016.81
8.0.130.0000.00513.32
8.0.120.0000.00816.68
8.0.110.0000.00716.88
8.0.100.0000.00716.72
8.0.90.0070.00016.86
8.0.80.0070.00716.82
8.0.70.0000.00716.84
8.0.60.0000.00716.68
8.0.50.0070.00016.85
8.0.30.0090.01017.01
8.0.20.0140.00417.40
8.0.10.0020.00516.94
8.0.00.0100.00816.74
7.4.330.0000.00515.06
7.4.320.0000.00616.57
7.4.300.0030.00416.59
7.4.290.0060.00316.43
7.4.280.0000.00716.45
7.4.270.0040.00416.55
7.4.260.0000.00716.54
7.4.250.0030.00316.51
7.4.240.0030.00316.51
7.4.230.0030.00416.36
7.4.220.0070.01116.43
7.4.210.0060.00916.64
7.4.200.0030.00316.25
7.4.160.0030.01316.42
7.4.150.0030.01317.40
7.4.140.0030.01317.86
7.4.130.0120.00716.47
7.4.120.0130.00416.58
7.4.110.0080.01416.30
7.4.100.0110.00916.51
7.4.90.0030.01716.32
7.4.80.0110.00619.39
7.4.70.0070.01416.37
7.4.60.0080.00816.41
7.4.50.0000.00616.31
7.4.40.0070.01016.58
7.4.30.0090.01116.39
7.4.00.0070.00714.77
7.3.330.0040.00313.04
7.3.320.0060.00012.95
7.3.310.0000.00716.09
7.3.300.0000.00616.11
7.3.290.0110.00816.38
7.3.280.0110.00616.19
7.3.270.0100.00717.40
7.3.260.0180.00616.30
7.3.250.0090.01316.29
7.3.240.0100.00716.46
7.3.230.0060.01316.39
7.3.210.0070.01016.43
7.3.200.0120.00919.39
7.3.190.0090.00616.40
7.3.180.0090.00616.14
7.3.170.0130.00316.38
7.3.160.0100.00616.49
7.3.120.0030.01217.15
7.3.110.0000.01817.15
7.3.100.0040.01117.15
7.3.90.0040.01117.15
7.3.80.0030.01017.15
7.3.70.0080.00617.15
7.3.60.0000.01017.15
7.3.50.0040.00817.15
7.3.40.0070.00617.15
7.3.30.0100.00717.15
7.3.20.0060.00617.15
7.3.10.0100.00317.15
7.3.00.0100.00317.15
7.2.330.0070.01116.30
7.2.320.0090.00916.64
7.2.310.0100.00616.35
7.2.300.0110.00616.62
7.2.290.0070.01116.53
7.2.240.0030.01317.15
7.2.230.0000.00917.15
7.2.220.0110.00417.15
7.2.210.0130.00317.15
7.2.200.0000.00917.15
7.2.190.0030.01017.15
7.2.180.0080.00817.15
7.2.170.0080.00617.15
7.2.160.0080.00817.15
7.2.150.0040.01117.15
7.2.140.0110.00317.15
7.2.130.0070.00717.15
7.2.120.0040.01117.15
7.2.110.0060.01017.15
7.2.100.0030.00717.15
7.2.90.0140.00317.15
7.2.80.0070.01017.15
7.2.70.0130.00317.15
7.2.60.0000.01117.15
7.2.50.0110.00717.15
7.2.40.0060.00617.15
7.2.30.0050.00517.15
7.2.20.0030.01017.15
7.2.10.0070.00317.15
7.2.00.0060.01017.15
7.1.330.0080.00417.15
7.1.320.0070.00717.15
7.1.310.0000.00917.15
7.1.300.0030.00517.15
7.1.290.0060.00317.15
7.1.280.0070.00717.15
7.1.270.0040.00817.15
7.1.260.0100.00317.15
7.1.250.0110.00417.15
7.1.70.0130.00016.99
7.1.60.0060.01019.70
7.1.50.0080.01316.42
7.1.00.0030.07322.37
7.0.200.0000.01016.70
7.0.140.0030.07322.15
7.0.60.0070.09020.01
7.0.50.0170.07317.75
7.0.40.0030.07320.04
7.0.30.0330.06720.09
7.0.20.0200.04020.27
7.0.10.0070.08720.09
7.0.00.0070.08320.00
5.6.280.0000.07720.86
5.6.210.0070.05720.71
5.6.200.0100.08318.16
5.6.190.0070.04320.67
5.6.180.0530.07020.35
5.6.170.0270.07720.61
5.6.160.0070.07020.52
5.6.150.0070.07718.09
5.6.140.0100.05718.12
5.6.130.0170.04718.11
5.6.120.0070.09021.00
5.6.110.0070.07021.10
5.6.100.0270.07021.00
5.6.90.0000.04321.05
5.6.80.0030.04320.50
5.5.350.0400.06720.40
5.5.340.0130.04717.97
5.5.330.0070.04720.21
5.5.320.0070.07720.13
5.5.310.0230.07720.51
5.5.300.0100.03717.98
5.5.290.0100.05018.02
5.5.280.0100.06020.61
5.5.270.0130.07320.72
5.5.260.0100.03720.96
5.5.250.0070.07020.61
5.5.240.0100.07320.27
5.4.450.0230.06319.41
5.4.440.0230.07719.46
5.4.430.0100.06019.57
5.4.420.0230.06719.41
5.4.410.0300.07019.26
5.4.400.0230.07718.90
5.4.390.0270.05318.79
5.4.380.0200.07718.91
5.4.370.0230.04018.81
5.4.360.0300.07719.16
5.4.350.0300.05719.08
5.4.340.0300.05319.13
5.4.320.0230.06319.08
5.4.310.0470.05719.09
5.4.300.0270.07019.13
5.4.290.0270.04019.09
5.4.280.0200.05018.80
5.4.270.0330.06018.82
5.4.260.0200.07319.02
5.4.250.0170.05319.07
5.4.240.0200.03718.94
5.4.230.0230.05019.21
5.4.220.0330.06319.24
5.4.210.0300.03019.24
5.4.200.0130.04018.92
5.4.190.0200.04019.07
5.4.180.0230.05019.23
5.4.170.0200.04719.12
5.4.160.0270.05019.23
5.4.150.0130.05019.06
5.4.140.0170.03716.26
5.4.130.0270.06716.27
5.4.120.0230.04316.43
5.4.110.0230.06716.31
5.4.100.0230.04716.43
5.4.90.0270.04316.41
5.4.80.0230.04316.41
5.4.70.0200.07016.37
5.4.60.0400.05316.37
5.4.50.0200.06716.17
5.4.40.0300.05316.45
5.4.30.0300.06716.48
5.4.20.0300.05316.46
5.4.10.0400.04716.35
5.4.00.0200.07715.80
5.3.290.0330.05014.58
5.3.280.0130.05314.63
5.3.270.0330.07314.63
5.3.260.0100.05014.55
5.3.250.0200.03714.46
5.3.240.0170.03714.45
5.3.230.0230.05314.44
5.3.220.0230.04714.50
5.3.210.0170.04714.65
5.3.200.0230.06314.65
5.3.190.0270.04714.51
5.3.180.0230.03314.50
5.3.170.0230.06714.41
5.3.160.0270.06714.60
5.3.150.0230.07014.41
5.3.140.0200.07314.52
5.3.130.0300.07714.52
5.3.120.0230.07714.49
5.3.110.0270.06714.49
5.3.100.0200.06713.88
5.3.90.0200.07713.97
5.3.80.0200.05013.81
5.3.70.0300.06313.96
5.3.60.0200.05013.91
5.3.50.0230.07013.74
5.3.40.0300.07013.99
5.3.30.0230.05313.76
5.3.20.0230.06013.73
5.3.10.0230.06313.50
5.3.00.0230.05713.70
5.2.170.0170.05011.77
5.2.160.0270.04711.77
5.2.150.0200.06311.77
5.2.140.0170.05711.77
5.2.130.0270.05311.77
5.2.120.0130.04011.78
5.2.110.0170.03311.82
5.2.100.0270.03311.82
5.2.90.0200.06011.82
5.2.80.0170.05011.82
5.2.70.0200.04711.82
5.2.60.0170.06011.82
5.2.50.0170.06011.82
5.2.40.0270.04711.82
5.2.30.0130.06311.82
5.2.20.0270.04711.82
5.2.10.0170.03711.82
5.2.00.0200.03711.82
5.1.60.0170.04011.82
5.1.50.0330.04011.82
5.1.40.0200.03711.82
5.1.30.0200.04011.82
5.1.20.0170.05011.82
5.1.10.0200.05011.82
5.1.00.0200.05311.82
5.0.50.0130.03311.82
5.0.40.0100.02311.82
5.0.30.0070.05311.82
5.0.20.0070.02311.82
5.0.10.0030.03311.82
5.0.00.0070.05711.82
4.4.90.0070.03711.82
4.4.80.0130.01711.82
4.4.70.0200.02311.82
4.4.60.0030.03011.82
4.4.50.0070.03711.82
4.4.40.0070.03011.82
4.4.30.0100.03311.82
4.4.20.0130.03011.82
4.4.10.0070.02711.82
4.4.00.0070.03711.82
4.3.110.0070.03311.82
4.3.100.0070.02011.82
4.3.90.0070.01711.82
4.3.80.0070.04711.82
4.3.70.0100.02711.82
4.3.60.0030.03311.82
4.3.50.0200.01711.82
4.3.40.0130.05011.82
4.3.30.0030.03711.82
4.3.20.0000.02311.82
4.3.10.0070.01711.82
4.3.00.0030.03311.82

preferences:
45.28 ms | 401 KiB | 5 Q