3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<EOD <?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://na3.salesforce.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> EOD; $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_ENV', 'soapenv'); 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.0000.01518.68
8.3.50.0120.00922.06
8.3.40.0070.01318.95
8.3.30.0150.00019.12
8.3.20.0030.00620.47
8.3.10.0050.00223.86
8.3.00.0040.00422.43
8.2.180.0040.01218.79
8.2.170.0140.00022.96
8.2.160.0170.00322.40
8.2.150.0040.00424.18
8.2.140.0060.00924.66
8.2.130.0030.00526.16
8.2.120.0000.01117.75
8.2.110.0030.00722.63
8.2.100.0090.00618.16
8.2.90.0050.00319.33
8.2.80.0030.00518.05
8.2.70.0040.00417.75
8.2.60.0030.00518.05
8.2.50.0040.00418.07
8.2.40.0050.00518.38
8.2.30.0030.00618.27
8.2.20.0050.00218.00
8.2.10.0040.00419.82
8.2.00.0000.00817.91
8.1.280.0100.01025.92
8.1.270.0030.00624.08
8.1.260.0050.00326.35
8.1.250.0110.00728.09
8.1.240.0030.00723.99
8.1.230.0090.00319.25
8.1.220.0000.00817.88
8.1.210.0000.00918.77
8.1.200.0080.00017.47
8.1.190.0040.00417.66
8.1.180.0040.00418.10
8.1.170.0000.00918.91
8.1.160.0000.00722.19
8.1.150.0000.00718.75
8.1.140.0030.00617.71
8.1.130.0000.00818.06
8.1.120.0040.00417.62
8.1.110.0080.00017.75
8.1.100.0050.00317.75
8.1.90.0000.00717.57
8.1.80.0040.00417.53
8.1.70.0000.00817.55
8.1.60.0040.00417.71
8.1.50.0060.00317.70
8.1.40.0040.00417.68
8.1.30.0060.00317.82
8.1.20.0060.00317.80
8.1.10.0040.00417.86
8.1.00.0000.00817.57
8.0.300.0080.00018.77
8.0.290.0000.00817.18
8.0.280.0000.00718.55
8.0.270.0050.00217.46
8.0.260.0020.00517.10
8.0.250.0000.00717.30
8.0.240.0030.00717.31
8.0.230.0050.00317.33
8.0.220.0000.00717.08
8.0.210.0030.00317.21
8.0.200.0000.00717.26
8.0.190.0060.00317.33
8.0.180.0040.00417.09
8.0.170.0000.00817.12
8.0.160.0020.00517.08
8.0.150.0000.00817.18
8.0.140.0000.00717.05
8.0.130.0030.00313.59
8.0.120.0000.00717.18
8.0.110.0000.00717.27
8.0.100.0040.00416.93
8.0.90.0040.00417.24
8.0.80.0120.00617.16
8.0.70.0040.00417.07
8.0.60.0000.00717.05
8.0.50.0040.00417.24
8.0.30.0190.00417.18
8.0.20.0090.01017.40
8.0.10.0000.00717.29
8.0.00.0100.01316.88
7.4.330.0060.00015.31
7.4.320.0030.00316.73
7.4.300.0020.00516.91
7.4.290.0000.00716.66
7.4.280.0000.01116.82
7.4.270.0050.00516.86
7.4.260.0060.00316.67
7.4.250.0040.00416.65
7.4.240.0030.00416.77
7.4.230.0000.00716.68
7.4.220.0070.01516.86
7.4.210.0100.00616.78
7.4.200.0030.00316.54
7.4.190.0050.00216.67
7.4.160.0060.00916.57
7.4.150.0070.01717.40
7.4.140.0080.01117.86
7.4.130.0090.00916.77
7.4.120.0090.00916.70
7.4.110.0100.00716.82
7.4.100.0120.00616.66
7.4.90.0130.00316.57
7.4.80.0110.01116.58
7.4.70.0150.00316.55
7.4.60.0130.00316.64
7.4.50.0030.00616.71
7.4.40.0030.00922.77
7.4.30.0100.01316.62
7.4.00.0050.01115.10
7.3.330.0020.00213.30
7.3.320.0000.00613.42
7.3.310.0050.00216.53
7.3.300.0070.00016.50
7.3.290.0040.01516.54
7.3.280.0080.01016.50
7.3.270.0080.00817.40
7.3.260.0000.01816.91
7.3.250.0100.00716.64
7.3.240.0060.01116.38
7.3.230.0080.00816.58
7.3.210.0170.00016.70
7.3.200.0140.00319.39
7.3.190.0110.01116.72
7.3.180.0070.01416.54
7.3.170.0040.01216.53
7.3.160.0060.00916.55
7.3.120.0130.00514.98
7.3.110.0030.01415.09
7.3.100.0060.01014.91
7.3.90.0060.00614.83
7.3.80.0030.01515.24
7.3.70.0030.00615.03
7.3.60.0000.01415.02
7.3.50.0070.00314.86
7.3.40.0100.00715.07
7.3.30.0000.01414.89
7.3.20.0100.00316.90
7.3.10.0030.00916.73
7.3.00.0100.00316.81
7.2.330.0070.01016.60
7.2.320.0190.00017.01
7.2.310.0110.00716.92
7.2.300.0100.00716.77
7.2.290.0030.01316.64
7.2.250.0080.01115.28
7.2.240.0070.00715.07
7.2.230.0130.00315.33
7.2.220.0070.00714.99
7.2.210.0040.01514.84
7.2.200.0090.00615.13
7.2.190.0070.01015.10
7.2.180.0030.01515.26
7.2.170.0090.00315.33
7.2.160.0060.01015.30
7.2.150.0090.00616.58
7.2.140.0100.00717.05
7.2.130.0040.00917.05
7.2.120.0040.01116.96
7.2.110.0030.00917.13
7.2.100.0070.00516.97
7.2.90.0050.00716.95
7.2.80.0020.00916.92
7.2.70.0050.00916.87
7.2.60.0100.00516.93
7.2.50.0030.00817.04
7.2.40.0050.00816.81
7.2.30.0020.00916.91
7.2.20.0000.01017.09
7.2.10.0050.01017.09
7.2.00.0050.00917.88
7.1.330.0030.01616.04
7.1.320.0060.00915.86
7.1.310.0040.01415.87
7.1.300.0030.01215.83
7.1.290.0100.00715.98
7.1.280.0000.01115.96
7.1.270.0110.00015.54
7.1.260.0080.00816.09
7.1.250.0050.00615.97
7.1.240.0090.00616.05
7.1.230.0100.00015.85
7.1.220.0080.00416.01
7.1.210.0080.00315.80
7.1.200.0060.00515.88
7.1.190.0090.00015.93
7.1.180.0080.00415.83
7.1.170.0030.01116.05
7.1.160.0130.00315.95
7.1.150.0030.00715.99
7.1.140.0000.01215.85
7.1.130.0030.01315.71
7.1.120.0070.00715.77
7.1.110.0060.00915.76
7.1.100.0020.00916.95
7.1.90.0040.00815.90
7.1.80.0030.01015.82
7.1.70.0060.00516.63
7.1.60.0060.01317.63
7.1.50.0050.01116.32
7.1.40.0060.00615.62
7.1.30.0070.00715.61
7.1.20.0090.00615.61
7.1.10.0040.01215.89
7.1.00.0020.04419.15
7.0.330.0030.00715.23
7.0.320.0000.01215.61
7.0.310.0090.00615.41
7.0.300.0030.01015.77
7.0.290.0030.01215.55
7.0.280.0030.00515.19
7.0.270.0090.00615.48
7.0.260.0030.01315.58
7.0.250.0050.00315.51
7.0.240.0070.00715.78
7.0.230.0080.00415.58
7.0.220.0070.00715.88
7.0.210.0090.00615.55
7.0.200.0030.01016.20
7.0.190.0050.00315.65
7.0.180.0000.01415.68
7.0.170.0030.01215.51
7.0.160.0070.00715.42
7.0.150.0000.01115.50
7.0.140.0060.03718.67
7.0.130.0000.00915.57
7.0.120.0040.01115.68
7.0.110.0080.00015.57
7.0.100.0000.01315.74
7.0.90.0000.00815.46
7.0.80.0040.00815.36
7.0.70.0060.00915.55
7.0.60.0130.02717.89
7.0.50.0100.04216.71
7.0.40.0100.04616.95
7.0.30.0100.04516.90
7.0.20.0150.03916.97
7.0.10.0080.02016.97
7.0.00.0030.02516.87
5.6.400.0060.00314.39
5.6.390.0060.00614.05
5.6.380.0000.01414.28
5.6.370.0060.00914.59
5.6.360.0070.00714.66
5.6.350.0040.01214.46
5.6.340.0000.01014.32
5.6.330.0030.01314.51
5.6.320.0080.00414.00
5.6.310.0040.01114.88
5.6.300.0040.00914.05
5.6.290.0060.00314.35
5.6.280.0020.04617.90
5.6.270.0060.00614.30
5.6.260.0030.01014.55
5.6.250.0060.00314.54
5.6.240.0090.00014.39
5.6.230.0030.01014.40
5.6.220.0030.01014.26
5.6.210.0070.03517.54
5.6.200.0050.03716.36
5.6.190.0030.03817.52
5.6.180.0030.02517.63
5.6.170.0180.04317.38
5.6.160.0080.04517.47
5.6.150.0050.03016.38
5.6.140.0020.02716.44
5.6.130.0030.03416.43
5.6.120.0070.04817.67
5.6.110.0130.01817.79
5.6.100.0150.03617.79
5.6.90.0080.04017.84
5.6.80.0050.03017.22
5.6.70.0070.01014.04
5.6.60.0060.00914.31
5.6.50.0060.01014.34
5.6.40.0070.00714.34
5.6.30.0000.01414.43
5.6.20.0060.00914.14
5.6.10.0060.00914.38
5.6.00.0000.01014.27
5.5.380.0040.00814.36
5.5.370.0000.01114.41
5.5.360.0090.00014.63
5.5.350.0090.04117.31
5.5.340.0080.03916.27
5.5.330.0050.02917.46
5.5.320.0050.04717.51
5.5.310.0200.03517.40
5.5.300.0000.02716.12
5.5.290.0120.03716.01
5.5.280.0100.04117.59
5.5.270.0050.02817.70
5.5.260.0060.04617.60
5.5.250.0070.04217.35
5.5.240.0070.04217.38
5.5.230.0050.00514.15
5.5.220.0090.00314.18
5.5.210.0040.01214.08
5.5.200.0100.00314.21
5.5.190.0110.00014.32
5.5.180.0100.00614.32
5.5.170.0060.00314.34
5.5.160.0030.00914.20
5.5.150.0000.01314.43
5.5.140.0000.00914.09
5.5.130.0030.01314.20
5.5.120.0060.00914.23
5.5.110.0070.00714.39
5.5.100.0000.01114.29
5.5.90.0100.00314.19
5.5.80.0070.00714.48
5.5.70.0000.01514.37
5.5.60.0100.00314.01
5.5.50.0070.00714.22
5.5.40.0080.00014.40
5.5.30.0070.00414.21
5.5.20.0030.01314.41
5.5.10.0090.00314.44
5.5.00.0070.00714.20
5.4.450.0180.02116.61
5.4.440.0500.02616.61
5.4.430.0200.02316.52
5.4.420.0300.02316.54
5.4.410.0250.03216.48
5.4.400.0220.03016.22
5.4.390.0220.02816.07
5.4.380.0070.03216.19
5.4.370.0030.03316.15
5.4.360.0120.02616.17
5.4.350.0080.03816.21
5.4.340.0080.02916.18
5.4.330.0030.00313.59
5.4.320.0060.02413.12
5.4.310.0090.01913.11
5.4.300.0060.02413.11
5.4.290.0060.02113.12
5.4.280.0040.02013.06
5.4.270.0040.02313.06
5.4.260.0070.02113.06
5.4.250.0070.02213.06
5.4.240.0070.01813.06
5.4.230.0040.02713.06
5.4.220.0040.02513.06
5.4.210.0040.02513.06
5.4.200.0080.02213.06
5.4.190.0140.02213.06
5.4.180.0110.02513.06
5.4.170.0140.03613.06
5.4.160.0130.02613.06
5.4.150.0120.02413.06
5.4.140.0110.02512.90
5.4.130.0130.02112.89
5.4.120.0110.02212.87
5.4.110.0130.02312.87
5.4.100.0070.02712.87
5.4.90.0100.02712.87
5.4.80.0140.02112.87
5.4.70.0120.02512.87
5.4.60.0160.03612.87
5.4.50.0150.02012.87
5.4.40.0120.02312.87
5.4.30.0090.02812.87
5.4.20.0110.02612.87
5.4.10.0110.02412.86
5.4.00.0160.03312.61
5.3.290.0060.02113.25
5.3.280.0060.02313.21
5.3.270.0120.02813.22
5.3.260.0130.02613.22
5.3.250.0160.02313.22
5.3.240.0200.04413.22
5.3.230.0120.02513.21
5.3.220.0090.02613.20
5.3.210.0090.02813.20
5.3.200.0140.02413.20
5.3.190.0140.02613.20
5.3.180.0110.02513.20
5.3.170.0120.02513.20
5.3.160.0120.02613.20
5.3.150.0210.04713.20
5.3.140.0120.02613.19
5.3.130.0120.02613.19
5.3.120.0150.03913.19
5.3.110.0110.02413.19
5.3.100.0150.05012.93
5.3.90.0080.02712.93
5.3.80.0080.02812.92
5.3.70.0110.02412.92
5.3.60.0120.02412.91
5.3.50.0110.02512.89
5.3.40.0090.02512.89
5.3.30.0090.02612.87
5.3.20.0090.04012.76
5.3.10.0090.02412.74
5.3.00.0110.02212.73
5.2.170.0100.0379.38
5.2.160.0140.0339.38
5.2.150.0120.0369.37
5.2.140.0270.0819.38
5.2.130.0120.0349.34
5.2.120.0120.0349.33
5.2.110.0090.0389.34
5.2.100.0180.0289.33
5.2.90.0110.0359.34
5.2.80.0080.0429.33
5.2.70.0110.0379.33
5.2.60.0380.0699.29
5.2.50.0130.0359.26
5.2.40.0140.0359.23
5.2.30.0080.0389.21
5.2.20.0150.0329.25
5.2.10.0130.0349.16
5.2.00.0130.0379.03
5.1.60.0110.0308.33
5.1.50.0080.0338.32
5.1.40.0340.0668.31
5.1.30.0150.0318.66
5.1.20.0120.0318.68
5.1.10.0110.0318.39
5.1.00.0150.0278.39
5.0.50.0140.0216.88
5.0.40.0110.0246.73
5.0.30.0110.0366.55
5.0.20.0120.0206.53
5.0.10.0120.0226.50
5.0.00.0120.0336.50
4.4.90.0110.0184.78
4.4.80.0070.0184.75
4.4.70.0060.0194.75
4.4.60.0090.0174.75
4.4.50.0150.0404.77
4.4.40.0100.0294.71
4.4.30.0070.0194.75
4.4.20.0050.0204.84
4.4.10.0070.0184.85
4.4.00.0060.0304.76
4.3.110.0080.0174.67
4.3.100.0110.0144.66
4.3.90.0050.0204.64
4.3.80.0070.0274.60
4.3.70.0100.0144.63
4.3.60.0230.0644.63
4.3.50.0100.0154.62
4.3.40.0060.0314.57
4.3.30.0200.0383.37
4.3.20.0070.0183.36
4.3.10.0050.0193.26
4.3.00.0330.01712.91

preferences:
57.54 ms | 400 KiB | 5 Q