3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = '<example xmlns:foo="my.foo.urn">  <foo:a>Apple</foo:a>  <foo:b>Banana</foo:b>  <c>Cherry</c></example>'; $sxe = new SimpleXMLElement($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.310.0500.06719.04
5.4.300.0330.05019.09
5.4.290.0370.04319.14
5.4.280.0470.07018.85
5.4.270.0370.06319.09
5.4.260.0470.04319.06
5.4.250.0470.04719.08
5.4.240.0500.04719.08
5.4.230.0470.07019.08
5.4.220.0300.04318.85
5.4.210.0530.03719.06
5.4.200.0500.05318.84
5.4.190.0370.05318.82
5.4.180.0470.04319.12
5.4.170.0470.04319.05
5.4.160.0530.03718.93
5.4.150.0430.03719.20
5.4.140.0500.05016.51
5.4.130.0470.06016.38
5.4.120.0500.05716.33
5.4.110.0370.04316.54
5.4.100.0400.03316.19
5.4.90.0370.03316.52
5.4.80.0530.04016.55
5.4.70.0370.03716.52
5.4.60.0300.04316.54
5.4.50.0430.04316.53
5.4.40.0370.03716.51
5.4.30.0400.04316.34
5.4.20.0400.03316.52
5.4.10.0530.05716.58
5.4.00.0500.05715.77
5.3.280.0470.06014.57
5.3.270.0430.05314.56
5.3.260.0470.07014.45
5.3.250.0470.04714.47
5.3.240.0470.05014.48
5.3.230.0500.06014.45
5.3.220.0400.05014.61
5.3.210.0470.02714.41
5.3.200.0430.06714.43
5.3.190.0400.03714.48
5.3.180.0430.06714.50
5.3.170.0400.05314.39
5.3.160.0370.03714.42
5.3.150.0430.04314.39
5.3.140.0530.05714.58
5.3.130.0400.04014.57
5.3.120.0330.04014.39
5.3.110.0570.04014.52
5.3.100.0370.04313.88
5.3.90.0570.06013.87
5.3.80.0300.04313.99
5.3.70.0330.03713.89
5.3.60.0430.06714.05
5.3.50.0400.04013.74
5.3.40.0430.06313.89
5.3.30.0570.04313.80
5.3.20.0570.03013.53
5.3.10.0430.03013.54
5.3.00.0330.04013.43
5.2.170.0400.03711.05
5.2.160.0400.05311.02
5.2.150.0400.04311.00
5.2.140.0400.04011.30
5.2.130.0400.05311.14
5.2.120.0370.05011.20
5.2.110.0470.04011.04
5.2.100.0400.02311.11
5.2.90.0370.02311.03
5.2.80.0430.05011.03
5.2.70.0430.04710.98
5.2.60.0330.03010.93
5.2.50.0300.04011.03
5.2.40.0230.03310.84
5.2.30.0330.05710.91
5.2.20.0300.04310.90
5.2.10.0300.05010.80
5.2.00.0330.04310.68
5.1.60.0270.02710.49
5.1.50.0370.04310.49
5.1.40.0370.04310.49
5.1.30.0300.05310.49
5.1.20.0370.04310.49
5.1.10.0370.04710.49
5.1.00.0230.04310.49
5.0.50.0100.03710.49
5.0.40.0200.04310.49
5.0.30.0130.05010.49
5.0.20.0130.02010.49
5.0.10.0100.03710.49
5.0.00.0200.04710.49
4.4.90.0170.03710.49
4.4.80.0170.03010.49
4.4.70.0130.01710.49
4.4.60.0170.03310.49
4.4.50.0200.03010.49
4.4.40.0100.03310.49
4.4.30.0170.03010.49
4.4.20.0170.01710.49
4.4.10.0130.03710.49
4.4.00.0200.04310.49
4.3.110.0130.03310.49
4.3.100.0130.03310.49
4.3.90.0130.03310.49
4.3.80.0170.05310.49
4.3.70.0170.03010.49
4.3.60.0130.03310.49
4.3.50.0200.03010.49
4.3.40.0170.04310.49
4.3.30.0100.02010.49
4.3.20.0130.03010.49
4.3.10.0170.02710.49
4.3.00.0070.03010.49

preferences:
144.39 ms | 1394 KiB | 7 Q