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, TRUE)->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.0070.00717.13
8.3.50.0150.00922.17
8.3.40.0090.00619.02
8.3.30.0040.01119.26
8.3.20.0080.00020.55
8.3.10.0080.00023.86
8.3.00.0030.00520.69
8.2.180.0090.01216.88
8.2.170.0120.00322.96
8.2.160.0140.00322.58
8.2.150.0080.00024.18
8.2.140.0090.00024.66
8.2.130.0070.00026.16
8.2.120.0070.00722.58
8.2.110.0090.00022.40
8.2.100.0110.00417.97
8.2.90.0080.00019.50
8.2.80.0080.00018.17
8.2.70.0030.00617.75
8.2.60.0030.00518.18
8.2.50.0050.00318.07
8.2.40.0060.00618.41
8.2.30.0050.00318.22
8.2.20.0040.00417.98
8.2.10.0080.00017.99
8.2.00.0050.00217.99
8.1.280.0140.00025.92
8.1.270.0000.00824.07
8.1.260.0080.00026.35
8.1.250.0060.00328.09
8.1.240.0030.00623.97
8.1.230.0150.00319.02
8.1.220.0050.00317.93
8.1.210.0000.00918.77
8.1.200.0070.00317.37
8.1.190.0060.00317.65
8.1.180.0050.00318.10
8.1.170.0000.00818.71
8.1.160.0070.00022.29
8.1.150.0040.00418.74
8.1.140.0030.00517.70
8.1.130.0030.00318.05
8.1.120.0080.00017.59
8.1.110.0040.00417.63
8.1.100.0000.00717.57
8.1.90.0000.00717.57
8.1.80.0000.00717.74
8.1.70.0040.00417.64
8.1.60.0030.00917.90
8.1.50.0040.00417.69
8.1.40.0080.00017.82
8.1.30.0000.00817.92
8.1.20.0050.00317.78
8.1.10.0040.00417.78
8.1.00.0020.00517.69
8.0.300.0000.00718.77
8.0.290.0070.00017.55
8.0.280.0070.00018.57
8.0.270.0000.00717.50
8.0.260.0050.00317.07
8.0.250.0000.00717.28
8.0.240.0040.00417.20
8.0.230.0000.00717.31
8.0.220.0040.00417.14
8.0.210.0040.00417.04
8.0.200.0060.00017.09
8.0.190.0000.00817.10
8.0.180.0040.00417.23
8.0.170.0040.00417.08
8.0.160.0040.00417.31
8.0.150.0000.00817.29
8.0.140.0000.00817.16
8.0.130.0000.00613.53
8.0.120.0040.00417.21
8.0.110.0000.00717.22
8.0.100.0000.00717.03
8.0.90.0000.00717.06
8.0.80.0060.00917.16
8.0.70.0050.00217.16
8.0.60.0050.00217.23
8.0.50.0040.00417.08
8.0.30.0070.01117.21
8.0.20.0090.00917.40
8.0.10.0000.00717.13
8.0.00.0060.01117.21
7.4.330.0000.00615.31
7.4.320.0000.00716.75
7.4.300.0030.00316.72
7.4.290.0030.00316.71
7.4.280.0000.00816.73
7.4.270.0040.00416.84
7.4.260.0030.00316.89
7.4.250.0000.00716.61
7.4.240.0040.00416.79
7.4.230.0000.00716.56
7.4.220.0150.01216.88
7.4.210.0080.00616.84
7.4.200.0040.00416.74
7.4.190.0070.00016.90
7.4.160.0150.00316.57
7.4.150.0070.01317.40
7.4.140.0070.01317.86
7.4.130.0140.00716.82
7.4.120.0090.00816.72
7.4.110.0080.01116.68
7.4.100.0130.01016.71
7.4.90.0200.00416.86
7.4.80.0090.00916.80
7.4.70.0140.00716.92
7.4.60.0030.01316.70
7.4.50.0000.00516.58
7.4.40.0120.00622.77
7.4.30.0110.00716.73
7.4.10.0070.01117.94
7.4.00.0090.01016.01
7.3.330.0000.00513.39
7.3.320.0050.00013.30
7.3.310.0050.00216.54
7.3.300.0040.00416.52
7.3.290.0070.01016.57
7.3.280.0050.01216.54
7.3.270.0030.01517.40
7.3.260.0100.00716.73
7.3.250.0130.00316.57
7.3.240.0130.00316.58
7.3.230.0120.00316.68
7.3.210.0060.01216.71
7.3.200.0140.00919.39
7.3.190.0060.01616.56
7.3.180.0060.01016.65
7.3.170.0070.00816.48
7.3.160.0100.00716.62
7.3.130.0100.00717.94
7.3.120.0060.01115.94
7.3.110.0100.00816.46
7.3.100.0030.01416.46
7.3.90.0050.01016.63
7.3.80.0030.00816.34
7.3.70.0030.01016.46
7.3.60.0060.00816.51
7.3.50.0070.00516.31
7.3.40.0070.00816.45
7.3.30.0050.00516.49
7.3.20.0100.00417.26
7.3.10.0090.00617.04
7.3.00.0050.00616.97
7.2.330.0130.00416.64
7.2.320.0030.01416.52
7.2.310.0000.01716.92
7.2.300.0140.00316.89
7.2.290.0100.00616.70
7.2.260.0150.00617.94
7.2.250.0080.00816.62
7.2.240.0070.00916.61
7.2.230.0000.01316.50
7.2.220.0070.01016.50
7.2.210.0060.01016.56
7.2.200.0070.00816.48
7.2.190.0080.00616.48
7.2.180.0030.01116.55
7.2.170.0070.00516.59
7.2.160.0030.01116.53
7.2.150.0030.01017.46
7.2.140.0030.01217.39
7.2.130.0030.01017.23
7.2.120.0070.01017.22
7.2.110.0050.00617.16
7.2.100.0030.01117.21
7.2.90.0030.01017.28
7.2.80.0090.00817.31
7.2.70.0060.01017.18
7.2.60.0080.00817.14
7.2.50.0050.01017.26
7.2.40.0050.00817.33
7.2.30.0090.00417.31
7.2.20.0040.00817.17
7.2.10.0100.00517.21
7.2.00.0050.00817.76
7.1.330.0050.01016.98
7.1.320.0060.00516.93
7.1.310.0050.00416.92
7.1.300.0080.00516.82
7.1.290.0070.00816.87
7.1.280.0020.01116.97
7.1.270.0060.00816.89
7.1.260.0060.00516.88
7.1.250.0060.00816.48
7.1.240.0030.00816.75
7.1.230.0070.00516.91
7.1.220.0020.01516.96
7.1.210.0030.01016.89
7.1.200.0080.00616.46
7.1.190.0020.01116.89
7.1.180.0040.00616.87
7.1.170.0050.00916.92
7.1.160.0030.00616.86
7.1.150.0020.01116.92
7.1.140.0090.00516.99
7.1.130.0080.00716.99
7.1.120.0100.00316.96
7.1.110.0090.00516.83
7.1.100.0060.00917.31
7.1.90.0050.00616.81
7.1.80.0010.00916.81
7.1.70.0040.00816.88
7.1.60.0080.00817.69
7.1.50.0090.00616.87
7.1.40.0030.01116.83
7.1.30.0070.00716.89
7.1.20.0060.00816.85
7.1.10.0050.00716.85
7.1.00.0040.03018.79
7.0.330.0050.00916.73
7.0.320.0050.01016.74
7.0.310.0020.01416.76
7.0.300.0090.00616.64
7.0.290.0070.00716.64
7.0.280.0020.00916.73
7.0.270.0030.01116.82
7.0.260.0040.00716.60
7.0.250.0100.00316.70
7.0.240.0050.00816.78
7.0.230.0030.01216.63
7.0.220.0040.00816.65
7.0.210.0020.01216.72
7.0.200.0040.00716.89
7.0.190.0060.00316.72
7.0.180.0070.00616.61
7.0.170.0040.00916.78
7.0.160.0020.00716.77
7.0.150.0030.00916.89
7.0.140.0060.02918.47
7.0.130.0020.01016.66
7.0.120.0060.00916.86
7.0.110.0070.00516.73
7.0.100.0070.00616.75
7.0.90.0070.00716.68
7.0.80.0080.00716.77
7.0.70.0050.00716.71
7.0.60.0070.03017.78
7.0.50.0070.03017.13
7.0.40.0040.02517.21
7.0.30.0120.02417.27
7.0.20.0130.02117.19
7.0.10.0090.02717.27
7.0.00.0080.02717.27
5.6.400.0070.00516.27
5.6.390.0030.00816.18
5.6.380.0050.00816.20
5.6.370.0020.01116.13
5.6.360.0010.01216.25
5.6.350.0100.00416.18
5.6.340.0000.01316.34
5.6.330.0040.00916.24
5.6.320.0040.00816.15
5.6.310.0060.00616.14
5.6.300.0060.00816.12
5.6.290.0020.01216.11
5.6.280.0070.02717.80
5.6.270.0080.00716.18
5.6.260.0080.00716.21
5.6.250.0080.00516.22
5.6.240.0080.00516.24
5.6.230.0030.01316.13
5.6.220.0030.01016.20
5.6.210.0080.01417.74
5.6.200.0030.03016.89
5.6.190.0040.02117.51
5.6.180.0050.02117.81
5.6.170.0170.01517.70
5.6.160.0070.02617.65
5.6.150.0050.02116.81
5.6.140.0060.03116.86
5.6.130.0060.02916.90
5.6.120.0060.02617.81
5.6.110.0100.03117.81
5.6.100.0030.02717.78
5.6.90.0140.02717.81
5.6.80.0090.02317.62
5.6.70.0060.00916.26
5.6.60.0020.01416.02
5.6.50.0050.00916.10
5.6.40.0040.00616.01
5.6.30.0050.00416.28
5.6.20.0070.00315.99
5.6.10.0030.01015.99
5.6.00.0050.00816.08
5.5.380.0070.00716.15
5.5.370.0110.00516.27
5.5.360.0090.00415.99
5.5.350.0050.01317.57
5.5.340.0050.02016.89
5.5.330.0080.01717.53
5.5.320.0020.03517.58
5.5.310.0070.03017.54
5.5.300.0110.01916.86
5.5.290.0070.03216.73
5.5.280.0040.02517.69
5.5.270.0050.02217.73
5.5.260.0070.02017.59
5.5.250.0080.02017.72
5.5.240.0070.02117.59
5.5.230.0040.01216.06
5.5.220.0090.00316.10
5.5.210.0030.00815.99
5.5.200.0080.00316.08
5.5.190.0050.00515.98
5.5.180.0080.00316.04
5.5.170.0050.00816.02
5.5.160.0040.00516.14
5.5.150.0040.00616.04
5.5.140.0040.00916.18
5.5.130.0020.00616.17
5.5.120.0020.00916.09
5.5.110.0070.00716.20
5.5.100.0040.00816.05
5.5.90.0020.01115.96
5.5.80.0050.00716.07
5.5.70.0070.00516.07
5.5.60.0100.00216.05
5.5.50.0030.00616.15
5.5.40.0050.00816.13
5.5.30.0020.00916.15
5.5.20.0070.00715.99
5.5.10.0080.00615.98
5.5.00.0090.00616.07
5.4.450.0260.01916.76
5.4.440.0230.01716.72
5.4.430.0230.01516.71
5.4.420.0300.01816.66
5.4.410.0260.02116.69
5.4.400.0210.01516.66
5.4.390.0150.01616.54
5.4.380.0130.02016.45
5.4.370.0120.02416.40
5.4.360.0140.02516.40
5.4.350.0190.02916.49
5.4.340.0160.02716.47
5.4.330.0090.00415.32
5.4.320.0070.01414.43
5.4.310.0060.01814.43
5.4.300.0040.01714.43
5.4.290.0040.01914.43
5.4.280.0040.01814.40
5.4.270.0030.02214.40
5.4.260.0040.01614.40
5.4.250.0040.01614.40
5.4.240.0040.01914.40
5.4.230.0040.01914.39
5.4.220.0030.01814.39
5.4.210.0050.01714.39
5.4.200.0040.01514.39
5.4.190.0070.01814.39
5.4.180.0090.01814.39
5.4.170.0090.01814.40
5.4.160.0070.02014.40
5.4.150.0060.01914.39
5.4.140.0120.01614.29
5.4.130.0190.02614.28
5.4.120.0090.01614.27
5.4.110.0100.01514.27
5.4.100.0110.02614.27
5.4.90.0060.01814.27
5.4.80.0100.01614.27
5.4.70.0060.02014.27
5.4.60.0060.01814.27
5.4.50.0070.01814.27
5.4.40.0070.02014.26
5.4.30.0060.01914.26
5.4.20.0090.02614.27
5.4.10.0110.01414.27
5.4.00.0070.01814.09
5.3.290.0040.01714.52
5.3.280.0050.01614.50
5.3.270.0080.01914.50
5.3.260.0070.01714.50
5.3.250.0080.01914.50
5.3.240.0080.01914.50
5.3.230.0070.02114.50
5.3.220.0110.02314.49
5.3.210.0080.01914.49
5.3.200.0090.01714.49
5.3.190.0080.01614.49
5.3.180.0090.01714.49
5.3.170.0070.02014.48
5.3.160.0090.01814.48
5.3.150.0060.01914.48
5.3.140.0090.01714.48
5.3.130.0090.02014.48
5.3.120.0170.02914.48
5.3.110.0060.02114.48
5.3.100.0060.02014.31
5.3.90.0080.02814.30
5.3.80.0080.01714.30
5.3.70.0070.01814.30
5.3.60.0070.02014.29
5.3.50.0050.02014.28
5.3.40.0040.02314.28
5.3.30.0100.01714.27
5.3.20.0050.02114.19
5.3.10.0100.02414.18
5.3.00.0100.01714.18
5.2.170.0160.0349.38
5.2.160.0110.0359.38
5.2.150.0120.0369.38
5.2.140.0160.0639.38
5.2.130.0110.0379.34
5.2.120.0120.0359.34
5.2.110.0220.0559.34
5.2.100.0090.0379.34
5.2.90.0130.0339.34
5.2.80.0110.0359.33
5.2.70.0130.0339.33
5.2.60.0150.0309.29
5.2.50.0100.0369.26
5.2.40.0100.0369.23
5.2.30.0130.0339.21
5.2.20.0150.0339.25
5.2.10.0150.0319.17
5.2.00.0410.0189.03
5.1.60.0130.0268.33
5.1.50.0090.0328.32
5.1.40.0140.0258.31
5.1.30.0080.0368.66
5.1.20.0130.0298.68
5.1.10.0120.0318.40
5.1.00.0090.0338.39
5.0.50.0080.0266.88
5.0.40.0080.0246.74
5.0.30.0120.0326.56
5.0.20.0100.0216.53
5.0.10.0070.0246.51
5.0.00.0100.0336.50
4.4.90.0090.0174.78
4.4.80.0080.0174.76
4.4.70.0060.0204.75
4.4.60.0070.0194.75
4.4.50.0070.0184.77
4.4.40.0090.0274.71
4.4.30.0070.0194.76
4.4.20.0050.0214.84
4.4.10.0080.0194.85
4.4.00.0050.0304.76
4.3.110.0030.0214.67
4.3.100.0040.0204.66
4.3.90.0080.0164.63
4.3.80.0060.0284.60
4.3.70.0090.0174.63
4.3.60.0060.0194.63
4.3.50.0090.0164.63
4.3.40.0130.0534.57
4.3.30.0030.0203.37
4.3.20.0050.0183.36
4.3.10.0030.0193.26
4.3.00.0030.01715.48

preferences:
49.31 ms | 401 KiB | 5 Q