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.0110.00418.55
8.3.50.0120.00721.99
8.3.40.0040.01118.85
8.3.30.0040.01119.04
8.3.20.0080.00020.21
8.3.10.0040.00423.66
8.3.00.0000.00819.02
8.2.180.0130.00616.32
8.2.170.0140.00722.96
8.2.160.0100.00720.47
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0030.00520.92
8.2.110.0070.00319.41
8.2.100.0060.00617.72
8.2.90.0040.00419.05
8.2.80.0050.00317.97
8.2.70.0040.00417.63
8.2.60.0040.00418.05
8.2.50.0050.00318.10
8.2.40.0000.00819.89
8.2.30.0070.00018.17
8.2.20.0000.00717.60
8.2.10.0000.00718.12
8.2.00.0000.00717.63
8.1.280.0150.00025.92
8.1.270.0040.00423.89
8.1.260.0000.00926.35
8.1.250.0040.00428.09
8.1.240.0070.00322.47
8.1.230.0070.00417.64
8.1.220.0030.00517.79
8.1.210.0050.00318.77
8.1.200.0060.00317.13
8.1.190.0000.00817.11
8.1.180.0040.00418.10
8.1.170.0060.00318.37
8.1.160.0040.00422.00
8.1.150.0050.00218.57
8.1.140.0070.00017.40
8.1.130.0030.00317.89
8.1.120.0000.00817.46
8.1.110.0060.00317.41
8.1.100.0040.00417.39
8.1.90.0030.00517.41
8.1.80.0070.00017.39
8.1.70.0000.00717.24
8.1.60.0000.00817.56
8.1.50.0070.00017.36
8.1.40.0040.00417.46
8.1.30.0030.00517.43
8.1.20.0040.00417.64
8.1.10.0070.00017.57
8.1.00.0040.00417.42
8.0.300.0080.00018.77
8.0.290.0050.00316.75
8.0.280.0070.00018.45
8.0.270.0000.00817.14
8.0.260.0030.00317.26
8.0.250.0000.00717.00
8.0.240.0000.00716.98
8.0.230.0050.00216.90
8.0.220.0030.00316.77
8.0.210.0000.00616.84
8.0.200.0000.00616.91
8.0.190.0030.00316.83
8.0.180.0000.00716.70
8.0.170.0030.00516.79
8.0.160.0030.00316.78
8.0.150.0050.00216.66
8.0.140.0030.00316.79
8.0.130.0000.00513.35
8.0.120.0030.00516.71
8.0.110.0040.00416.86
8.0.100.0050.00216.86
8.0.90.0050.00316.84
8.0.80.0060.00916.77
8.0.70.0050.00316.94
8.0.60.0030.00316.71
8.0.50.0050.00216.88
8.0.30.0100.00917.01
8.0.20.0100.00817.40
8.0.10.0000.00717.01
8.0.00.0110.01116.53
7.4.330.0000.00515.00
7.4.320.0000.00616.53
7.4.300.0000.00716.54
7.4.290.0070.00016.47
7.4.280.0060.00316.51
7.4.270.0000.00716.56
7.4.260.0070.00016.46
7.4.250.0040.00416.53
7.4.240.0030.00416.50
7.4.230.0030.00316.64
7.4.220.0090.00916.66
7.4.210.0090.00616.55
7.4.200.0000.00716.43
7.4.190.0000.00716.59
7.4.160.0080.00816.36
7.4.150.0040.01317.40
7.4.140.0100.00817.86
7.4.130.0080.00916.50
7.4.120.0050.01216.52
7.4.110.0130.01016.52
7.4.100.0030.01516.52
7.4.90.0060.01116.54
7.4.80.0030.01619.39
7.4.70.0060.01116.51
7.4.60.0110.00916.48
7.4.50.0030.00316.04
7.4.40.0080.00816.46
7.4.30.0160.00616.63
7.3.330.0030.00312.99
7.3.320.0000.00613.02
7.3.310.0070.00016.28
7.3.300.0070.00016.16
7.3.290.0070.00716.19
7.3.280.0100.00816.18
7.3.270.0090.00917.40
7.3.260.0070.01116.22
7.3.250.0090.01216.38
7.3.240.0030.01716.25
7.3.230.0160.00316.53
7.3.210.0090.00916.32
7.3.200.0090.00619.39
7.3.190.0080.00816.30
7.3.180.0090.00616.13
7.3.170.0040.01216.43
7.3.160.0090.00616.35
7.2.330.0120.00616.51
7.2.320.0130.00316.69
7.2.310.0060.01616.41
7.2.300.0030.01516.32
7.2.290.0100.01016.64
5.4.320.0050.03912.45
5.4.310.0090.03812.45
5.4.300.0090.04812.45
5.4.290.0250.07512.45
5.4.280.0090.04412.35
5.4.270.0090.04712.34
5.4.260.0060.05512.35
5.4.250.0060.05312.34
5.4.240.0120.08112.34
5.4.230.0110.04412.34
5.4.220.0100.03812.34
5.4.210.0090.03912.34
5.4.200.0060.04512.34
5.4.190.0110.03612.34
5.4.180.0170.04812.34
5.4.170.0090.07112.34
5.4.160.0150.07112.34
5.4.150.0060.05612.34
5.4.140.0150.06712.02
5.4.130.0130.05812.01
5.4.120.0110.04111.96
5.4.110.0140.05411.96
5.4.100.0160.04811.96
5.4.90.0060.04511.96
5.4.80.0110.04311.96
5.4.70.0110.03711.96
5.4.60.0130.03411.96
5.4.50.0050.04111.96
5.4.40.0070.03611.95
5.4.30.0100.03811.95
5.4.20.0090.03611.95
5.4.10.0060.04211.95
5.4.00.0080.07611.43
5.3.290.0060.03812.80
5.3.280.0170.06812.71
5.3.270.0080.05212.73
5.3.260.0150.08312.72
5.3.250.0150.09912.72
5.3.240.0070.05412.72
5.3.230.0080.04212.71
5.3.220.0070.04112.68
5.3.210.0080.04712.68
5.3.200.0040.04512.68
5.3.190.0070.03912.67
5.3.180.0030.04312.68
5.3.170.0110.04412.67
5.3.160.0090.04812.67
5.3.150.0110.04512.67
5.3.140.0030.04812.66
5.3.130.0180.05612.66
5.3.120.0150.06412.66
5.3.110.0160.07112.66
5.3.100.0070.05712.12
5.3.90.0130.04912.09
5.3.80.0090.07512.08
5.3.70.0070.06212.07
5.3.60.0250.13212.07
5.3.50.0090.04812.00
5.3.40.0040.05412.00
5.3.30.0100.04911.94
5.3.20.0140.05811.72
5.3.10.0180.13611.69
5.3.00.0080.03911.68
5.2.170.0060.0599.18
5.2.160.0150.0479.18
5.2.150.0310.1089.18
5.2.140.0220.0609.17
5.2.130.0130.0369.14
5.2.120.0090.0439.13
5.2.110.0070.0429.14
5.2.100.0090.0469.14
5.2.90.0110.0459.14
5.2.80.0130.0429.13
5.2.70.0080.0379.13
5.2.60.0050.0309.09
5.2.50.0030.0329.06
5.2.40.0180.0459.03
5.2.30.0070.0389.00
5.2.20.0120.0478.99
5.2.10.0040.0328.91
5.2.00.0090.0458.78
5.1.60.0140.0588.06
5.1.50.0070.0258.05
5.1.40.0040.0268.04
5.1.30.0060.0278.39
5.1.20.0040.0288.41
5.1.10.0090.0258.13
5.1.00.0040.0438.14
5.0.50.0060.0286.61
5.0.40.0060.0306.48
5.0.30.0060.0426.29
5.0.20.0070.0256.25
5.0.10.0070.0266.24
5.0.00.0050.0346.23
4.4.90.0030.0174.78
4.4.80.0060.0284.75
4.4.70.0030.0224.75
4.4.60.0070.0184.76
4.4.50.0030.0234.77
4.4.40.0050.0334.71
4.4.30.0050.0204.76
4.4.20.0030.0234.84
4.4.10.0030.0234.85
4.4.00.0020.0354.76
4.3.110.0070.0194.66
4.3.100.0020.0234.67
4.3.90.0060.0194.63
4.3.80.0040.0324.58
4.3.70.0030.0224.63
4.3.60.0050.0204.63
4.3.50.0070.0154.63
4.3.40.0070.0364.54
4.3.30.0030.0193.28
4.3.20.0040.0163.25
4.3.10.0030.0163.22
4.3.00.0000.01715.22

preferences:
55.08 ms | 401 KiB | 5 Q