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.40.0120.00318.77
8.3.30.0040.01118.92
8.3.20.0050.00320.19
8.3.10.0000.00823.56
8.3.00.0040.00419.13
8.2.170.0140.00722.96
8.2.160.0140.00020.34
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0100.01026.16
8.2.120.0000.00722.08
8.2.110.0130.00622.24
8.2.100.0090.00317.91
8.2.90.0030.00619.21
8.2.80.0050.00318.05
8.2.70.0090.00017.24
8.2.60.0080.00017.80
8.2.50.0000.00818.07
8.2.40.0000.00820.07
8.2.30.0000.00718.06
8.2.20.0040.00417.71
8.2.10.0030.00518.06
8.2.00.0000.01117.74
8.1.270.0040.00423.70
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0070.01023.88
8.1.230.0040.00819.14
8.1.220.0060.00317.74
8.1.210.0060.00318.77
8.1.200.0060.00317.23
8.1.190.0000.00817.18
8.1.180.0080.00018.10
8.1.170.0080.00018.51
8.1.160.0000.00721.83
8.1.150.0040.00418.61
8.1.140.0090.00017.39
8.1.130.0000.00717.80
8.1.120.0070.00017.43
8.1.110.0060.00317.36
8.1.100.0050.00517.39
8.1.90.0000.00717.24
8.1.80.0070.00017.31
8.1.70.0000.00717.36
8.1.60.0060.00317.55
8.1.50.0030.00617.45
8.1.40.0040.00417.36
8.1.30.0000.00717.51
8.1.20.0050.00317.45
8.1.10.0000.00717.41
8.1.00.0080.00017.30
8.0.300.0050.00218.77
8.0.290.0080.00017.16
8.0.280.0030.00318.36
8.0.270.0070.00017.26
8.0.260.0070.00017.13
8.0.250.0000.00816.91
8.0.240.0080.00016.90
8.0.230.0000.00816.91
8.0.220.0020.00516.85
8.0.210.0030.00416.73
8.0.200.0070.00016.78
8.0.190.0080.00016.93
8.0.180.0000.00716.74
8.0.170.0070.00016.77
8.0.160.0030.00516.80
8.0.150.0000.00716.80
8.0.140.0040.00416.81
8.0.130.0030.00313.21
8.0.120.0040.00416.84
8.0.110.0040.00416.88
8.0.100.0030.00516.86
8.0.90.0040.00416.83
8.0.80.0040.01116.88
8.0.70.0070.00016.82
8.0.60.0000.00816.82
8.0.50.0040.00416.89
8.0.30.0080.01017.02
8.0.20.0110.00817.40
8.0.10.0040.00416.95
8.0.00.0100.00716.71
7.4.330.0050.00015.03
7.4.320.0030.00316.44
7.4.300.0030.00316.44
7.4.290.0000.00716.34
7.4.280.0050.00316.34
7.4.270.0040.00416.43
7.4.260.0000.00716.50
7.4.250.0030.00616.34
7.4.240.0020.00516.46
7.4.230.0040.00416.52
7.4.220.0040.01116.55
7.4.210.0060.01016.48
7.4.200.0030.00316.54
7.4.190.0030.00316.61
7.4.160.0090.00616.40
7.4.150.0170.01017.40
7.4.140.0120.00717.86
7.4.130.0100.00816.36
7.4.120.0050.01216.40
7.4.110.0100.00716.34
7.4.100.0150.00316.16
7.4.90.0100.00716.39
7.4.80.0110.00619.39
7.4.70.0090.00616.44
7.4.60.0120.00616.50
7.4.50.0030.00516.47
7.4.40.0030.01322.77
7.4.30.0140.00316.50
7.4.10.0080.01114.95
7.4.00.0030.01315.03
7.3.330.0000.00613.05
7.3.320.0000.00613.19
7.3.310.0070.00016.05
7.3.300.0030.00316.24
7.3.290.0110.00316.16
7.3.280.0090.01016.20
7.3.270.0090.00917.40
7.3.260.0080.00816.55
7.3.250.0050.01316.34
7.3.240.0060.01116.23
7.3.230.0040.01216.56
7.3.210.0120.00416.42
7.3.200.0130.00319.39
7.3.190.0100.01316.46
7.3.180.0140.00016.42
7.3.170.0080.00816.34
7.3.160.0110.00716.30
7.3.130.0030.01414.89
7.3.120.0030.01314.87
7.3.110.0080.01214.57
7.3.100.0070.00714.33
7.3.90.0030.01014.94
7.3.80.0030.00614.50
7.3.70.0040.01114.82
7.3.60.0040.00814.83
7.3.50.0080.00414.77
7.3.40.0040.01114.80
7.3.30.0000.01214.78
7.3.20.0000.01216.38
7.3.10.0070.00716.49
7.3.00.0110.00716.35
7.2.330.0120.00616.60
7.2.320.0060.01216.26
7.2.310.0070.01016.56
7.2.300.0100.00716.29
7.2.290.0070.01316.63
7.2.260.0070.01314.75
7.2.250.0060.01315.06
7.2.240.0130.00315.04
7.2.230.0110.00315.04
7.2.220.0090.00414.75
7.2.210.0030.01315.04
7.2.200.0040.01115.02
7.2.190.0120.00014.95
7.2.180.0040.00414.48
7.2.170.0030.01414.82
7.2.160.0100.00714.84
7.2.150.0030.01016.73
7.2.140.0030.00616.77
7.2.130.0040.01516.64
7.2.120.0000.01416.82
7.2.110.0030.00716.69
7.2.100.0100.00016.55
7.2.90.0090.00616.63
7.2.80.0070.00716.45
7.2.70.0070.00716.86
7.2.60.0030.01016.60
7.2.50.0060.00916.84
7.2.40.0060.00616.82
7.2.30.0060.00616.68
7.2.20.0070.00316.73
7.2.10.0110.00416.84
7.2.00.0050.00818.05
7.1.330.0070.00715.84
7.1.320.0060.00315.65
7.1.310.0070.00715.67
7.1.300.0060.00915.84
7.1.290.0040.01115.76
7.1.280.0120.00315.29
7.1.270.0090.00615.74
7.1.260.0060.00915.63
7.1.250.0030.01315.53
7.1.240.0080.00415.91
7.1.230.0100.00315.64
7.1.220.0070.00415.75
7.1.210.0000.01415.49
7.1.200.0090.00615.78
7.1.190.0110.00715.79
7.1.180.0090.00615.59
7.1.170.0090.00315.66
7.1.160.0070.00715.85
7.1.150.0030.01315.34
7.1.140.0100.00715.75
7.1.130.0070.00715.79
7.1.120.0140.00015.62
7.1.110.0120.00315.60
7.1.100.0050.00516.86
7.1.90.0030.01015.95
7.1.80.0000.01515.55
7.1.70.0050.00916.40
7.1.60.0090.00917.60
7.1.50.0080.00916.15
7.1.40.0030.00715.85
7.1.30.0030.01015.77
7.1.20.0040.01115.67
7.1.10.0060.00915.61
7.1.00.0070.04219.11
7.0.330.0080.00815.50
7.0.320.0060.00615.22
7.0.310.0040.00715.36
7.0.300.0100.00015.33
7.0.290.0080.00615.43
7.0.280.0000.01415.36
7.0.270.0060.00615.50
7.0.260.0090.00615.21
7.0.250.0070.00415.38
7.0.240.0060.00615.45
7.0.230.0040.01115.23
7.0.220.0040.00415.41
7.0.210.0080.00015.52
7.0.200.0180.00515.18
7.0.190.0030.00715.52
7.0.180.0040.00815.30
7.0.170.0090.00615.40
7.0.160.0030.01015.41
7.0.150.0030.00515.10
7.0.140.0030.04318.66
7.0.130.0030.00715.45
7.0.120.0040.01115.42
7.0.110.0030.01015.55
7.0.100.0080.02817.55
7.0.90.0070.03917.64
7.0.80.0140.04417.70
7.0.70.0060.04517.71
7.0.60.0050.03017.75
7.0.50.0120.02717.91
7.0.40.0130.02316.76
7.0.30.0030.02816.76
7.0.20.0090.02616.81
7.0.10.0120.03316.74
7.0.00.0070.02416.81
5.6.400.0100.01014.49
5.6.390.0060.00614.45
5.6.380.0030.00614.29
5.6.370.0100.00314.32
5.6.360.0030.01314.39
5.6.350.0000.01614.04
5.6.340.0090.00614.01
5.6.330.0040.01414.40
5.6.320.0040.01114.04
5.6.310.0100.00314.37
5.6.300.0040.00714.14
5.6.290.0030.01014.40
5.6.280.0120.00614.13
5.6.270.0090.00614.16
5.6.260.0070.00714.50
5.6.250.0090.02717.53
5.6.240.0070.04017.31
5.6.230.0090.03017.45
5.6.220.0120.03217.33
5.6.210.0120.02517.61
5.6.200.0100.03617.61
5.6.190.0030.04517.75
5.6.180.0050.04517.70
5.6.170.0060.02517.60
5.6.160.0050.03817.64
5.6.150.0020.03017.67
5.6.140.0070.04017.64
5.6.130.0050.03417.62
5.6.120.0050.04317.64
5.6.110.0060.03517.54
5.6.100.0070.04217.58
5.6.90.0090.02117.74
5.6.80.0030.02617.25
5.6.70.0020.04817.29
5.6.60.0020.04217.29
5.6.50.0050.02717.54
5.6.40.0070.04417.38
5.6.30.0080.03817.23
5.6.20.0030.03317.26
5.6.10.0030.02317.28
5.6.00.0080.03817.29
5.5.380.0080.04117.36
5.5.370.0110.03017.30
5.5.360.0030.03517.50
5.5.350.0050.02517.30
5.5.340.0080.02517.48
5.5.330.0050.04717.41
5.5.320.0030.04517.35
5.5.310.0080.02817.61
5.5.300.0110.04117.53
5.5.290.0050.03217.49
5.5.280.0040.04717.63
5.5.270.0050.03517.18
5.5.260.0070.04817.49
5.5.250.0060.02317.40
5.5.240.0030.03716.93
5.5.230.0020.02717.14
5.5.220.0020.03217.18
5.5.210.0090.04116.96
5.5.200.0070.04217.18
5.5.190.0060.02517.22
5.5.180.0080.03517.04
5.5.170.0090.00013.86
5.5.160.0030.02317.05
5.5.150.0050.02417.16
5.5.140.0110.03517.16
5.5.130.0060.03817.12
5.5.120.0100.03517.05
5.5.110.0030.04117.14
5.5.100.0030.04017.01
5.5.90.0080.04217.05
5.5.80.0060.02617.10
5.5.70.0060.04317.18
5.5.60.0030.02617.04
5.5.50.0110.03817.06
5.5.40.0050.02817.03
5.5.30.0070.04517.06
5.5.20.0080.03316.82
5.5.10.0070.04417.09
5.5.00.0090.02016.82
5.4.450.0080.04015.51
5.4.440.0060.02315.49
5.4.430.0100.02615.54
5.4.420.0080.03815.56
5.4.410.0080.03515.47
5.4.400.0000.02315.34
5.4.390.0050.02715.43
5.4.380.0050.03115.38
5.4.370.0050.02715.38
5.4.360.0050.04215.47
5.4.350.0070.03315.38
5.4.340.0050.03115.43
5.4.330.0030.01011.71
5.4.320.0080.03615.39
5.4.310.0090.03715.47
5.4.300.0030.03015.39
5.4.290.0050.04215.25
5.4.280.0020.02415.24
5.4.270.0030.03015.37
5.4.260.0050.03215.41
5.4.250.0070.03515.40
5.4.240.0030.03015.24
5.4.230.0070.02415.24
5.4.220.0070.04315.40
5.4.210.0080.03115.46
5.4.200.0070.02215.41
5.4.190.0070.03215.46
5.4.180.0060.03315.34
5.4.170.0100.02215.34
5.4.160.0030.04615.24
5.4.150.0020.03215.42
5.4.140.0070.03214.02
5.4.130.0030.04214.03
5.4.120.0020.03513.88
5.4.110.0060.02514.06
5.4.100.0040.04314.00
5.4.90.0070.02713.97
5.4.80.0080.01714.01
5.4.70.0110.03013.99
5.4.60.0030.03314.04
5.4.50.0050.03913.99
5.4.40.0020.02213.97
5.4.30.0070.02214.02
5.4.20.0030.02514.01
5.4.10.0020.02514.02
5.4.00.0070.03913.75
5.3.290.0100.06714.49
5.3.280.0070.07014.45
5.3.270.0070.06714.59
5.3.260.0000.08314.55
5.3.250.0030.07014.57
5.3.240.0070.07314.46
5.3.230.0100.06714.50
5.3.220.0100.07314.47
5.3.210.0070.05314.54
5.3.200.0070.07314.42
5.3.190.0030.08014.50
5.3.180.0030.08014.55
5.3.170.0100.05714.57
5.3.160.0100.06314.41
5.3.150.0170.03314.55
5.3.140.0130.03014.55
5.3.130.0070.07014.49
5.3.120.0070.05314.48
5.3.110.0070.07314.48
5.3.100.0070.07014.02
5.3.90.0000.06713.99
5.3.80.0070.03713.88
5.3.70.0070.06713.96
5.3.60.0100.05714.01
5.3.50.0000.08013.79
5.3.40.0170.04313.88
5.3.30.0030.07713.84
5.3.20.0000.04013.69
5.3.10.0070.03713.64
5.3.00.0170.07013.59
5.2.170.0030.04711.13
5.2.160.0100.04011.17
5.2.150.0070.05310.97
5.2.140.0000.04311.09
5.2.130.0070.05711.09
5.2.120.0030.04011.05
5.2.110.0070.02710.95
5.2.100.0030.06011.09
5.2.90.0030.06310.93
5.2.80.0030.04311.05
5.2.70.0030.06311.07
5.2.60.0100.05711.04
5.2.50.0000.03711.00
5.2.40.0030.05010.83
5.2.30.0000.03310.80
5.2.20.0000.03010.75
5.2.10.0070.03010.91
5.2.00.0100.05010.65
5.1.60.0030.02310.01
5.1.50.0030.0279.98
5.1.40.0000.04010.00
5.1.30.0070.04010.39
5.1.20.0000.03010.37
5.1.10.0070.03010.09
5.1.00.0030.05310.11
5.0.50.0030.0338.78
5.0.40.0000.0278.78
5.0.30.0030.0608.78
5.0.20.0030.0178.78
5.0.10.0000.0208.78
5.0.00.0070.0608.78
4.4.90.0000.0178.78
4.4.80.0070.0208.78
4.4.70.0030.0138.78
4.4.60.0000.0178.78
4.4.50.0030.0178.78
4.4.40.0000.0238.78
4.4.30.0030.0138.78
4.4.20.0000.0138.78
4.4.10.0030.0308.78
4.4.00.0070.0338.78
4.3.110.0030.0178.78
4.3.100.0000.0208.78
4.3.90.0000.0278.78
4.3.80.0000.0238.78
4.3.70.0070.0238.78
4.3.60.0100.0208.78
4.3.50.0030.0138.78
4.3.40.0070.0238.78
4.3.30.0000.0338.78
4.3.20.0000.0138.78
4.3.10.0000.0208.78
4.3.00.0070.0238.78

preferences:
39.08 ms | 400 KiB | 5 Q