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); ?>

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.40.0110.00418.97
8.3.30.0070.00719.00
8.3.20.0070.00720.36
8.3.10.0050.00323.78
8.3.00.0080.00319.38
8.2.170.0040.01222.96
8.2.160.0140.00020.71
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0000.00826.16
8.2.120.0000.00722.47
8.2.110.0080.00022.48
8.2.100.0040.00718.16
8.2.90.0050.00319.33
8.2.80.0000.00818.18
8.2.70.0100.00017.50
8.2.60.0030.00518.18
8.2.50.0030.00518.07
8.2.40.0080.00018.22
8.2.30.0040.00418.43
8.2.20.0000.00818.01
8.2.10.0080.00017.87
8.2.00.0040.00417.94
8.1.270.0060.00324.09
8.1.260.0070.00326.35
8.1.250.0070.00028.09
8.1.240.0060.00324.10
8.1.230.0040.00819.34
8.1.220.0000.00817.88
8.1.210.0090.00018.77
8.1.200.0060.00317.47
8.1.190.0090.00017.78
8.1.180.0000.00918.10
8.1.170.0040.00418.76
8.1.160.0030.00622.21
8.1.150.0040.00418.88
8.1.140.0040.00417.69
8.1.130.0070.00018.11
8.1.120.0070.00017.74
8.1.110.0070.00317.60
8.1.100.0070.00017.70
8.1.90.0000.00717.65
8.1.80.0000.00717.58
8.1.70.0050.00317.73
8.1.60.0070.00317.73
8.1.50.0020.00517.72
8.1.40.0060.00317.65
8.1.30.0040.00417.73
8.1.20.0070.00017.93
8.1.10.0030.00617.74
8.1.00.0050.00217.76
8.0.300.0070.00018.77
8.0.290.0070.00017.43
8.0.280.0040.00418.67
8.0.270.0050.00317.38
8.0.260.0070.00017.12
8.0.250.0040.00417.13
8.0.240.0030.00317.31
8.0.230.0000.00717.16
8.0.220.0030.00317.09
8.0.210.0000.00717.05
8.0.200.0000.00817.28
8.0.190.0040.00417.25
8.0.180.0040.00417.21
8.0.170.0040.00417.28
8.0.160.0070.00017.06
8.0.150.0030.00317.18
8.0.140.0020.00517.24
8.0.130.0050.00513.57
8.0.120.0070.00017.22
8.0.110.0050.00217.25
8.0.100.0040.00417.04
8.0.90.0000.00716.98
8.0.80.0130.00317.14
8.0.70.0040.00417.07
8.0.60.0040.00417.00
8.0.50.0000.00717.10
8.0.30.0120.00617.14
8.0.20.0080.01117.40
8.0.10.0080.00017.36
8.0.00.0060.01717.23
7.4.330.0000.00615.38
7.4.320.0030.00316.61
7.4.300.0060.00016.81
7.4.290.0000.00816.70
7.4.280.0000.00716.85
7.4.270.0020.00416.82
7.4.260.0000.00816.71
7.4.250.0040.00416.61
7.4.240.0020.00516.78
7.4.230.0030.00316.82
7.4.220.0090.00916.79
7.4.210.0090.00816.85
7.4.200.0000.00716.68
7.4.190.0040.00416.66
7.4.160.0060.00916.69
7.4.150.0080.01217.40
7.4.140.0160.00217.86
7.4.130.0110.00616.84
7.4.120.0080.00916.82
7.4.110.0070.01016.86
7.4.100.0140.00416.79
7.4.90.0110.00716.64
7.4.80.0090.00919.39
7.4.70.0110.00516.82
7.4.60.0080.00816.55
7.4.50.0000.00616.44
7.4.40.0110.00422.77
7.4.30.0150.00316.88
7.4.00.0040.00815.09
7.3.330.0050.00013.36
7.3.320.0050.00013.32
7.3.310.0070.00016.36
7.3.300.0040.00416.27
7.3.290.0070.00716.46
7.3.280.0070.01116.39
7.3.270.0060.01817.40
7.3.260.0090.00916.73
7.3.250.0100.01116.62
7.3.240.0110.01116.47
7.3.230.0120.00916.47
7.3.210.0160.00616.52
7.3.200.0120.00919.39
7.3.190.0160.00616.48
7.3.180.0060.00916.53
7.3.170.0040.01116.55
7.3.160.0100.00616.55
7.3.120.0060.00614.92
7.3.10.0080.00816.21
7.3.00.0120.00616.21
7.2.330.0120.00616.87
7.2.320.0000.01716.66
7.2.310.0110.00716.77
7.2.300.0130.00316.55
7.2.290.0070.01716.92
7.2.130.0120.00616.70
7.2.120.0060.01216.37
7.2.110.0120.00616.77
7.2.100.0150.00416.11
7.2.90.0080.01216.43
7.2.80.0150.00616.45
7.2.70.0070.01016.70
7.2.60.0130.00616.64
7.2.50.0110.01116.85
7.2.40.0170.00716.70
7.2.30.0110.00316.80
7.2.20.0140.01416.24
7.2.10.0140.00816.27
7.2.00.0150.00416.76
7.1.250.0160.01015.54
7.1.70.0100.00017.11
7.1.60.0200.00319.31
7.1.50.0180.02134.73
7.1.00.0030.07722.59
7.0.200.0040.00416.62
7.0.140.0070.07022.10
7.0.60.0030.08020.05
7.0.50.0070.05317.98
7.0.40.0100.08020.42
7.0.30.0330.06320.30
7.0.20.0230.04320.41
7.0.10.0270.05720.28
7.0.00.0070.05720.41
5.6.280.0100.06721.07
5.6.210.0100.06720.65
5.6.200.0100.08718.31
5.6.190.0070.07720.52
5.6.180.0000.07020.48
5.6.170.0270.07320.69
5.6.160.0070.08020.57
5.6.150.0070.04318.30
5.6.140.0170.07018.27
5.6.130.0070.07718.27
5.6.120.0070.06321.24
5.6.110.0100.07721.05
5.6.100.0030.06721.20
5.6.90.0100.06321.16
5.6.80.0070.05320.63
5.6.70.0270.08020.49
5.5.350.0070.08020.58
5.5.340.0070.05318.11
5.5.330.0030.06020.61
5.5.320.0100.07720.38
5.5.310.0270.04020.42
5.5.300.0070.05318.08
5.5.290.0070.03718.07
5.5.280.0030.05020.88
5.5.270.0000.04720.82
5.5.260.0170.07320.92
5.5.250.0100.07020.80
5.5.240.0070.05320.32
5.4.450.0070.07319.34
5.4.440.0000.07719.55
5.4.430.0000.07019.48
5.4.420.0000.04319.40
5.4.410.0030.05719.51
5.4.400.0030.06019.15
5.4.390.0000.08318.99
5.4.380.0030.08019.15
5.4.370.0030.07019.34
5.4.360.0030.07719.31
5.4.350.0000.07319.03
5.4.340.0070.07719.15
5.4.320.0000.05719.33
5.4.310.0000.05019.08
5.4.300.0030.05018.96
5.4.290.0030.07319.00
5.4.280.0000.08319.02
5.4.270.0030.07019.28
5.4.260.0000.06018.97
5.4.250.0030.05019.00
5.4.240.0030.05319.16
5.4.230.0030.06319.16
5.4.220.0000.05319.27
5.4.210.0070.04019.30
5.4.200.0030.06319.16
5.4.190.0000.07019.14
5.4.180.0000.05019.27
5.4.170.0070.07318.99
5.4.160.0030.07719.15
5.4.150.0000.08019.05
5.4.140.0000.04716.43
5.4.130.0000.05016.43
5.4.120.0070.06016.34
5.4.110.0070.06316.34
5.4.100.0030.05716.61
5.4.90.0000.04716.44
5.4.80.0030.05316.60
5.4.70.0070.04716.55
5.4.60.0070.04716.24
5.4.50.0000.06316.24
5.4.40.0100.06316.59
5.4.30.0030.07016.32
5.4.20.0030.03316.59
5.4.10.0070.03016.42
5.4.00.0000.03715.92
5.3.290.0000.05014.71
5.3.280.0070.04314.64
5.3.270.0070.04314.62
5.3.260.0100.07014.61
5.3.250.0070.06014.55
5.3.240.0070.06314.60
5.3.230.0030.06314.71
5.3.220.0070.07014.57
5.3.210.0030.06714.69
5.3.200.0070.04714.56
5.3.190.0030.04314.69
5.3.180.0000.06714.75
5.3.170.0000.05314.52
5.3.160.0030.04314.70
5.3.150.0070.07314.56
5.3.140.0000.07714.55
5.3.130.0000.04714.69
5.3.120.0030.04014.48
5.3.110.0100.03014.55
5.3.100.0100.03014.03
5.3.90.0000.04314.17
5.3.80.0030.03314.00
5.3.70.0030.03314.00
5.3.60.0000.04014.05
5.3.50.0000.03714.08
5.3.40.0000.03714.08
5.3.30.0000.03713.90
5.3.20.0030.07013.68
5.3.10.0030.03013.70
5.3.00.0070.02713.67
5.2.170.0030.03012.27
5.2.160.0000.03312.27
5.2.150.0030.02712.27
5.2.140.0000.03012.27
5.2.130.0000.02712.27
5.2.120.0000.02712.27
5.2.110.0000.03012.27
5.2.100.0000.02712.27
5.2.90.0000.03712.27
5.2.80.0000.03012.27
5.2.70.0000.02712.27
5.2.60.0000.02712.27
5.2.50.0000.03312.27
5.2.40.0000.03012.27
5.2.30.0000.03012.27
5.2.20.0130.02012.27
5.2.10.0000.02712.27
5.2.00.0000.02712.27
5.1.60.0000.02712.27
5.1.50.0070.03712.27
5.1.40.0030.02012.27
5.1.30.0030.03312.27
5.1.20.0000.02712.27
5.1.10.0030.02312.27
5.1.00.0030.02312.27
5.0.50.0030.01712.27
5.0.40.0030.02012.27
5.0.30.0000.03312.27
5.0.20.0000.02012.27
5.0.10.0030.01712.27
5.0.00.0000.03012.27
4.4.90.0000.01712.27
4.4.80.0000.01312.27
4.4.70.0000.01312.27
4.4.60.0030.01312.27
4.4.50.0000.01312.27
4.4.40.0000.02312.27
4.4.30.0000.01712.27
4.4.20.0000.01312.27
4.4.10.0000.01312.27
4.4.00.0000.02312.27
4.3.110.0000.01712.27
4.3.100.0000.01312.27
4.3.90.0000.01312.27
4.3.80.0030.02012.27
4.3.70.0000.01712.27
4.3.60.0070.01012.27
4.3.50.0000.01712.27
4.3.40.0000.03312.27
4.3.30.0000.01712.27
4.3.20.0000.01712.27
4.3.10.0000.01712.27
4.3.00.0000.01312.27

preferences:
38.7 ms | 400 KiB | 5 Q