3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = ' <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:enterprise.soap.sforce.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <loginResponse> <result> <metadataServerUrl> https://na3.salesforce.com/services/Soap/m/28.0/00D50000000IdrE </metadataServerUrl> <passwordExpired>false</passwordExpired> <sandbox>false</sandbox> <serverUrl> https://abc.com/services/Soap/c/28.0/00D50000000IdrE </serverUrl> <sessionId> 00D50000000IdrE!AREAQK4VYXRaHoL_uRvOi.QXXw3ahAt2Cge254wygiW7cr_f6DVa2pDC6g57w5IE fidAu3ZRsJFBN5Bwb6DVhF18zKFiVVyT </sessionId> <userId>00550000001Dd4uAAC</userId> <userInfo> <accessibilityMode>false</accessibilityMode> <currencySymbol>$</currencySymbol> <orgAttachmentFileSizeLimit>5242880 </orgAttachmentFileSizeLimit> <orgDefaultCurrencyIsoCode>USD</orgDefaultCurrencyIsoCode> <orgDisallowHtmlAttachments>false </orgDisallowHtmlAttachments> <orgHasPersonAccounts>false</orgHasPersonAccounts> <organizationId>00D50000000IdrEEAS</organizationId> <organizationMultiCurrency>false</organizationMultiCurrency> <organizationName>3CLogic</organizationName> <profileId>00e500000017al5AAA</profileId> <roleId xsi:nil="true"/> <sessionSecondsValid>7200</sessionSecondsValid> <userDefaultCurrencyIsoCode xsi:nil="true"/> <userEmail>ramana@3clogic.com</userEmail> <userFullName>Ramana</userFullName> <userId>00550Dd4uAAC</userId> <userLanguage>en_US</userLanguage> <userLocale>en_US</userLocale> <userName>raman@gmail.com.com</userName> <userTimeZone>America/New_York</userTimeZone> <userType>Standard</userType> <userUiSkin>Theme3</userUiSkin> </userInfo> </result> </loginResponse> </soapenv:Body> </soapenv:Envelope> '; $sxe = new SimpleXMLElement($xml); // Define some short identifiers for namespaces without relying on their prefix in the XML define('NS_ENV', 'http://schemas.xmlsoap.org/soap/envelope/'); define('NS_SFORCE', 'urn:enterprise.soap.sforce.com'); // $sxe already represents the soapenv:Envelope node, so we don't need to mention that $result = $sxe->children(NS_ENV)->Body->children(NS_SFORCE)->loginResponse->result->serverUrl; echo $result;

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.0140.00718.56
8.3.50.0150.00222.17
8.3.40.0110.00419.34
8.3.30.0110.00719.51
8.3.20.0040.00420.29
8.3.10.0050.00323.91
8.3.00.0000.00820.05
8.2.180.0100.00716.88
8.2.170.0040.01122.96
8.2.160.0090.00620.72
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00821.11
8.2.110.0070.00221.30
8.2.100.0090.00318.16
8.2.90.0090.00019.42
8.2.80.0080.00017.97
8.2.70.0080.00017.75
8.2.60.0060.00318.16
8.2.50.0040.00418.10
8.2.40.0000.00718.47
8.2.30.0100.00018.28
8.2.20.0000.00917.97
8.2.10.0050.00318.34
8.2.00.0080.00019.68
8.1.280.0070.00725.92
8.1.270.0060.00324.07
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0030.00624.14
8.1.230.0100.00317.89
8.1.220.0050.00318.02
8.1.210.0030.00618.77
8.1.200.0000.00817.48
8.1.190.0050.00317.48
8.1.180.0000.01018.10
8.1.170.0040.00418.75
8.1.160.0000.00722.28
8.1.150.0000.00719.11
8.1.140.0060.00317.53
8.1.130.0030.00318.15
8.1.120.0020.00517.63
8.1.110.0040.00317.56
8.1.100.0060.00617.56
8.1.90.0000.00717.69
8.1.80.0000.00717.49
8.1.70.0030.00317.69
8.1.60.0060.00317.75
8.1.50.0040.00417.60
8.1.40.0030.00517.65
8.1.30.0000.00817.80
8.1.20.0030.00517.76
8.1.10.0040.00417.82
8.1.00.0000.00817.64
8.0.300.0000.00818.77
8.0.290.0030.00617.00
8.0.280.0030.00318.70
8.0.270.0070.00017.39
8.0.260.0000.00617.30
8.0.250.0040.00417.18
8.0.240.0040.00417.10
8.0.230.0030.00317.07
8.0.220.0000.00717.14
8.0.210.0030.00317.17
8.0.200.0030.00317.17
8.0.190.0000.00717.09
8.0.180.0060.00317.04
8.0.170.0030.00517.16
8.0.160.0040.00417.21
8.0.150.0030.00317.05
8.0.140.0040.00417.20
8.0.130.0030.00313.66
8.0.120.0080.00017.15
8.0.110.0000.00717.14
8.0.100.0000.00716.97
8.0.90.0000.00817.16
8.0.80.0000.01617.10
8.0.70.0000.00817.10
8.0.60.0000.00717.02
8.0.50.0000.00817.02
8.0.30.0030.01717.12
8.0.20.0100.00917.46
8.0.10.0000.00717.17
8.0.00.0130.00717.06
7.4.330.0030.00215.27
7.4.320.0000.00716.64
7.4.300.0060.00016.90
7.4.290.0000.00816.66
7.4.280.0000.00816.68
7.4.270.0040.00416.76
7.4.260.0070.00316.72
7.4.250.0040.00416.75
7.4.240.0000.00716.71
7.4.230.0030.00316.89
7.4.220.0200.00316.80
7.4.210.0070.01416.70
7.4.200.0040.00416.57
7.4.160.0170.00716.66
7.4.150.0030.01517.40
7.4.140.0120.00717.86
7.4.130.0150.00916.73
7.4.120.0100.00816.79
7.4.110.0120.00416.94
7.4.100.0040.01416.61
7.4.90.0060.01316.77
7.4.80.0060.01119.39
7.4.70.0120.00616.61
7.4.60.0080.00816.64
7.4.50.0050.00316.87
7.4.40.0080.00816.60
7.4.30.0030.01716.77
7.4.00.0090.00615.34
7.3.330.0030.00313.31
7.3.320.0030.00313.38
7.3.310.0030.00316.37
7.3.300.0050.00316.51
7.3.290.0070.00716.49
7.3.280.0100.01216.51
7.3.270.0140.00517.40
7.3.260.0100.00716.54
7.3.250.0130.00516.50
7.3.240.0100.00716.70
7.3.230.0060.00916.77
7.3.210.0160.00316.51
7.3.200.0140.00719.39
7.3.190.0070.01016.66
7.3.180.0140.00916.78
7.3.170.0110.00416.63
7.3.160.0090.00616.50
7.3.120.0060.00914.84
7.3.10.0150.00516.29
7.3.00.0200.00316.64
7.2.330.0060.01116.75
7.2.320.0180.00616.54
7.2.310.0040.01416.45
7.2.300.0100.00616.85
7.2.290.0070.01016.95
7.2.130.0170.00716.49
7.2.120.0120.00616.50
7.2.110.0130.00016.21
7.2.100.0120.00816.34
7.2.90.0130.00316.56
7.2.80.0070.01116.45
7.2.70.0090.00916.70
7.2.60.0140.00216.56
7.2.50.0120.00616.51
7.2.40.0120.00616.50
7.2.30.0160.00316.84
7.2.20.0110.01116.40
7.2.10.0070.00716.58
7.2.00.0080.00818.02
7.1.250.0100.01015.46
7.1.200.0160.00015.71
7.1.100.0030.00917.81
7.1.70.0080.00017.19
7.1.60.0070.01719.70
7.1.50.0130.01016.96
7.1.00.0000.08022.50
7.0.200.0250.00714.86
7.0.140.0070.07022.10
7.0.60.0170.05719.91
7.0.50.0200.07317.97
7.0.40.0070.08320.13
7.0.30.0330.05720.17
7.0.20.0430.08320.25
7.0.10.0030.07320.29
7.0.00.0200.07020.25
5.6.280.0030.07321.19
5.6.210.0170.06020.57
5.6.200.0100.08318.39
5.6.190.0000.08020.61
5.6.180.0200.04320.60
5.6.170.0400.06320.63
5.6.160.0100.03720.63
5.6.150.0100.07718.25
5.6.140.0030.04318.23
5.6.130.0130.07318.41
5.6.120.0000.09021.11
5.6.110.0030.08021.04
5.6.100.0030.09021.19
5.6.90.0070.08721.00
5.6.80.0000.08320.52
5.5.350.0030.08320.42
5.5.340.0030.08718.11
5.5.330.0100.08020.36
5.5.320.0200.08320.44
5.5.310.0230.08320.48
5.5.300.0000.05018.08
5.5.290.0070.08718.22
5.5.280.0070.03721.09
5.5.270.0070.05020.94
5.5.260.0100.08020.98
5.5.250.0030.08320.74
5.5.240.4430.03320.24
5.4.450.0630.04019.55
5.4.440.0400.05019.68
5.4.430.0330.05019.40
5.4.420.0330.04719.54
5.4.410.0430.04019.40
5.4.400.0300.03319.34
5.4.390.0230.04719.23
5.4.380.0170.06318.58
5.4.370.0200.04718.79
5.4.360.0100.05318.82
5.4.350.0170.05318.63
5.4.340.0200.05718.55
5.4.320.0030.04012.68
5.4.310.0080.03612.68
5.4.300.0120.05112.68
5.4.290.0080.05012.68
5.4.280.0160.06912.57
5.4.270.0090.04712.57
5.4.260.0080.05012.58
5.4.250.0050.04112.57
5.4.240.0080.04312.57
5.4.230.0050.04012.57
5.4.220.0070.03612.57
5.4.210.0060.03512.57
5.4.200.0040.03912.57
5.4.190.0090.03312.56
5.4.180.0080.03612.57
5.4.170.0080.03812.58
5.4.160.0040.03912.57
5.4.150.0030.03912.57
5.4.140.0040.03912.26
5.4.130.0050.03712.24
5.4.120.0040.03812.20
5.4.110.0130.03012.20
5.4.100.0070.03412.20
5.4.90.0080.03512.19
5.4.80.0050.03712.20
5.4.70.0030.03812.19
5.4.60.0060.03512.19
5.4.50.0050.03712.19
5.4.40.0090.03312.18
5.4.30.0060.03712.18
5.4.20.0030.03912.18
5.4.10.0040.03712.18
5.4.00.0070.03511.66
5.3.290.0060.03912.95
5.3.280.0070.03712.87
5.3.270.0070.03812.88
5.3.260.0050.04112.89
5.3.250.0070.03612.89
5.3.240.0050.03812.89
5.3.230.0060.04112.88
5.3.220.0060.03612.85
5.3.210.0080.04012.85
5.3.200.0060.04012.84
5.3.190.0090.03712.85
5.3.180.0070.03712.84
5.3.170.0060.03712.84
5.3.160.0080.03412.84
5.3.150.0050.03912.84
5.3.140.0050.03812.83
5.3.130.0060.03912.83
5.3.120.0060.04112.83
5.3.110.0030.04212.83
5.3.100.0060.03712.31
5.3.90.0030.03912.29
5.3.80.0100.03212.29
5.3.70.0050.03812.29
5.3.60.0110.03212.27
5.3.50.0050.03712.21
5.3.40.0030.03912.22
5.3.30.0080.03312.18
5.3.20.0070.03711.96
5.3.10.0040.03811.93
5.3.00.0040.04111.91
5.2.170.0040.0319.41
5.2.160.0020.0329.41
5.2.150.0050.0309.41
5.2.140.0060.0319.41
5.2.130.0090.0259.36
5.2.120.0070.0279.37
5.2.110.0020.0329.38
5.2.100.0060.0279.37
5.2.90.0090.0259.38
5.2.80.0060.0339.37
5.2.70.0050.0319.37
5.2.60.0070.0299.32
5.2.50.0040.0319.28
5.2.40.0030.0309.26
5.2.30.0060.0289.24
5.2.20.0060.0289.23
5.2.10.0010.0339.13
5.2.00.0040.0389.00
5.1.60.0020.0308.27
5.1.50.0030.0258.27
5.1.40.0040.0248.25
5.1.30.0060.0248.60
5.1.20.0040.0268.63
5.1.10.0070.0278.34
5.1.00.0050.0348.34
5.0.50.0030.0216.82
5.0.40.0030.0196.68
5.0.30.0040.0316.50
5.0.20.0010.0216.47
5.0.10.0030.0206.45
5.0.00.0030.0316.43
4.4.90.0050.0134.78
4.4.80.0020.0164.76
4.4.70.0020.0184.75
4.4.60.0030.0164.75
4.4.50.0020.0174.77
4.4.40.0010.0304.71
4.4.30.0020.0164.76
4.4.20.0040.0144.84
4.4.10.0030.0164.85
4.4.00.0050.0354.76
4.3.110.0040.0214.67
4.3.100.0040.0154.66
4.3.90.0010.0164.64
4.3.80.0020.0244.59
4.3.70.0040.0144.63
4.3.60.0020.0174.63
4.3.50.0030.0174.63
4.3.40.0030.0264.54
4.3.30.0040.0163.30
4.3.20.0040.0153.27
4.3.10.0020.0173.22
4.3.00.0070.01312.05

preferences:
35.25 ms | 401 KiB | 5 Q