3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = <<<HTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" id="mainLayout"> <head> <title>Anglosphere x3</title> <meta http-equiv="cache-control" content="max-age=0" /> <meta http-equiv="pragma" content="no-cache" /> <meta http-equiv="expires" content="0" /> <meta http-equiv="imagetoolbar" content="no" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <meta name="content-language" content="en-US" /> <meta name="viewport" content="width=device-width" /> </head> </html> HTML; var_dump(simplexml_load_string($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.5.30.0110.00919.24
8.5.20.0050.01316.79
8.5.10.0120.00616.81
8.5.00.0110.01120.27
8.4.180.0110.01119.60
8.4.170.0090.01321.94
8.4.160.0160.01122.33
8.4.150.0080.00416.78
8.4.140.0130.00917.77
8.4.130.0080.01418.92
8.4.120.0120.00824.05
8.4.110.0130.00820.71
8.4.100.0110.00719.11
8.4.90.0100.00920.55
8.4.80.0040.00417.84
8.4.70.0060.00217.87
8.4.60.0130.00817.82
8.4.50.0100.00717.69
8.4.40.0170.00317.64
8.4.30.0040.00420.72
8.4.20.0070.00417.96
8.4.10.0030.00622.20
8.3.300.0100.01018.54
8.3.290.0110.01121.08
8.3.280.0140.00818.55
8.3.270.0130.00816.80
8.3.260.0160.00316.56
8.3.250.0130.00519.11
8.3.240.0140.00617.21
8.3.230.0070.00916.79
8.3.220.0080.01119.10
8.3.210.0090.01016.61
8.3.200.0130.00716.84
8.3.190.0120.00816.79
8.3.180.0050.00318.69
8.3.170.0130.00619.09
8.3.160.0090.01016.48
8.3.150.0130.00617.23
8.3.140.0000.00916.70
8.3.130.0090.00018.70
8.3.120.0030.01720.97
8.3.110.0040.00416.63
8.3.100.0030.00724.06
8.3.90.0000.00726.77
8.3.80.0060.00316.88
8.3.70.0080.00816.63
8.3.60.0100.00618.43
8.3.50.0120.00524.40
8.3.40.0120.00318.68
8.3.30.0090.00618.82
8.3.20.0080.00024.18
8.3.10.0070.00024.66
8.3.00.0080.00026.16
8.2.300.0150.00520.40
8.2.290.0050.00520.68
8.2.280.0080.01018.47
8.2.270.0160.00317.45
8.2.260.0050.01019.00
8.2.250.0060.00316.80
8.2.240.0140.00719.14
8.2.230.0070.00320.94
8.2.220.0090.00037.54
8.2.210.0100.01026.77
8.2.200.0120.00016.88
8.2.190.0140.01016.75
8.2.180.0150.00625.92
8.2.170.0130.00319.02
8.2.160.0100.00622.96
8.2.150.0050.00325.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0000.01018.96
8.2.110.0000.00922.37
8.2.100.0090.00317.91
8.2.90.0030.00518.00
8.2.80.0000.00818.89
8.2.70.0080.00018.00
8.2.60.0000.00818.34
8.2.50.0060.00318.10
8.2.40.0090.00021.27
8.2.30.0040.00419.46
8.2.20.0050.00318.31
8.2.10.0000.00819.34
8.2.00.0040.00419.41
8.1.340.0100.01120.49
8.1.330.0140.00522.09
8.1.320.0120.00916.24
8.1.310.0050.00316.95
8.1.300.0030.00619.84
8.1.290.0040.00418.88
8.1.280.0160.00025.92
8.1.270.0060.00320.57
8.1.260.0050.00326.35
8.1.250.0050.00228.09
8.1.240.0060.00322.39
8.1.230.0110.00018.08
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0000.00917.48
8.1.190.0030.00517.35
8.1.180.0000.00918.10
8.1.170.0000.01018.76
8.1.160.0060.00320.77
8.1.150.0050.00218.98
8.1.140.0040.00420.85
8.1.130.0030.00320.20
8.1.120.0050.00217.53
8.1.110.0080.00017.64
8.1.100.0030.00617.66
8.1.90.0040.00417.50
8.1.80.0060.00317.61
8.1.70.0000.00717.67
8.1.60.0030.00617.82
8.1.50.0040.00417.55
8.1.40.0050.00317.70
8.1.30.0000.00817.88
8.1.20.0060.00317.66
8.1.10.0030.00517.73
8.1.00.0030.00617.63
8.0.300.0040.00418.77
8.0.290.0030.00516.88
8.0.280.0030.00318.59
8.0.270.0000.00817.02
8.0.260.0000.00618.55
8.0.250.0080.00017.05
8.0.240.0040.00417.09
8.0.230.0040.00417.19
8.0.220.0040.00417.18
8.0.210.0000.00717.17
8.0.200.0070.00017.17
8.0.190.0040.00417.05
8.0.180.0000.00717.07
8.0.170.0030.00617.17
8.0.160.0000.00717.17
8.0.150.0030.00617.16
8.0.140.0030.00716.94
8.0.130.0000.00513.52
8.0.120.0040.00416.96
8.0.110.0000.00717.18
8.0.100.0030.00317.12
8.0.90.0040.00417.18
8.0.80.0100.01017.08
8.0.70.0000.00717.13
8.0.60.0050.00217.12
8.0.50.0000.00716.94
8.0.30.0100.00717.35
8.0.20.0120.00917.26
8.0.10.0110.01017.18
8.0.00.0170.00817.34
7.4.330.0000.00515.55
7.4.320.0030.00316.76
7.4.300.0070.00016.70
7.4.290.0040.00416.59
7.4.280.0040.00416.61
7.4.270.0000.00716.63
7.4.260.0060.00013.52
7.4.250.0060.00316.80
7.4.240.0000.00816.67
7.4.230.0030.00316.77
7.4.220.0020.00516.82
7.4.210.0070.00916.77
7.4.200.0000.00716.77
7.4.150.0140.00816.64
7.4.140.0090.01216.68
7.4.130.0100.01216.69
7.4.120.0080.01216.54
7.4.110.0110.00916.59
7.4.100.0120.00916.60
7.4.90.0120.00916.67
7.4.80.0120.00916.63
7.4.70.0110.00916.59
7.4.60.0110.01616.63
7.4.50.0180.00916.68
7.4.40.0140.00716.54
7.4.30.0150.01316.48
7.4.20.0130.00816.72
7.4.10.0110.01016.65
7.4.00.0120.01016.38
7.3.330.0070.00016.45
7.3.320.0030.00313.26
7.3.310.0030.00316.48
7.3.300.0070.00016.40
7.3.290.0110.00616.45
7.3.270.0100.01116.44
7.3.260.0110.01016.53
7.3.250.0110.00916.47
7.3.240.0120.00816.53
7.3.230.0110.00916.59
7.3.220.0170.00616.57
7.3.210.0130.00716.56
7.3.200.0090.01216.61
7.3.190.0140.00516.55
7.3.180.0160.01316.54
7.3.170.0150.01116.54
7.3.160.0140.00616.54
7.3.150.0080.01316.58
7.3.140.0160.00516.54
7.3.130.0140.01216.49
7.3.120.0100.01016.55
7.3.110.0120.00916.50
7.3.100.0100.01116.49
7.3.90.0100.01316.65
7.3.80.0090.01316.53
7.3.70.0110.00916.46
7.3.60.0120.00816.46
7.3.50.0100.01216.42
7.3.40.0140.00716.47
7.3.30.0060.01516.50
7.3.20.0160.00716.46
7.3.10.0130.00816.52
7.3.00.0110.00916.44

preferences:
109.52 ms | 1776 KiB | 5 Q