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_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.0150.00618.77
8.3.50.0090.00922.11
8.3.40.0100.01019.10
8.3.30.0070.00718.98
8.3.20.0080.00018.89
8.3.10.0040.00421.22
8.3.00.0080.00023.79
8.2.180.0060.00916.75
8.2.170.0030.01722.96
8.2.160.0100.00320.64
8.2.150.0090.00924.18
8.2.140.0050.00324.66
8.2.130.0060.00926.16
8.2.120.0080.00021.03
8.2.110.0140.00722.63
8.2.100.0040.00817.97
8.2.90.0030.00618.15
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0050.00318.16
8.2.50.0040.00418.07
8.2.40.0050.00318.34
8.2.30.0000.00821.45
8.2.20.0040.00417.90
8.2.10.0030.00517.95
8.2.00.0040.00417.96
8.1.280.0170.00725.92
8.1.270.0050.00323.99
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00722.67
8.1.230.0110.00021.10
8.1.220.0080.00018.04
8.1.210.0000.00818.98
8.1.200.0060.00317.48
8.1.190.0000.00817.63
8.1.180.0060.00318.10
8.1.170.0040.00418.81
8.1.160.0020.00519.11
8.1.150.0050.00218.85
8.1.140.0040.00417.58
8.1.130.0030.00518.11
8.1.120.0030.00517.71
8.1.110.0020.00517.70
8.1.100.0040.00417.72
8.1.90.0000.00717.73
8.1.80.0030.00517.76
8.1.70.0050.00317.71
8.1.60.0040.00417.81
8.1.50.0000.00817.57
8.1.40.0070.00017.61
8.1.30.0000.00817.89
8.1.20.0030.00617.83
8.1.10.0000.00817.70
8.1.00.0030.00617.82
8.0.300.0040.00420.22
8.0.290.0040.00416.88
8.0.280.0000.00718.68
8.0.270.0050.00217.48
8.0.260.0070.00017.10
8.0.250.0040.00417.28
8.0.240.0000.00817.11
8.0.230.0000.00717.27
8.0.220.0050.00217.05
8.0.210.0030.00317.18
8.0.200.0000.00917.21
8.0.190.0040.00417.16
8.0.180.0050.00217.25
8.0.170.0040.00417.10
8.0.160.0060.00317.19
8.0.150.0080.00017.15
8.0.140.0030.00517.18
8.0.130.0060.00013.63
8.0.120.0000.00717.18
8.0.110.0070.00017.10
8.0.100.0080.00017.04
8.0.90.0040.00417.21
8.0.80.0130.00317.10
8.0.70.0000.00717.19
8.0.60.0070.00017.17
8.0.50.0040.00417.20
8.0.30.0120.00917.35
8.0.20.0160.00717.45
8.0.10.0070.00017.16
8.0.00.0060.01116.84
7.4.330.0000.00516.88
7.4.320.0070.00016.62
7.4.300.0030.00316.73
7.4.290.0080.00016.57
7.4.280.0000.00816.64
7.4.270.0000.00716.58
7.4.260.0050.00013.41
7.4.250.0030.00616.86
7.4.240.0030.00416.78
7.4.230.0070.00016.77
7.4.220.0090.00816.77
7.4.210.0070.01016.77
7.4.200.0070.00016.70
7.4.190.0080.00016.98
7.4.160.0130.00316.76
7.4.150.0150.00917.40
7.4.140.0070.01017.86
7.4.130.0050.01316.77
7.4.120.0120.00616.78
7.4.110.0040.01516.73
7.4.100.0060.01516.77
7.4.90.0110.00716.66
7.4.80.0120.01119.39
7.4.70.0120.00716.73
7.4.60.0070.01316.70
7.4.50.0080.00016.60
7.4.40.0060.00922.77
7.4.30.0090.01316.74
7.4.10.0000.01814.95
7.4.00.0080.00815.22
7.3.330.0060.00013.41
7.3.320.0000.00513.38
7.3.310.0000.00716.56
7.3.300.0030.00316.33
7.3.290.0170.00316.50
7.3.280.0090.00516.50
7.3.270.0150.00317.40
7.3.260.0110.00918.24
7.3.250.0100.01016.59
7.3.240.0060.01216.62
7.3.230.0140.00416.68
7.3.210.0030.01516.52
7.3.200.0110.00619.39
7.3.190.0060.01316.70
7.3.180.0130.00916.44
7.3.170.0070.01016.46
7.3.160.0160.00016.53
7.3.130.0090.00914.93
7.3.120.0060.01014.83
7.3.110.0050.01114.75
7.3.100.0080.00814.87
7.3.90.0040.00914.79
7.3.80.0090.00714.96
7.3.70.0100.00314.83
7.3.60.0000.01314.96
7.3.50.0020.01314.95
7.3.40.0050.00714.81
7.3.30.0060.00814.97
7.3.20.0100.00316.73
7.3.10.0040.01216.79
7.3.00.0090.00516.73
7.2.330.0170.00016.82
7.2.320.0100.01316.62
7.2.310.0160.00616.73
7.2.300.0060.01516.90
7.2.290.0060.01116.68
7.2.260.0100.00715.38
7.2.250.0030.01815.23
7.2.240.0110.00515.20
7.2.230.0090.00615.07
7.2.220.0030.00915.25
7.2.210.0100.00715.03
7.2.200.0050.00815.16
7.2.190.0030.01015.10
7.2.180.0040.00714.97
7.2.170.0030.01215.12
7.2.160.0080.00715.15
7.2.150.0050.01016.89
7.2.140.0050.00816.99
7.2.130.0050.00716.95
7.2.120.0070.00916.88
7.2.110.0090.00616.81
7.2.100.0080.00616.95
7.2.90.0090.00517.05
7.2.80.0070.00817.14
7.2.70.0060.00817.07
7.2.60.0090.00416.93
7.2.50.0090.00817.07
7.2.40.0050.00917.02
7.2.30.0020.01317.13
7.2.20.0040.01017.12
7.2.10.0070.00916.88
7.2.00.0050.01017.59
7.1.330.0070.00715.87
7.1.320.0040.01215.81
7.1.310.0040.00915.88
7.1.300.0020.01115.66
7.1.290.0070.00415.94
7.1.280.0090.00315.78
7.1.270.0060.00915.96
7.1.260.0070.00715.86
7.1.250.0020.01215.85
7.1.240.0070.00415.73
7.1.230.0070.00815.80
7.1.220.0150.00715.88
7.1.210.0070.00515.95
7.1.200.0080.00415.89
7.1.190.0030.00815.99
7.1.180.0050.00816.02
7.1.170.0020.01015.65
7.1.160.0050.00915.75
7.1.150.0110.00215.78
7.1.140.0080.00615.94
7.1.130.0070.00515.87
7.1.120.0050.00715.72
7.1.110.0050.00715.79
7.1.100.0040.00616.67
7.1.90.0040.01115.88
7.1.80.0050.00815.80
7.1.70.0020.00716.28
7.1.60.0030.00916.30
7.1.50.0070.00916.28
7.1.40.0070.00715.77
7.1.30.0090.00415.91
7.1.20.0020.01015.93
7.1.10.0060.00915.69
7.1.00.0030.01618.13
7.0.330.0050.00515.54
7.0.320.0040.01315.45
7.0.310.0030.00815.52
7.0.300.0020.01115.50
7.0.290.0070.00315.53
7.0.280.0070.00215.50
7.0.270.0020.01115.62
7.0.260.0080.00315.62
7.0.250.0050.00515.48
7.0.240.0050.00815.70
7.0.230.0020.01115.56
7.0.220.0100.00315.73
7.0.210.0040.00415.43
7.0.200.0090.00415.97
7.0.190.0080.00515.50
7.0.180.0060.00515.37
7.0.170.0070.00215.66
7.0.160.0090.00215.43
7.0.150.0090.00315.56
7.0.140.0050.03017.73
7.0.130.0050.00615.48
7.0.120.0070.00615.61
7.0.110.0060.00515.56
7.0.100.0020.00915.47
7.0.90.0060.00615.56
7.0.80.0030.00815.46
7.0.70.0070.02816.94
7.0.60.0160.02217.09
7.0.50.0090.01717.26
7.0.40.0060.02015.69
7.0.30.0040.02115.68
7.0.20.0080.01915.76
7.0.10.0030.03615.64
7.0.00.0090.02315.78
5.6.400.0080.00414.50
5.6.390.0080.00814.73
5.6.380.0070.00814.47
5.6.370.0030.00714.64
5.6.360.0030.01114.35
5.6.350.0030.01014.58
5.6.340.0000.01114.36
5.6.330.0070.00714.54
5.6.320.0070.00414.29
5.6.310.0080.00514.49
5.6.300.0040.00914.32
5.6.290.0070.00514.37
5.6.280.0080.02716.76
5.6.270.0070.00514.60
5.6.260.0070.00514.58
5.6.250.0060.00714.38
5.6.240.0070.00414.39
5.6.230.0050.00814.34
5.6.220.0080.01716.54
5.6.210.0070.02516.36
5.6.200.0040.01916.65
5.6.190.0070.02016.56
5.6.180.0050.02116.63
5.6.170.0050.01816.52
5.6.160.0030.02016.77
5.6.150.0050.02216.67
5.6.140.0010.02516.54
5.6.130.0070.01816.59
5.6.120.0070.03116.68
5.6.110.0040.02716.59
5.6.100.0050.03516.61
5.6.90.0070.03216.65
5.6.80.0070.01916.36
5.6.70.0060.03316.35
5.6.60.0060.03316.33
5.6.50.0040.03316.35
5.6.40.0030.03616.44
5.6.30.0100.03016.25
5.6.20.0080.03216.34
5.6.10.0060.02816.40
5.6.00.0090.02916.30
5.5.380.0050.00412.63
5.5.370.0030.00712.59
5.5.360.0060.02215.43
5.5.350.0020.01915.35
5.5.340.0060.01415.54
5.5.330.0050.01715.42
5.5.320.0070.02015.37
5.5.310.0060.01815.46
5.5.300.0080.01815.43
5.5.290.0090.01615.43
5.5.280.0050.01815.52
5.5.270.0020.02815.37
5.5.260.0080.02415.42
5.5.250.0050.02215.34
5.5.240.0050.03215.41
5.5.230.0090.02915.21
5.5.220.0040.03215.31
5.5.210.0070.02815.11
5.5.200.0060.02915.17
5.5.190.0040.02815.18
5.5.180.0040.03015.26
5.5.170.0060.00312.67
5.5.160.0070.02515.28
5.5.150.0030.02215.17
5.5.140.0040.03215.21
5.5.130.0040.03115.18
5.5.120.0070.02815.24
5.5.110.0080.02815.27
5.5.100.0110.02015.30
5.5.90.0040.03215.29
5.5.80.0110.02815.24
5.5.70.0060.02915.24
5.5.60.0110.01815.16
5.5.50.0080.02915.18
5.5.40.0030.03515.21
5.5.30.0070.01715.26
5.5.20.0050.03415.32
5.5.10.0070.02815.17
5.5.00.0070.02915.15
5.4.450.0050.01813.99
5.4.440.0050.02113.90
5.4.430.0060.03013.82
5.4.420.0060.02413.93
5.4.410.0070.01913.81
5.4.400.0050.01713.77
5.4.390.0040.03113.78
5.4.380.0070.02013.63
5.4.370.0100.02813.67
5.4.360.0040.03213.75
5.4.350.0040.03013.82
5.4.340.0080.02413.59
5.4.330.0010.00711.10
5.4.320.0040.01813.66
5.4.310.0030.02113.65
5.4.300.0040.03013.74
5.4.290.0020.03213.74
5.4.280.0050.02913.76
5.4.270.0050.02413.64
5.4.260.0090.02513.59
5.4.250.0080.02913.82
5.4.240.0110.02613.71
5.4.230.0030.03013.74
5.4.220.0070.02713.62
5.4.210.0080.02913.69
5.4.200.0070.02713.75
5.4.190.0020.03213.73
5.4.180.0020.03313.69
5.4.170.0030.02513.70
5.4.160.0030.03213.77
5.4.150.0010.03413.75
5.4.140.0070.02812.87
5.4.130.0050.02412.82
5.4.120.0050.02812.98
5.4.110.0050.02712.83
5.4.100.0090.02812.77
5.4.90.0020.03012.76
5.4.80.0070.02212.86
5.4.70.0050.02312.70
5.4.60.0050.02812.86
5.4.50.0060.02512.88
5.4.40.0080.02612.86
5.4.30.0050.02412.84
5.4.20.0050.02812.90
5.4.10.0050.02112.84
5.4.00.0030.02112.64
5.3.290.0050.04212.98
5.3.280.0030.03212.94
5.3.270.0020.03912.94
5.3.260.0000.02412.92
5.3.250.0020.02612.85
5.3.240.0000.04912.87
5.3.230.0030.04012.93
5.3.220.0080.03512.92
5.3.210.0080.03712.93
5.3.200.0070.04012.95
5.3.190.0000.04512.89
5.3.180.0080.03312.88
5.3.170.0060.04312.83
5.3.160.0050.03212.92
5.3.150.0050.04012.94
5.3.140.0050.02512.92
5.3.130.0030.04312.83
5.3.120.0030.03112.90
5.3.110.0060.04512.94
5.3.100.0050.03912.68
5.3.90.0050.04112.67
5.3.80.0030.04212.62
5.3.70.0050.03112.62
5.3.60.0050.04312.62
5.3.50.0040.04312.60
5.3.40.0020.03812.62
5.3.30.0080.02312.52
5.3.20.0100.03312.51
5.3.10.0080.03512.44
5.3.00.0030.04212.48
5.2.170.0090.03011.79
5.2.160.0000.03911.79
5.2.150.0070.02311.79
5.2.140.0030.03811.79
5.2.130.0050.02611.79
5.2.120.0050.03011.79
5.2.110.0040.03311.79
5.2.100.0030.03011.79
5.2.90.0040.03011.79
5.2.80.0050.02011.79
5.2.70.0030.02211.79
5.2.60.0030.03411.79
5.2.50.0100.02711.79
5.2.40.0040.02211.79
5.2.30.0060.03511.79
5.2.20.0050.03311.79
5.2.10.0070.01811.79
5.2.00.0020.03111.79
5.1.60.0070.02711.79
5.1.50.0030.02011.79
5.1.40.0060.02511.79
5.1.30.0030.02511.79
5.1.20.0030.02311.79
5.1.10.0060.02811.79
5.1.00.0020.03211.79
5.0.50.0050.02511.79
5.0.40.0020.01811.79
5.0.30.0050.03111.79
5.0.20.0050.02211.79
5.0.10.0030.02311.79
5.0.00.0020.03711.79
4.4.90.0060.01311.79
4.4.80.0000.02111.79
4.4.70.0000.02211.79
4.4.60.0040.01411.79
4.4.50.0000.01511.79
4.4.40.0000.03011.79
4.4.30.0020.02011.79
4.4.20.0020.01511.79
4.4.10.0050.01511.79
4.4.00.0050.02711.79
4.3.110.0030.01611.79
4.3.100.0020.01911.79
4.3.90.0030.01711.79
4.3.80.0030.03211.79
4.3.70.0070.01311.79
4.3.60.0000.02211.79
4.3.50.0030.02011.79
4.3.40.0030.02811.79
4.3.30.0020.02211.79
4.3.20.0040.02011.79
4.3.10.0030.01811.79
4.3.00.0020.01811.79

preferences:
40.58 ms | 401 KiB | 5 Q