3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { libxml_use_internal_errors(true); return new SimpleXMLElement($responseString); } catch (\Exception $e) { $xml = new SimpleXMLElement('<errors/>'); foreach(libxml_get_errors() as $error) { $xml->addChild('error', $error->message); }; libxml_clear_errors(); echo $xml; }

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.01018.65
8.3.50.0120.00318.28
8.3.40.0120.00318.93
8.3.30.0150.00018.88
8.3.20.0080.00022.63
8.3.10.0120.00320.38
8.3.00.0040.00423.91
8.2.180.0120.00918.79
8.2.170.0120.00322.96
8.2.160.0100.00322.23
8.2.150.0000.00924.18
8.2.140.0050.00324.66
8.2.130.0110.00026.16
8.2.120.0040.00426.16
8.2.110.0050.00522.50
8.2.100.0090.00318.16
8.2.90.0000.00817.88
8.2.80.0000.00818.30
8.2.70.0040.00418.01
8.2.60.0080.00018.27
8.2.50.0040.00418.10
8.2.40.0060.00321.40
8.2.30.0000.00719.32
8.2.20.0000.00818.15
8.2.10.0000.00719.55
8.2.00.0050.00219.30
8.1.280.0140.00025.92
8.1.270.0060.00320.93
8.1.260.0030.00626.35
8.1.250.0030.01028.09
8.1.240.0030.00724.00
8.1.230.0040.00819.30
8.1.220.0000.00717.74
8.1.210.0030.00618.77
8.1.200.0090.00017.48
8.1.190.0030.00617.38
8.1.180.0040.00418.10
8.1.170.0060.00318.75
8.1.160.0100.00019.08
8.1.150.0040.00419.05
8.1.140.0090.00021.04
8.1.130.0000.00720.28
8.1.120.0030.00317.54
8.1.110.0000.00717.58
8.1.100.0050.00317.68
8.1.90.0040.00417.56
8.1.80.0050.00217.54
8.1.70.0030.00617.67
8.1.60.0000.00817.76
8.1.50.0040.00417.72
8.1.40.0000.00917.69
8.1.30.0030.00617.81
8.1.20.0050.00317.78
8.1.10.0040.00417.75
8.1.00.0040.00417.54
8.0.300.0080.00021.75
8.0.290.0050.00317.00
8.0.280.0040.00418.57
8.0.270.0000.00717.39
8.0.260.0000.00720.24
8.0.250.0030.00617.23
8.0.240.0080.00317.25
8.0.230.0070.00017.11
8.0.220.0000.00717.20
8.0.210.0030.00317.15
8.0.200.0000.00617.12
8.0.190.0050.00217.20
8.0.180.0030.00617.09
8.0.170.0060.00317.19
8.0.160.0070.00017.18
8.0.150.0000.00717.08
8.0.140.0070.00017.05
8.0.130.0050.00013.54
8.0.120.0060.00317.19
8.0.110.0000.00716.93
8.0.100.0030.00617.09
8.0.90.0040.00417.11
8.0.80.0030.01417.08
8.0.70.0000.00717.18
8.0.60.0000.00817.20
8.0.50.0000.00717.02
8.0.30.0130.00416.95
8.0.20.0150.00517.25
8.0.10.0070.00017.13
8.0.00.0100.00917.00
7.4.330.0030.00315.55
7.4.320.0000.00816.72
7.4.300.0000.00716.77
7.4.290.0000.00816.69
7.4.280.0030.00316.71
7.4.270.0030.00316.77
7.4.260.0030.00313.45
7.4.250.0000.00716.65
7.4.240.0040.00316.64
7.4.230.0000.00716.55
7.4.220.0050.00216.84
7.4.210.0110.00516.83
7.4.200.0000.00716.85
7.4.130.0100.00716.62
7.4.120.0060.00816.71
7.4.110.0060.01216.82
7.4.100.0100.01316.74
7.4.90.0160.00616.71
7.4.80.0070.01019.39
7.4.70.0060.00916.78
7.4.60.0100.00716.68
7.4.50.0030.00916.54
7.4.40.0130.01016.71
7.4.00.0050.01215.09
7.3.330.0040.00416.61
7.3.320.0000.00613.40
7.3.310.0050.00216.65
7.3.300.0070.00016.47
7.3.290.0030.00316.47
7.3.280.0100.00716.49
7.3.260.0100.00916.59
7.3.230.0100.00716.71
7.3.210.0080.01216.68
7.3.200.0050.01316.59
7.3.190.0140.00316.68
7.3.180.0150.00316.55
7.3.170.0100.00716.66
7.3.160.0030.01316.51
7.3.120.0110.00714.98
7.3.110.0060.00614.95
7.3.100.0000.01714.89
7.3.90.0060.00614.74
7.3.80.0000.01314.92
7.3.70.0050.01014.64
7.3.60.0070.00514.86
7.3.50.0080.00414.78
7.3.40.0100.00514.77
7.3.30.0070.00414.88
7.3.20.0040.01115.74
7.3.10.0080.00515.72
7.3.00.0090.00615.78
7.2.330.0030.01316.79
7.2.320.0060.01416.84
7.2.310.0100.00716.62
7.2.300.0110.00716.88
7.2.290.0030.01316.94
7.2.250.0130.00715.14
7.2.240.0130.00315.16
7.2.230.0060.01215.21
7.2.220.0090.00615.31
7.2.210.0080.00615.06
7.2.200.0090.00715.22
7.2.190.0080.00615.12
7.2.180.0060.00615.02
7.2.170.0060.00815.18
7.2.160.0030.01015.16
7.2.150.0100.00715.06
7.2.140.0160.00015.17
7.2.130.0070.01015.00
7.2.120.0120.00315.11
7.2.110.0130.00315.18
7.2.100.0120.00315.16
7.2.90.0100.00615.12
7.2.80.0140.00514.93
7.2.70.0110.00715.18
7.2.60.0100.01015.01
7.2.50.0140.00315.14
7.2.40.0100.00715.13
7.2.30.0100.00715.22
7.2.20.0110.01115.40
7.2.10.0160.01015.29
7.2.00.0130.01015.05
7.1.330.0100.00315.94
7.1.320.0120.00315.93
7.1.310.0090.00715.01
7.1.300.0420.00714.96
7.1.290.0110.00415.07
7.1.280.0110.00514.97
7.1.270.0100.00315.00
7.1.260.0140.00014.90
7.1.250.0080.01214.07

preferences:
46.08 ms | 400 KiB | 5 Q