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.0180.00018.07
8.3.50.0130.00721.88
8.3.40.0040.01118.65
8.3.30.0100.00319.09
8.3.20.0040.00420.33
8.3.10.0040.00423.70
8.3.00.0050.00220.93
8.2.180.0100.00716.50
8.2.170.0040.01122.96
8.2.160.0140.00320.50
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0100.00726.16
8.2.120.0070.00020.91
8.2.110.0060.00322.25
8.2.100.0000.01119.08
8.2.90.0040.00417.50
8.2.80.0000.00819.54
8.2.70.0000.00817.80
8.2.60.0040.00418.04
8.2.50.0000.00818.10
8.2.40.0000.00720.47
8.2.30.0050.00218.21
8.2.20.0040.00417.59
8.2.10.0000.00718.06
8.2.00.0040.00417.55
8.1.280.0000.01725.92
8.1.270.0080.00023.67
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0090.00022.54
8.1.230.0040.00719.09
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0040.00717.23
8.1.190.0080.00317.00
8.1.180.0000.00918.10
8.1.170.0040.00418.59
8.1.160.0030.00621.91
8.1.150.0030.00318.45
8.1.140.0040.00417.39
8.1.130.0030.00317.88
8.1.120.0040.00417.41
8.1.110.0030.00517.39
8.1.100.0090.00017.44
8.1.90.0040.00417.30
8.1.80.0020.00517.30
8.1.70.0040.00417.36
8.1.60.0030.00517.35
8.1.50.0030.00617.42
8.1.40.0040.00417.49
8.1.30.0000.00817.42
8.1.20.0070.00017.58
8.1.10.0000.00817.46
8.1.00.0040.00417.44
8.0.300.0000.00819.73
8.0.290.0000.00716.63
8.0.280.0000.00718.45
8.0.270.0050.00317.18
8.0.260.0000.00617.12
8.0.250.0030.00316.94
8.0.240.0040.00416.99
8.0.230.0000.00716.82
8.0.220.0070.00016.88
8.0.210.0000.00816.89
8.0.200.0000.00616.86
8.0.190.0030.00616.82
8.0.180.0000.00716.75
8.0.170.0000.00816.88
8.0.160.0000.00816.71
8.0.150.0040.00416.78
8.0.140.0050.00216.77
8.0.130.0030.00313.22
8.0.120.0000.00716.69
8.0.110.0050.00316.82
8.0.100.0000.00716.71
8.0.90.0050.00316.72
8.0.80.0100.01016.83
8.0.70.0030.00316.67
8.0.60.0000.00816.63
8.0.50.0040.00416.66
8.0.30.0090.00816.90
8.0.20.0070.01717.40
8.0.10.0040.00416.97
8.0.00.0090.01116.78
7.4.330.0000.00615.02
7.4.320.0030.00316.44
7.4.300.0030.00316.58
7.4.290.0070.00016.45
7.4.280.0040.00416.54
7.4.270.0070.00016.41
7.4.260.0070.00016.57
7.4.250.0040.00416.28
7.4.240.0030.00316.42
7.4.230.0020.00516.47
7.4.220.0120.00916.39
7.4.210.0100.00616.42
7.4.200.0030.00316.54
7.4.160.0130.00316.59
7.4.150.0170.00717.40
7.4.140.0160.00517.86
7.4.130.0070.01116.50
7.4.120.0120.00516.50
7.4.110.0130.00316.22
7.4.100.0030.01516.60
7.4.90.0030.01316.59
7.4.80.0150.00419.39
7.4.70.0140.00316.33
7.4.60.0060.01216.39
7.4.50.0020.00216.51
7.4.40.0110.00716.52
7.4.30.0110.00516.42
7.4.00.0070.00714.87
7.3.330.0030.00312.95
7.3.320.0030.00313.11
7.3.310.0000.00616.24
7.3.300.0070.00016.23
7.3.290.0090.00616.21
7.3.280.0050.01216.20
7.3.270.0070.01017.40
7.3.260.0130.00616.72
7.3.250.0130.00916.33
7.3.240.0040.01416.16
7.3.230.0100.00616.39
7.3.210.0070.01016.24
7.3.200.0150.00319.39
7.3.190.0110.00916.10
7.3.180.0090.00616.59
7.3.170.0120.01216.38
7.3.160.0170.00316.49
7.3.120.0040.01214.40
7.2.330.0080.00816.35
7.2.320.0150.01016.67
7.2.310.0000.01616.58
7.2.300.0080.01716.30
7.2.290.0080.00916.19
7.2.00.0040.00719.07
7.1.100.0000.01318.14
7.1.70.0070.00317.09
7.1.60.0100.01419.70
7.1.50.0100.01416.77
7.1.00.0070.07322.31
7.0.200.0000.00716.75
7.0.140.0000.07321.99
7.0.60.0130.06319.95
7.0.50.0130.06317.84
7.0.40.0100.08720.04
7.0.30.0070.05020.20
7.0.20.0330.08720.00
7.0.10.0070.05720.16
7.0.00.0000.08720.01
5.6.280.0030.07320.92
5.6.210.0130.06320.54
5.6.200.0070.08718.21
5.6.190.0130.05320.55
5.6.180.3130.04320.63
5.6.170.0270.04320.38
5.6.160.0030.09320.47
5.6.150.0030.05318.12
5.6.140.0070.08018.12
5.6.130.0070.04018.12
5.6.120.0100.04321.14
5.6.110.0100.08020.97
5.6.100.0100.07321.00
5.6.90.0070.08020.97
5.6.80.0100.08320.28
5.6.70.4100.04320.36
5.5.350.0200.06320.35
5.5.340.0100.07317.91
5.5.330.0130.07720.23
5.5.320.3730.03320.30
5.5.310.0200.07020.31
5.5.300.0100.04317.94
5.5.290.0070.07717.95
5.5.280.0030.08720.74
5.5.270.0100.07720.85
5.5.260.0070.08020.63
5.5.250.0000.04320.57
5.5.240.0270.06320.18
5.4.450.0470.03029.93
5.4.440.0200.04329.93
5.4.430.0700.04029.93
5.4.420.0300.03729.93
5.4.410.0200.04729.93
5.4.400.0300.04029.91
5.4.390.0230.04729.33
5.4.380.0530.06718.69
5.4.370.0370.07018.73
5.4.360.0300.05318.76
5.4.350.0230.09018.61
5.4.340.0370.04718.71
5.4.320.0060.03612.45
5.4.310.0070.03612.45
5.4.300.0080.03912.45
5.4.290.0110.06512.45
5.4.280.0130.04712.34
5.4.270.0130.05112.34
5.4.260.0080.05212.35
5.4.250.0060.05412.34
5.4.240.0030.05412.34
5.4.230.0070.05212.34
5.4.220.0110.04612.34
5.4.210.0060.04412.34
5.4.200.0060.03912.34
5.4.190.0090.04212.34
5.4.180.0100.04312.33
5.4.170.0140.06112.34
5.4.160.0120.04312.34
5.4.150.0050.05012.34
5.4.140.0130.04512.02
5.4.130.0110.04812.01
5.4.120.0070.03711.96
5.4.110.0060.04011.96
5.4.100.0080.03511.96
5.4.90.0070.03811.97
5.4.80.0070.04211.96
5.4.70.0080.04211.96
5.4.60.0110.05611.96
5.4.50.0090.05211.96
5.4.40.0070.05211.95
5.4.30.0090.04911.95
5.4.20.0050.05611.95
5.4.10.0140.06011.95
5.4.00.0080.05411.44
5.3.290.0080.03812.80
5.3.280.0080.05512.70
5.3.270.0060.06312.73
5.3.260.0110.05612.72
5.3.250.0090.04912.72
5.3.240.0060.05412.72
5.3.230.0110.04912.71
5.3.220.0100.05212.68
5.3.210.0070.05512.68
5.3.200.0120.04612.68
5.3.190.0130.05312.68
5.3.180.0100.05412.67
5.3.170.0110.05412.67
5.3.160.0140.06212.67
5.3.150.0110.04912.67
5.3.140.0070.05512.66
5.3.130.0110.05112.66
5.3.120.0120.04812.66
5.3.110.0140.04812.66
5.3.100.0120.04612.12
5.3.90.0130.04812.08
5.3.80.0140.05212.07
5.3.70.0090.04412.07
5.3.60.0070.04112.06
5.3.50.0090.05412.00
5.3.40.0120.03712.00
5.3.30.0090.04511.94
5.3.20.0140.03711.72
5.3.10.0100.03511.69
5.3.00.0100.03711.68
5.2.170.0110.0429.18
5.2.160.0100.0499.18
5.2.150.0080.0509.18
5.2.140.0060.0429.18
5.2.130.0090.0429.13
5.2.120.0110.0419.13
5.2.110.0080.0539.14
5.2.100.0070.0409.13
5.2.90.0120.0369.13
5.2.80.0100.0299.13
5.2.70.0030.0369.13
5.2.60.0050.0349.08
5.2.50.0070.0329.05
5.2.40.0070.0309.04
5.2.30.0060.0319.00
5.2.20.0070.0389.00
5.2.10.0160.0438.91
5.2.00.0100.0398.78
5.1.60.0040.0298.06
5.1.50.0050.0258.06
5.1.40.0040.0268.04
5.1.30.0080.0278.39
5.1.20.0060.0338.41
5.1.10.0040.0368.13
5.1.00.0020.0358.14
5.0.50.0030.0216.61
5.0.40.0050.0216.48
5.0.30.0030.0346.28
5.0.20.0040.0246.26
5.0.10.0040.0216.24
5.0.00.0040.0316.23
4.4.90.0060.0164.78
4.4.80.0020.0174.75
4.4.70.0030.0174.76
4.4.60.0040.0154.76
4.4.50.0020.0164.77
4.4.40.0060.0244.71
4.4.30.0000.0194.76
4.4.20.0040.0154.84
4.4.10.0040.0174.85
4.4.00.0010.0294.76
4.3.110.0050.0164.67
4.3.100.0040.0154.67
4.3.90.0060.0224.63
4.3.80.0040.0244.58
4.3.70.0030.0154.63
4.3.60.0020.0164.63
4.3.50.0030.0164.63
4.3.40.0040.0234.54
4.3.30.0040.0153.28
4.3.20.0000.0193.25
4.3.10.0020.0233.22
4.3.00.0070.01728.86

preferences:
42.97 ms | 401 KiB | 5 Q