3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '<?xml version="1.0" encoding="UTF-8"?> <Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><Body><Fault><Code><Value>SOAP-ENV:Receiver</Value></Code><Reason><Text>OMS login failure: Problem in OMS UAMS login - Nested Exception/Error: java.net.ConnectException: Tried all: \'1\' addresses, but could not connect over HTTP to server: \'nlut02hr\', port: \'40100\' </Text></Reason><Role>BEA</Role><Detail><error xmlns:bsl="http://com.amdocs.bss.bsl/"><errorCode>BSL-14002</errorCode><errorMessage>Generic exception returned from external system</errorMessage><detail><fault xmlns:con="http://www.bea.com/wli/sb/context"><errorCode>BEA-380000</errorCode><location><node>getAddOnsRouteNode</node><path>response-pipeline</path></location></fault></detail></error></Detail></Fault></Body></Envelope>' ; $xml = new SimpleXMLElement($str); foreach ($xml->getNamespaces(true) as $ns => $uri) { $str = str_replace(sprintf('%s:', $ns), '', $str); } $xml = new SimpleXMLElement($str); 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)
8.3.60.0090.00618.61
8.3.50.0110.00320.32
8.3.40.0120.00318.98
8.3.30.0080.00819.26
8.3.20.0050.00320.43
8.3.10.0040.00423.75
8.3.00.0030.00619.26
8.2.180.0120.00917.00
8.2.170.0040.01122.96
8.2.160.0070.00720.53
8.2.150.0030.00524.18
8.2.140.0030.00524.66
8.2.130.0070.00726.16
8.2.120.0110.00721.28
8.2.110.0040.00422.56
8.2.100.0080.00418.16
8.2.90.0000.00819.34
8.2.80.0030.00517.97
8.2.70.0030.00617.88
8.2.60.0060.00318.01
8.2.50.0040.00418.07
8.2.40.0080.00018.34
8.2.30.0070.00018.27
8.2.20.0040.00417.93
8.2.10.0000.00718.24
8.2.00.0080.00018.03
8.1.270.0000.00824.04
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00324.08
8.1.230.0080.00419.23
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.01017.35
8.1.190.0040.00417.48
8.1.180.0080.00018.10
8.1.170.0060.00618.65
8.1.160.0040.00422.13
8.1.150.0040.00419.21
8.1.140.0060.00317.56
8.1.130.0000.00718.02
8.1.120.0000.00717.57
8.1.110.0070.00017.68
8.1.100.0040.00417.68
8.1.90.0040.00417.60
8.1.80.0040.00417.72
8.1.70.0000.00717.54
8.1.60.0000.01017.76
8.1.50.0080.00017.74
8.1.40.0000.00817.67
8.1.30.0000.00817.83
8.1.20.0040.00417.74
8.1.10.0080.00017.71
8.1.00.0000.01217.61
8.0.300.0060.00318.77
8.0.290.0060.00316.88
8.0.280.0000.00718.66
8.0.270.0070.00017.52
8.0.260.0030.00317.52
8.0.250.0000.00717.20
8.0.240.0040.00417.00
8.0.230.0040.00417.01
8.0.220.0070.00017.10
8.0.210.0000.00717.16
8.0.200.0070.00017.12
8.0.190.0050.00217.19
8.0.180.0000.00817.13
8.0.170.0080.00017.00
8.0.160.0040.00417.04
8.0.150.0000.00717.01
8.0.140.0040.00416.97
8.0.130.0030.00313.53
8.0.120.0040.00417.09
8.0.110.0050.00316.96
8.0.100.0040.00417.06
8.0.90.0000.00717.07
8.0.80.0030.01317.05
8.0.70.0050.00217.17
8.0.60.0000.00716.95
8.0.50.0000.00716.89
8.0.30.0120.00817.24
8.0.20.0130.01317.51
8.0.10.0090.00017.20
8.0.00.0130.00716.97
7.4.330.0060.00015.00
7.4.320.0030.00316.79
7.4.300.0050.00316.84
7.4.290.0040.00416.79
7.4.280.0050.00316.75
7.4.270.0030.00316.74
7.4.260.0050.00216.61
7.4.250.0020.00516.81
7.4.240.0060.00216.74
7.4.230.0020.00516.82
7.4.220.0110.00916.68
7.4.210.0090.00616.62
7.4.200.0000.00716.92
7.4.160.0130.01016.74
7.4.150.0070.02117.40
7.4.140.0120.00717.86
7.4.130.0130.00716.73
7.4.120.0120.00716.77
7.4.110.0070.01016.51
7.4.100.0150.00616.50
7.4.90.0140.00716.74
7.4.80.0080.01219.39
7.4.70.0100.00816.84
7.4.60.0100.01316.75
7.4.50.0040.00416.60
7.4.40.0100.00616.54
7.4.30.0060.01216.77
7.4.00.0070.01014.92
7.3.330.0000.00613.32
7.3.320.0000.00613.20
7.3.310.0000.00716.39
7.3.300.0040.00416.36
7.3.290.0130.00316.43
7.3.280.0090.00816.36
7.3.270.0120.00917.40
7.3.260.0130.00716.52
7.3.250.0140.00416.45
7.3.240.0090.01116.58
7.3.230.0180.00616.58
7.3.210.0150.00816.49
7.3.200.0090.00919.39
7.3.190.0100.01016.60
7.3.180.0060.01016.59
7.3.170.0090.01216.33
7.3.160.0070.01716.55
7.3.120.0050.01215.00
7.3.110.0080.01014.84
7.3.100.0060.00714.76
7.3.90.0070.01114.70
7.3.80.0060.01014.77
7.3.70.0000.01214.93
7.3.60.0070.00814.78
7.3.50.0060.00814.73
7.3.40.0070.00714.80
7.3.30.0050.00914.83
7.3.20.0060.00816.75
7.3.10.0020.01216.77
7.3.00.0050.00716.61
7.2.330.0160.00316.69
7.2.320.0100.01016.88
7.2.310.0110.00716.72
7.2.300.0070.01016.71
7.2.290.0030.01316.88
7.2.250.0100.00915.25
7.2.240.0070.01215.03
7.2.230.0050.01315.35
7.2.220.0070.00615.08
7.2.210.0050.01115.02
7.2.200.0050.00915.10
7.2.190.0060.00815.09
7.2.180.0060.00615.07
7.2.170.0090.00515.13
7.2.60.0000.01517.15
7.2.00.0030.01219.46
7.1.330.0090.00615.84
7.1.320.0020.00815.93
7.1.310.0090.00415.70
7.1.300.0050.00715.85
7.1.290.0070.00415.79
7.1.280.0070.00715.71
7.1.270.0090.00115.65
7.1.260.0030.01215.89
7.1.200.0100.00315.80
7.1.100.0000.00817.81
7.1.70.0000.00817.32
7.1.60.0150.01119.40
7.1.50.0100.01416.93
7.1.00.0000.08022.61
7.0.200.0100.00516.73
7.0.140.0030.06722.16
7.0.60.0100.05720.01
7.0.50.0100.03717.95
7.0.40.0070.05320.11
7.0.30.0470.07020.16
7.0.20.0400.05020.14
7.0.10.0100.08720.14
7.0.00.0070.05020.30
5.6.280.0000.07720.89
5.6.210.0070.03720.71
5.6.200.0070.06318.26
5.6.190.0170.05320.58
5.6.180.0330.04320.79
5.6.170.0270.05320.48
5.6.160.0170.07320.61
5.6.150.0100.07718.22
5.6.140.0070.05718.24
5.6.130.0100.05318.27
5.6.120.0070.05321.21
5.6.110.0130.05721.01
5.6.100.0130.08021.13
5.6.90.0270.06721.17
5.6.80.0030.03720.41
5.5.350.3870.04320.43
5.5.340.0100.07718.15
5.5.330.0100.04020.34
5.5.320.0000.08720.33
5.5.310.0270.03320.30
5.5.300.0030.04718.09
5.5.290.0030.04718.09
5.5.280.0100.05320.96
5.5.270.0130.08020.93
5.5.260.0100.03720.92
5.5.250.0130.08020.61
5.5.240.0370.05320.33
5.4.450.3570.03719.29
5.4.440.3930.04319.63
5.4.430.3300.03719.47
5.4.420.3230.04319.29
5.4.410.4200.04019.49
5.4.400.3600.04019.27
5.4.390.3630.03719.25
5.4.380.3070.03719.34
5.4.370.3130.04019.01
5.4.360.3030.04019.33
5.4.350.3400.03319.02
5.4.340.3430.04019.08
5.4.320.3370.03019.31
5.4.310.3600.04019.30
5.4.300.3770.04019.00
5.4.290.3670.03319.17
5.4.280.4100.04019.25
5.4.270.3570.04318.98
5.4.260.4170.04019.17
5.4.250.4000.02719.16
5.4.240.4000.03319.33
5.4.230.3500.04319.34
5.4.220.3600.03719.17
5.4.210.3470.03719.17
5.4.200.3330.04319.24
5.4.190.3600.04019.07
5.4.180.4300.03719.32
5.4.170.3630.03719.07
5.4.160.4230.03319.26
5.4.150.3870.03319.30
5.4.140.3300.03016.45
5.4.130.3470.03016.36
5.4.120.3300.03716.42
5.4.110.3400.03716.59
5.4.100.3300.03716.42
5.4.90.3670.02316.57
5.4.80.3700.03716.64
5.4.70.4230.04716.27
5.4.60.4000.03716.61
5.4.50.4300.03316.43
5.4.40.3500.03316.58
5.4.30.3600.03316.59
5.4.20.3400.03316.43
5.4.10.3800.04016.21
5.4.00.3500.03315.97
5.3.290.4500.03714.72
5.3.280.3270.03714.79
5.3.270.4270.03714.80
5.3.260.4200.04014.79
5.3.250.3670.03714.64
5.3.240.3570.03714.75
5.3.230.3270.03714.55
5.3.220.3400.03014.53
5.3.210.3670.03714.60
5.3.200.3500.04014.54
5.3.190.3800.03714.72
5.3.180.3600.03714.61
5.3.170.3570.04014.75
5.3.160.4200.04014.60
5.3.150.4430.03714.57
5.3.140.3870.04314.68
5.3.130.3230.03714.55
5.3.120.3470.04014.59
5.3.110.3470.03714.53
5.3.100.4030.04714.24
5.3.90.3730.04314.17
5.3.80.3900.03714.03
5.3.70.3630.04314.17
5.3.60.3770.04313.99
5.3.50.3700.04013.82
5.3.40.3600.03714.11
5.3.30.3570.03313.91
5.3.20.3600.03313.83
5.3.10.4330.03713.62
5.3.00.4370.04713.84
5.2.170.2830.03711.32
5.2.160.3000.03311.10
5.2.150.3070.02711.25
5.2.140.2930.03311.24
5.2.130.3470.03011.34
5.2.120.3630.03711.10
5.2.110.3530.03711.21
5.2.100.3370.03311.24
5.2.90.3030.02711.10
5.2.80.2970.03011.14
5.2.70.2900.03311.24
5.2.60.3500.02011.19
5.2.50.3500.02311.26
5.2.40.2400.03310.98
5.2.30.2600.02711.01
5.2.20.2370.02310.98
5.2.10.2200.03010.96
5.2.00.2830.02710.76
5.1.60.2830.0279.94
5.1.50.2370.02710.03
5.1.40.2670.0209.99
5.1.30.2300.03010.54
5.1.20.2400.02710.44
5.1.10.2170.02710.13
5.1.00.1830.03010.25
5.0.50.1230.0138.56
5.0.40.1130.0178.46
5.0.30.1130.0278.39
5.0.20.1030.0208.24
5.0.10.1200.0178.41
5.0.00.1200.0278.16
4.4.90.1470.0175.95
4.4.80.1530.0205.96
4.4.70.1230.0136.00
4.4.60.1330.0136.00
4.4.50.1230.0136.00
4.4.40.1370.0236.05
4.4.30.1400.0176.06
4.4.20.1230.0176.08
4.4.10.1170.0136.11
4.4.00.1170.0236.11
4.3.110.1130.0136.12
4.3.100.1400.0136.13
4.3.90.0470.0136.13
4.3.80.1270.0206.14
4.3.70.1230.0136.14
4.3.60.1000.0176.15
4.3.50.1230.0176.15
4.3.40.1170.0206.15
4.3.30.0600.0176.16
4.3.20.0570.0176.17
4.3.10.0370.0136.17
4.3.00.0570.0136.17

preferences:
57.47 ms | 400 KiB | 5 Q