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.0070.01416.50
8.3.50.0140.00722.85
8.3.40.0000.01418.57
8.3.30.0090.00619.09
8.3.20.0050.00220.21
8.3.10.0050.00323.57
8.3.00.0080.00017.50
8.2.180.0150.00718.18
8.2.170.0140.00022.96
8.2.160.0160.00320.40
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0070.00026.16
8.2.120.0080.00021.01
8.2.110.0060.00322.21
8.2.100.0060.00617.84
8.2.90.0000.00819.21
8.2.80.0050.00317.97
8.2.70.0050.00317.63
8.2.60.0080.00017.90
8.2.50.0060.00318.07
8.2.40.0040.00419.95
8.2.30.0080.00018.04
8.2.20.0000.00817.56
8.2.10.0000.00718.17
8.2.00.0040.00417.56
8.1.280.0040.01425.92
8.1.270.0080.00023.93
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0040.00423.83
8.1.230.0120.00018.99
8.1.220.0080.00017.74
8.1.210.0030.00518.77
8.1.200.0130.00017.23
8.1.190.0000.00817.10
8.1.180.0050.00318.10
8.1.170.0000.00918.59
8.1.160.0040.00421.88
8.1.150.0050.00218.71
8.1.140.0030.00517.45
8.1.130.0030.00317.26
8.1.120.0040.00417.41
8.1.110.0040.00417.41
8.1.100.0030.00617.25
8.1.90.0000.00717.40
8.1.80.0030.00517.38
8.1.70.0070.00017.25
8.1.60.0000.00917.57
8.1.50.0000.00817.42
8.1.40.0050.00317.42
8.1.30.0040.00417.61
8.1.20.0050.00217.66
8.1.10.0000.00717.48
8.1.00.0040.00417.41
8.0.300.0040.00418.77
8.0.290.0060.00316.58
8.0.280.0050.00218.40
8.0.270.0000.00717.26
8.0.260.0040.00416.79
8.0.250.0070.00017.01
8.0.240.0030.00616.97
8.0.230.0050.00516.89
8.0.220.0000.00716.86
8.0.210.0080.00016.83
8.0.200.0030.00316.91
8.0.190.0060.00316.86
8.0.180.0030.00316.76
8.0.170.0000.00816.74
8.0.160.0000.00816.82
8.0.150.0000.00816.66
8.0.140.0070.00316.68
8.0.130.0030.00313.29
8.0.120.0050.00316.82
8.0.110.0020.00516.85
8.0.100.0040.00416.72
8.0.90.0040.00416.89
8.0.80.0080.00816.88
8.0.70.0040.00416.61
8.0.60.0040.00416.69
8.0.50.0050.00316.73
8.0.30.0050.01417.00
8.0.20.0160.00717.40
8.0.10.0040.00416.98
8.0.00.0130.00516.60
7.4.330.0030.00215.09
7.4.320.0040.00416.54
7.4.300.0090.00316.50
7.4.290.0000.00616.47
7.4.280.0040.00716.33
7.4.270.0030.00316.55
7.4.260.0070.00016.43
7.4.250.0060.00316.45
7.4.240.0010.00616.48
7.4.230.0030.00316.59
7.4.220.0090.00916.60
7.4.210.0030.01016.36
7.4.200.0000.00716.43
7.4.160.0160.00016.30
7.4.150.0150.00517.40
7.4.140.0100.00817.86
7.4.130.0120.00516.42
7.4.120.0070.01416.44
7.4.110.0030.01316.43
7.4.100.0110.00516.42
7.4.90.0090.00816.50
7.4.80.0060.01319.39
7.4.70.0110.00616.50
7.4.60.0100.00716.50
7.4.50.0000.00816.48
7.4.40.0100.00616.35
7.4.30.0120.00616.36
7.4.00.0030.01314.84
7.3.330.0030.00313.05
7.3.320.0060.00313.04
7.3.310.0040.00416.03
7.3.300.0000.00616.21
7.3.290.0080.00616.27
7.3.280.0080.00816.22
7.3.270.0130.00717.40
7.3.260.0060.01216.21
7.3.250.0120.00716.12
7.3.240.0130.00416.31
7.3.230.0130.00316.51
7.3.210.0090.00616.39
7.3.200.0130.00619.39
7.3.190.0100.00716.25
7.3.180.0120.00616.46
7.3.170.0110.00516.34
7.3.160.0090.00616.48
7.3.120.0080.00514.60
7.3.110.0060.01014.58
7.3.100.0070.01114.67
7.3.90.0030.01514.73
7.3.80.0060.00514.71
7.3.70.0030.01214.65
7.3.60.0120.00314.68
7.3.50.0090.00614.88
7.3.40.0070.01214.80
7.3.30.0050.00414.58
7.3.20.0060.01016.61
7.3.10.0040.00916.43
7.3.00.0060.00816.52
7.2.330.0090.00916.47
7.2.320.0070.01016.65
7.2.310.0070.01516.52
7.2.300.0100.00716.45
7.2.290.0050.01116.28
7.2.250.0110.00714.98
7.2.240.0100.00815.04
7.2.230.0050.00814.74
7.2.220.0030.01214.77
7.2.210.0060.00814.67
7.2.200.0050.01014.84
7.2.190.0040.01014.89
7.2.180.0040.01414.87
7.2.170.0020.01214.80
7.2.00.0040.00819.20
7.1.330.0050.00615.74
7.1.320.0060.00915.60
7.1.310.0090.00415.60
7.1.300.0050.00715.39
7.1.290.0050.01415.80
7.1.280.0050.00815.66
7.1.270.0060.00515.62
7.1.260.0070.00715.66
7.1.100.0100.00018.00
7.1.70.0000.00716.91
7.1.60.0070.00717.19
7.1.50.0040.01516.89
7.1.00.0030.07722.48
7.0.200.0000.01516.73
7.0.140.0030.07022.08
7.0.60.0070.04720.07
7.0.50.0070.06717.81
7.0.40.0230.06320.07
7.0.30.0330.08320.17
7.0.20.0230.03720.13
7.0.10.0100.07320.30
7.0.00.0030.05020.04
5.6.280.0070.07021.12
5.6.210.0070.07320.60
5.6.200.0030.07718.22
5.6.190.0100.08320.77
5.6.180.0230.05320.67
5.6.170.0230.08720.42
5.6.160.0030.07720.48
5.6.150.0070.06018.09
5.6.140.0000.06718.16
5.6.130.0070.08318.14
5.6.120.0070.07721.09
5.6.110.0100.08021.11
5.6.100.0100.07321.12
5.6.90.0000.07721.12
5.6.80.0070.08020.36
5.5.350.0130.07020.43
5.5.340.0000.04318.02
5.5.330.0200.04320.34
5.5.320.0430.03720.32
5.5.310.0300.04320.20
5.5.300.0100.07018.01
5.5.290.0070.08317.96
5.5.280.0000.05320.76
5.5.270.0030.08720.79
5.5.260.0030.08320.75
5.5.250.0030.04020.58
5.5.240.0200.07020.00
5.4.450.0230.04719.24
5.4.440.0130.04719.25
5.4.430.0230.04319.45
5.4.420.0730.03319.20
5.4.410.0200.04019.44
5.4.400.0130.04019.13
5.4.390.0430.04719.09
5.4.380.1200.04718.69
5.4.370.0970.04718.61
5.4.360.0900.04718.69
5.4.350.0470.06718.66
5.4.340.0830.04718.53
5.4.320.0050.03812.45
5.4.310.0030.04112.45
5.4.300.0090.03712.45
5.4.290.0110.03612.45
5.4.280.0080.03212.34
5.4.270.0060.03612.34
5.4.260.0080.03612.35
5.4.250.0080.03512.34
5.4.240.0060.03612.34
5.4.230.0060.03712.34
5.4.220.0050.03712.34
5.4.210.0050.03812.34
5.4.200.0060.03712.34
5.4.190.0060.03612.33
5.4.180.0050.03812.34
5.4.170.0060.03612.34
5.4.160.0060.03612.34
5.4.150.0030.03912.34
5.4.140.0100.03412.02
5.4.130.0060.03512.01
5.4.120.0060.03611.96
5.4.110.0080.03411.97
5.4.100.0090.04211.96
5.4.90.0040.04111.96
5.4.80.0090.03511.96
5.4.70.0060.03411.96
5.4.60.0080.03211.96
5.4.50.0080.03211.96
5.4.40.0040.03711.95
5.4.30.0040.03811.95
5.4.20.0060.03411.95
5.4.10.0080.03211.95
5.4.00.0030.03911.44
5.3.290.0060.04112.80
5.3.280.0070.04812.70
5.3.270.0080.04212.72
5.3.260.0060.04112.72
5.3.250.0090.04612.72
5.3.240.0120.04512.72
5.3.230.0070.03812.71
5.3.220.0070.04412.68
5.3.210.0120.04412.68
5.3.200.0030.03912.68
5.3.190.0080.03512.68
5.3.180.0080.03412.67
5.3.170.0060.03712.67
5.3.160.0090.04712.67
5.3.150.0090.04212.68
5.3.140.0030.03912.66
5.3.130.0050.04012.66
5.3.120.0050.04212.66
5.3.110.0040.04212.66
5.3.100.0100.05412.12
5.3.90.0080.04812.08
5.3.80.0130.04312.07
5.3.70.0090.04512.07
5.3.60.0120.04612.06
5.3.50.0060.03812.00
5.3.40.0110.03312.00
5.3.30.0050.03711.94
5.3.20.0030.03911.72
5.3.10.0070.03411.69
5.3.00.0060.03611.68
5.2.170.0080.0409.18
5.2.160.0050.0319.18
5.2.150.0030.0329.18
5.2.140.0040.0329.17
5.2.130.0050.0299.14
5.2.120.0040.0309.13
5.2.110.0050.0299.14
5.2.100.0050.0299.13
5.2.90.0070.0269.13
5.2.80.0070.0289.13
5.2.70.0050.0339.13
5.2.60.0030.0319.09
5.2.50.0020.0329.05
5.2.40.0050.0289.04
5.2.30.0060.0299.01
5.2.20.0030.0309.00
5.2.10.0080.0248.92
5.2.00.0050.0288.78
5.1.60.0040.0238.06
5.1.50.0040.0258.05
5.1.40.0040.0248.04
5.1.30.0060.0248.39
5.1.20.0040.0268.41
5.1.10.0040.0268.14
5.1.00.0030.0268.14
5.0.50.0040.0216.61
5.0.40.0060.0226.47
5.0.30.0040.0396.29
5.0.20.0060.0256.25
5.0.10.0040.0266.24
5.0.00.0090.0346.23
4.4.90.0030.0184.78
4.4.80.0030.0154.75
4.4.70.0030.0154.75
4.4.60.0020.0164.75
4.4.50.0050.0134.77
4.4.40.0030.0254.71
4.4.30.0030.0164.76
4.4.20.0020.0164.85
4.4.10.0030.0154.85
4.4.00.0020.0254.76
4.3.110.0030.0154.67
4.3.100.0040.0134.66
4.3.90.0030.0144.63
4.3.80.0010.0264.58
4.3.70.0030.0154.63
4.3.60.0030.0144.63
4.3.50.0030.0154.63
4.3.40.0030.0244.54
4.3.30.0000.0183.28
4.3.20.0010.0183.25
4.3.10.0020.0163.22
4.3.00.0030.01013.43

preferences:
40.27 ms | 401 KiB | 5 Q