3v4l.org

run code in 300+ PHP versions simultaneously
<?php //say("hello"); $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; //say(" xml complete"); $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; //say("printing result"); //_log("himanshu".$result); echo $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.0000.01818.68
8.3.50.0130.00722.23
8.3.40.0110.00419.01
8.3.30.0100.00618.96
8.3.20.0080.00018.94
8.3.10.0030.00621.18
8.3.00.0040.00422.16
8.2.180.0120.00318.79
8.2.170.0000.01522.96
8.2.160.0100.00320.65
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0040.00421.38
8.2.110.0030.00620.64
8.2.100.0110.00018.09
8.2.90.0030.00519.32
8.2.80.0000.00817.97
8.2.70.0080.00017.61
8.2.60.0040.00418.05
8.2.50.0080.00318.07
8.2.40.0030.00518.34
8.2.30.0000.00719.66
8.2.20.0080.00017.78
8.2.10.0050.00318.11
8.2.00.0000.00717.95
8.1.280.0160.00625.92
8.1.270.0060.00323.99
8.1.260.0100.01026.35
8.1.250.0040.00428.09
8.1.240.0060.01622.78
8.1.230.0080.00321.09
8.1.220.0000.00818.77
8.1.210.0080.00019.23
8.1.200.0060.00317.48
8.1.190.0040.00417.77
8.1.180.0060.00318.10
8.1.170.0040.00418.90
8.1.160.0000.00719.01
8.1.150.0050.00318.80
8.1.140.0040.00417.68
8.1.130.0000.00717.95
8.1.120.0000.00717.59
8.1.110.0040.00417.70
8.1.100.0080.00017.61
8.1.90.0040.00417.61
8.1.80.0050.00317.62
8.1.70.0000.00717.60
8.1.60.0080.00017.68
8.1.50.0000.00817.58
8.1.40.0000.00817.63
8.1.30.0040.00417.89
8.1.20.0080.00017.78
8.1.10.0080.00017.86
8.1.00.0040.00417.63
8.0.300.0060.00320.07
8.0.290.0040.00417.30
8.0.280.0020.00518.66
8.0.270.0000.00717.44
8.0.260.0030.00317.09
8.0.250.0040.00417.34
8.0.240.0070.00017.16
8.0.230.0070.00017.29
8.0.220.0030.00317.23
8.0.210.0040.00417.09
8.0.200.0070.00017.26
8.0.190.0040.00417.28
8.0.180.0040.00417.24
8.0.170.0080.00017.09
8.0.160.0000.00717.08
8.0.150.0000.00717.17
8.0.140.0000.00717.18
8.0.130.0000.00613.56
8.0.120.0050.00317.22
8.0.110.0050.00217.11
8.0.100.0000.00817.24
8.0.90.0070.00017.01
8.0.80.0150.00617.11
8.0.70.0050.00217.02
8.0.60.0020.00517.19
8.0.50.0000.00817.24
8.0.30.0090.00917.26
8.0.20.0070.01217.40
8.0.10.0000.00717.37
8.0.00.0110.00717.00
7.4.330.0000.00617.05
7.4.320.0000.00716.83
7.4.300.0000.00816.69
7.4.290.0030.00316.78
7.4.280.0000.00816.92
7.4.270.0000.00716.73
7.4.260.0000.00513.61
7.4.250.0090.00016.66
7.4.240.0000.00716.84
7.4.230.0000.00716.74
7.4.220.0140.00916.76
7.4.210.0080.00916.83
7.4.200.0050.00216.75
7.4.190.0000.00816.79
7.4.160.0130.00616.66
7.4.150.0110.00717.40
7.4.140.0100.00817.86
7.4.130.0070.01116.71
7.4.120.0050.01216.83
7.4.110.0180.00016.73
7.4.100.0160.00316.64
7.4.90.0170.00616.96
7.4.80.0070.01019.39
7.4.70.0070.01416.68
7.4.60.0090.00616.76
7.4.50.0030.00616.71
7.4.40.0070.01022.77
7.4.30.0120.00616.55
7.4.00.0030.01315.04
7.3.330.0050.00013.20
7.3.320.0030.00313.38
7.3.310.0000.00716.57
7.3.300.0040.00216.46
7.3.290.0140.00716.39
7.3.280.0080.00916.52
7.3.270.0090.00917.40
7.3.260.0150.00718.24
7.3.250.0070.01216.54
7.3.240.0100.00716.84
7.3.230.0060.01116.65
7.3.210.0100.00616.66
7.3.200.0080.01419.39
7.3.190.0130.00616.53
7.3.180.0110.00716.64
7.3.170.0000.01716.73
7.3.160.0100.00716.53
7.3.120.0070.01014.96
7.2.330.0120.00616.63
7.2.320.0120.00616.98
7.2.310.0080.01116.95
7.2.300.0100.00616.85
7.2.290.0170.00016.76
7.1.70.0040.00417.10
7.1.60.0100.00619.17
7.1.50.0170.00716.70
7.1.00.0030.03722.56
7.0.200.0040.00416.92
7.0.140.0030.07322.23
7.0.70.0000.07021.79
7.0.60.0030.05021.68
7.0.50.0100.07022.20
7.0.40.0000.08020.07
7.0.30.0030.04720.07
7.0.20.0070.08020.21
7.0.10.0000.04320.27
7.0.00.0000.09020.15
5.6.280.0000.07721.17
5.6.220.0000.05020.73
5.6.210.0030.08020.65
5.6.200.0100.06321.14
5.6.190.0030.07021.13
5.6.180.0030.08021.06
5.6.170.0030.06721.16
5.6.160.0070.05021.07
5.6.150.0030.06021.02
5.6.140.0000.06721.29
5.6.130.0070.07021.14
5.6.120.0030.08721.02
5.6.110.0030.07721.09
5.6.100.0000.08721.01
5.6.90.0270.06321.05
5.6.80.0000.08320.63
5.6.70.0030.08020.45
5.6.60.0070.07020.51
5.6.50.0100.07020.38
5.6.40.0100.07320.45
5.6.30.0030.07020.38
5.6.20.0070.08020.37
5.6.10.0000.08320.36
5.6.00.0030.06320.41
5.5.360.0000.04720.40
5.5.350.0030.05020.41
5.5.340.0030.04320.79
5.5.330.0000.04721.03
5.5.320.0000.06020.77
5.5.310.0000.08720.99
5.5.300.0030.04320.89
5.5.290.0030.08021.03
5.5.280.0030.09020.85
5.5.270.0030.08020.93
5.5.260.0030.07321.01
5.5.250.0030.08020.87
5.5.240.0030.08020.38
5.5.230.0030.07720.29
5.5.220.0070.05720.36
5.5.210.0030.07720.38
5.5.200.0100.07320.20
5.5.190.0030.07720.17
5.5.180.0000.08320.39
5.5.160.0130.07020.36
5.5.150.0000.08020.34
5.5.140.0100.06720.20
5.5.130.0130.05020.29
5.5.120.0070.07720.40
5.5.110.0030.07320.23
5.5.100.0100.07320.23
5.5.90.0100.07020.29
5.5.80.0030.07020.12
5.5.70.0000.05020.28
5.5.60.0100.06320.27
5.5.50.0100.06720.02
5.5.40.0030.04020.02
5.5.30.0100.08020.26
5.5.20.0100.05320.25
5.5.10.0070.07020.09
5.5.00.0030.07720.21
5.4.450.0000.06019.50
5.4.440.0100.06719.53
5.4.430.0030.07719.36
5.4.420.0070.07319.49
5.4.410.0070.05019.41
5.4.400.0030.07018.89
5.4.390.0030.08319.20
5.4.380.0030.04719.21
5.4.370.0100.06018.86
5.4.360.0000.08019.18
5.4.350.0030.06319.21
5.4.340.0070.07319.18
5.4.320.0100.05719.37
5.4.310.0030.07719.20
5.4.300.0070.07319.37
5.4.290.0000.07719.21
5.4.280.0070.05319.38
5.4.270.0030.06319.20
5.4.260.0000.07019.20
5.4.250.0070.07319.04
5.4.240.0030.04718.88
5.4.230.0070.07719.16
5.4.220.0030.06319.04
5.4.210.0070.07319.21
5.4.200.0000.04719.19
5.4.190.0030.03719.19
5.4.180.0030.07019.21
5.4.170.0030.07019.04
5.4.160.0000.08319.00
5.4.150.0100.07019.15
5.4.140.0030.07316.46
5.4.130.0000.06316.35
5.4.120.0000.06316.45
5.4.110.0070.04016.34
5.4.100.0030.04316.54
5.4.90.0100.02716.34
5.4.80.0000.03716.33
5.4.70.0030.04016.38
5.4.60.0000.08716.41
5.4.50.0000.05016.37
5.4.40.0030.04316.35
5.4.30.0030.05316.48
5.4.20.0100.06316.64
5.4.10.0030.05716.41
5.4.00.0000.07715.80
5.3.290.0030.07014.67
5.3.280.0030.07714.67
5.3.270.0070.07714.69
5.3.260.0070.07014.67
5.3.250.0070.07014.73
5.3.240.0000.08014.71
5.3.230.0070.07714.67
5.3.220.0000.07314.70
5.3.210.0070.07014.67
5.3.200.0070.03314.67
5.3.190.0070.03314.67
5.3.180.0070.03314.69
5.3.170.0030.03314.67
5.3.160.0000.06314.67
5.3.150.0030.06014.67
5.3.140.0000.03714.67
5.3.130.0030.07714.67
5.3.120.0070.06014.67
5.3.110.0030.06714.67
5.3.100.0030.07314.67
5.3.90.0070.05714.67
5.3.80.0000.05314.67
5.3.70.0000.08014.67
5.3.60.0070.06714.67
5.3.50.0070.06714.67
5.3.40.0000.05014.67
5.3.30.0030.06714.67
5.3.20.0030.06014.67
5.3.10.0000.06314.67
5.3.00.0000.04014.67
5.2.170.0030.04014.67
5.2.160.0030.05014.67
5.2.150.0030.06014.67
5.2.140.0000.06014.67
5.2.130.0000.04014.67
5.2.120.0030.04714.67
5.2.110.0030.04314.67
5.2.100.0000.03014.67
5.2.90.0070.05314.67
5.2.80.0030.05714.67
5.2.70.0030.04714.67
5.2.60.0030.03714.67
5.2.50.0000.04014.67
5.2.40.0000.04314.67
5.2.30.0070.06014.67
5.2.20.0070.02314.67
5.2.10.0000.04014.67
5.2.00.0070.03014.67
5.1.60.0000.03314.67
5.1.50.0030.04314.67
5.1.40.0000.05014.67
5.1.30.0000.05314.67
5.1.20.0000.04714.67
5.1.10.0030.03014.67
5.1.00.0030.04014.67
5.0.50.0030.02314.67
5.0.40.0030.04314.67
5.0.30.0070.05714.67
5.0.20.0000.03714.67
5.0.10.0000.04714.67
5.0.00.0000.05014.67
4.4.90.0030.02714.67
4.4.80.0070.03014.67
4.4.70.0000.01714.67
4.4.60.0000.01714.67
4.4.50.0070.02314.67
4.4.40.0000.04314.67
4.4.30.0070.03314.67
4.4.20.0000.03014.67
4.4.10.0000.02014.67
4.4.00.0000.03714.67
4.3.110.0000.03714.67
4.3.100.0000.03014.67
4.3.90.0000.03314.67
4.3.80.0000.03714.67
4.3.70.0000.02714.67
4.3.60.0000.03314.67
4.3.50.0030.02714.67
4.3.40.0030.05314.67
4.3.30.0000.02714.67
4.3.20.0000.03014.67
4.3.10.0030.03014.67
4.3.00.0030.01714.67

preferences:
43.89 ms | 401 KiB | 5 Q