3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xmlContent = <<<XML <ol> <li> <a href="Untitled-1-1.xhtml">1</a> </li> <li> <a href="Untitled-1-2.xhtml"/> </li> </ol> XML; $xml = new \SimpleXMLElement($xmlContent); echo $xml->li[0]->a['href'];

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.4.20.0100.01019.71
8.4.10.0030.00619.85
8.3.150.0120.00617.20
8.3.140.0060.00316.73
8.3.130.0030.00618.70
8.3.120.0030.00620.93
8.3.110.0120.00316.69
8.3.100.0090.00918.46
8.3.90.0080.00026.77
8.3.80.0060.00319.36
8.3.70.0070.01118.43
8.3.60.0110.00718.68
8.3.50.0110.00624.69
8.3.40.0100.00719.15
8.3.30.0090.00618.83
8.3.20.0040.00424.18
8.3.10.0000.00824.66
8.3.00.0090.00026.16
8.2.270.0130.00717.05
8.2.260.0060.00919.16
8.2.250.0090.00017.09
8.2.240.0080.00019.27
8.2.230.0030.00620.94
8.2.220.0100.01024.06
8.2.210.0040.00426.77
8.2.200.0000.00918.88
8.2.190.0110.00416.75
8.2.180.0120.00925.92
8.2.170.0070.00719.18
8.2.160.0110.01122.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00021.27
8.2.110.0050.00522.44
8.2.100.0090.00318.16
8.2.90.0030.00618.00
8.2.80.0050.00319.03
8.2.70.0090.00417.86
8.2.60.0040.00418.18
8.2.50.0040.00718.07
8.2.40.0090.00418.41
8.2.30.0030.00520.18
8.2.20.0070.00018.25
8.2.10.0030.00519.46
8.2.00.0040.00419.45
8.1.310.0040.00716.71
8.1.300.0030.00618.82
8.1.290.0000.00930.84
8.1.280.0070.01025.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00620.96
8.1.230.0090.00318.08
8.1.220.0060.00318.03
8.1.210.0040.00418.77
8.1.200.0000.00817.35
8.1.190.0030.00617.22
8.1.180.0050.00518.10
8.1.170.0050.00518.91
8.1.160.0050.00318.92
8.1.150.0040.00418.92
8.1.140.0050.00219.00
8.1.130.0070.00020.31
8.1.120.0040.00317.59
8.1.110.0040.00417.48
8.1.100.0060.00317.50
8.1.90.0070.00317.65
8.1.80.0040.00417.64
8.1.70.0030.00317.51
8.1.60.0040.00417.68
8.1.50.0060.00317.54
8.1.40.0030.00617.72
8.1.30.0040.00417.78
8.1.20.0000.00817.83
8.1.10.0030.00617.67
8.1.00.0040.00417.74
8.0.300.0030.00518.77
8.0.290.0040.00417.00
8.0.280.0070.00018.74
8.0.270.0040.00418.14
8.0.260.0030.00318.59
8.0.250.0030.00317.26
8.0.240.0000.00817.21
8.0.230.0030.00317.21
8.0.220.0060.00317.11
8.0.210.0040.00416.99
8.0.200.0000.00717.21
8.0.190.0040.00417.17
8.0.180.0030.00317.17
8.0.170.0030.00617.13
8.0.160.0000.00716.98
8.0.150.0000.00816.90
8.0.140.0080.00016.91
8.0.130.0060.00013.58
8.0.120.0060.00316.95
8.0.110.0000.00817.01
8.0.100.0000.00817.04
8.0.90.0030.00516.93
8.0.80.0070.01117.11
8.0.70.0080.00017.08
8.0.60.0040.00416.94
8.0.50.0030.00517.13
8.0.30.0120.00617.39
8.0.20.0120.00717.46
8.0.10.0000.00717.19
8.0.00.0100.01016.98
7.4.330.0050.00015.55
7.4.320.0060.00016.67
7.4.300.0040.00416.63
7.4.290.0040.00816.68
7.4.280.0040.00416.79
7.4.270.0040.00416.62
7.4.260.0000.00613.48
7.4.250.0070.00016.59
7.4.240.0000.00716.78
7.4.230.0070.00016.88
7.4.220.0030.00316.65
7.4.210.0090.00516.83
7.4.200.0070.00016.80
7.4.130.0090.00816.75
7.4.120.0180.00016.56
7.4.110.0060.01316.56
7.4.100.0070.01016.48
7.4.90.0070.01016.69
7.4.80.0130.00719.39
7.4.70.0050.01616.63
7.4.60.0060.01116.41
7.4.50.0140.00416.40
7.4.40.0100.00916.77
7.4.30.0090.00816.71
7.4.20.0080.01116.51
7.4.10.0090.00916.62
7.4.00.0120.00916.64
7.3.330.0080.00316.25
7.3.320.0030.00313.28
7.3.310.0030.00316.54
7.3.300.0000.00616.47
7.3.290.0080.00916.47
7.3.260.0060.01216.89
7.3.240.0100.01016.67
7.3.230.0150.00316.48
7.3.210.0100.00616.77
7.3.200.0100.00716.54
7.3.190.0170.00316.42
7.3.180.0080.00816.38
7.3.170.0030.01416.54
7.3.160.0080.00816.68
7.3.150.0100.00716.57
7.3.140.0030.01516.77
7.3.130.0120.00916.46
7.3.120.0120.00916.55
7.3.110.0070.01116.62
7.3.100.0090.00916.31
7.3.90.0090.00916.67
7.3.80.0030.01816.71
7.3.70.0130.00316.57
7.3.60.0190.00416.53
7.3.50.0060.00916.42
7.3.40.0130.00316.41
7.3.30.0050.01416.65
7.3.20.0040.01316.70
7.3.10.0130.00616.57
7.3.00.0130.00616.44
7.2.330.0190.00016.92
7.2.320.0060.01316.60
7.2.310.0110.00816.56
7.2.300.0140.00716.73
7.2.290.0030.01316.76
7.2.280.0030.01516.55
7.2.270.0190.00016.62
7.2.260.0160.00616.56
7.2.250.0120.00816.71
7.2.240.0110.01116.60
7.2.230.0090.00916.62
7.2.220.0040.01616.91
7.2.210.0100.01316.73
7.2.200.0100.00816.79
7.2.190.0090.00916.59
7.2.180.0090.00916.83
7.2.170.0140.00316.76
7.2.160.0040.01216.70
7.2.150.0100.01016.90
7.2.140.0070.01016.59
7.2.130.0070.01016.86
7.2.120.0110.00616.87
7.2.110.0570.00416.80
7.2.100.0030.01316.68
7.2.90.0140.00416.61
7.2.80.0030.01916.80
7.2.70.0110.01116.66
7.2.60.0080.00816.81
7.2.50.0170.00316.77
7.2.40.0100.00616.70
7.2.30.0050.01116.92
7.2.20.0100.00616.83
7.2.10.0230.00316.77
7.2.00.0100.00716.48

preferences:
117.41 ms | 403 KiB | 5 Q