3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '<?xml version="1.0" encoding="utf-8"?> <result> <code>1</code> <msg>error</msg> <errors> <error>No Qualified Buyers Found</error> </errors> </result>'; $xml = @simplexml_load_string($response); var_dump($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)
5.4.360.0200.04718.61
5.4.350.0070.03713.66
5.4.340.0100.03313.80
5.4.320.0070.04014.21
5.4.310.0000.05314.14
5.4.300.0100.03314.31
5.4.290.0070.03714.11
5.4.280.0100.03313.96
5.4.270.0030.04013.99
5.4.260.0000.04313.99
5.4.250.0070.03714.04
5.4.240.0100.03314.00
5.4.230.0000.04314.08
5.4.220.0070.03714.05
5.4.210.0000.04014.05
5.4.200.0100.03314.05
5.4.190.0100.03714.02
5.4.180.0070.03714.04
5.4.170.0070.03714.11
5.4.160.0100.03014.10
5.4.150.0030.04014.05
5.4.140.0070.04013.78
5.4.130.0030.04013.68
5.4.120.0030.03713.62
5.4.110.0130.04013.64
5.4.100.0200.03313.77
5.4.90.0030.04713.62
5.4.80.0130.04713.82
5.4.70.0130.04313.63
5.4.60.0070.04713.61
5.4.50.0030.04313.63
5.4.40.0030.05713.61
5.4.30.0170.03313.60
5.4.20.0070.03713.64
5.4.10.0070.04013.60
5.4.00.0030.04013.16
5.3.290.0130.03314.50
5.3.280.0070.04014.50
5.3.270.0100.04314.46
5.3.260.0030.04314.57
5.3.250.0070.04014.47
5.3.240.0100.03714.59
5.3.230.0130.04014.57
5.3.220.0170.03014.43
5.3.210.0070.04014.39
5.3.200.0100.03314.58
5.3.190.0030.04314.43
5.3.180.0130.04014.55
5.3.170.0070.04014.44
5.3.160.0170.03314.47
5.3.150.0030.04014.55
5.3.140.0100.03314.41
5.3.130.0130.03714.35
5.3.120.0130.03714.45
5.3.110.0170.03714.58
5.3.100.0130.03314.09
5.3.90.0070.05014.07
5.3.80.0200.03013.92
5.3.70.0070.04314.05
5.3.60.0070.03713.97
5.3.50.0070.03713.91
5.3.40.0070.03713.91
5.3.30.0000.04313.81
5.3.20.0100.04313.54
5.3.10.0100.04313.50
5.3.00.0070.05013.61
5.2.170.0100.03711.12
5.2.160.0030.05011.06
5.2.150.0070.03311.06
5.2.140.0030.03011.05
5.2.130.0000.03311.16
5.2.120.0000.03311.11
5.2.110.0100.03011.08
5.2.100.0170.02711.01
5.2.90.0100.04010.96
5.2.80.0200.03711.06
5.2.70.0130.05711.10
5.2.60.0070.04310.95
5.2.50.0100.04711.11
5.2.40.0300.03711.07
5.2.30.0170.03710.86
5.2.20.0170.03311.07
5.2.10.0130.03010.98
5.2.00.0100.03710.82
5.1.60.0130.03310.00
5.1.50.0100.0379.90
5.1.40.0100.03310.09
5.1.30.0170.03010.30
5.1.20.0200.03010.35
5.1.10.0170.03010.09
5.1.00.0130.0339.98
5.0.50.0100.0238.61
5.0.40.0070.0308.43
5.0.30.0030.0438.23
5.0.20.0100.0238.23
5.0.10.0100.0238.25
5.0.00.0070.0408.21
4.4.90.0000.0275.83
4.4.80.0070.0205.86
4.4.70.0030.0175.80
4.4.60.0070.0135.84
4.4.50.0070.0135.80
4.4.40.0030.0275.82
4.4.30.0000.0205.87
4.4.20.0000.0205.98
4.4.10.0070.0135.89
4.4.00.0030.0275.83
4.3.110.0030.0135.77
4.3.100.0070.0135.80
4.3.90.0000.0175.82
4.3.80.0000.0275.72
4.3.70.0000.0175.73
4.3.60.0100.0175.84
4.3.50.0000.0175.84
4.3.40.0030.0305.68
4.3.30.0030.0204.51
4.3.20.0000.0204.51
4.3.10.0030.0174.54
4.3.00.0270.02014.49

preferences:
145.28 ms | 1386 KiB | 7 Q