3v4l.org

run code in 300+ PHP versions simultaneously
<?php say(" hello"); try { $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_f6DVa2pDC6g57w5IEfidAu3ZRsJFBN5Bwb6DVhF18zKFiVVyT</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 Reddy</userFullName><userId>00550000001Dd4uAAC</userId><userLanguage>en_US</userLanguage><userLocale>en_US</userLocale><userName>ramana@3clogic.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); $sxe->registerXPathNamespace('env', 'http://schemas.xmlsoap.org/soap/envelope/'); $sxe->registerXPathNamespace('def', 'urn:enterprise.soap.sforce.com'); $result = $sxe->xpath('/env:Envelope/env:Body/def:loginResponse/def:result/def:serverUrl'); _log("himanshu".$result); } catch(Exception $e) { _log("errorfound".$e->getMessage()); } ?>

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.70.0110.01116.63
8.3.60.0120.00616.75
8.3.50.0120.00817.39
8.3.40.0030.01218.59
8.3.30.0070.00718.61
8.3.20.0080.00018.52
8.3.10.0060.00320.63
8.3.00.0060.00319.25
8.2.180.0110.00316.88
8.2.170.0120.00322.96
8.2.160.0160.00318.88
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0050.00220.79
8.2.110.0030.00720.96
8.2.100.0120.00017.78
8.2.90.0070.00319.12
8.2.80.0000.00719.45
8.2.70.0000.00917.63
8.2.60.0000.00817.91
8.2.50.0060.00318.07
8.2.40.0040.00418.09
8.2.30.0040.00417.87
8.2.20.0080.00417.70
8.2.10.0090.00017.59
8.2.00.0120.00017.61
8.1.280.0070.00725.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0040.00422.48
8.1.230.0070.00420.93
8.1.220.0000.00917.74
8.1.210.0060.00318.77
8.1.200.0000.01117.11
8.1.190.0020.00517.41
8.1.180.0080.00018.10
8.1.170.0040.00418.75
8.1.160.0050.00218.69
8.1.150.0050.00318.49
8.1.140.0040.00417.34
8.1.130.0040.00417.36
8.1.120.0050.00417.30
8.1.110.0040.00417.33
8.1.100.0000.00817.32
8.1.90.0000.00717.34
8.1.80.0000.00717.39
8.1.70.0000.00717.37
8.1.60.0070.00317.35
8.1.50.0000.00717.31
8.1.40.0040.00417.49
8.1.30.0000.00817.54
8.1.20.0000.00817.63
8.1.10.0040.00417.55
8.1.00.0050.00217.45
8.0.300.0040.00419.91
8.0.290.0000.00716.63
8.0.280.0000.00718.45
8.0.270.0030.00316.82
8.0.260.0000.00716.89
8.0.250.0030.00317.04
8.0.240.0000.00816.96
8.0.230.0040.00416.99
8.0.220.0030.00316.83
8.0.210.0030.00316.91
8.0.200.0000.00916.87
8.0.190.0040.00416.98
8.0.180.0040.00416.86
8.0.170.0030.00516.80
8.0.160.0000.00716.94
8.0.150.0040.00816.86
8.0.140.0040.00416.91
8.0.130.0000.00613.34
8.0.120.0070.00016.86
8.0.110.0040.00416.85
8.0.100.0050.00216.79
8.0.90.0030.00516.83
8.0.80.0070.00716.92
8.0.70.0040.00416.82
8.0.60.0000.00716.71
8.0.50.0040.00416.70
8.0.30.0100.01017.09
8.0.20.0090.00917.11
8.0.10.0000.00717.09
8.0.00.0120.00916.62
7.4.330.0000.00512.88
7.4.320.0030.00316.48
7.4.300.0000.00716.48
7.4.290.0000.00716.48
7.4.280.0030.00716.41
7.4.270.0080.00016.54
7.4.260.0000.00613.21
7.4.250.0080.00016.54
7.4.240.0000.00716.56
7.4.230.0030.00316.59
7.4.220.0060.01216.55
7.4.210.0030.01016.43
7.4.200.0040.00416.55
7.4.190.0040.00416.43
7.4.160.0060.00916.37
7.4.150.0140.00416.48
7.4.140.0140.01016.51
7.4.130.0030.01416.46
7.4.120.0080.00816.33
7.4.110.0090.00916.44
7.4.100.0130.00416.41
7.4.90.0140.00316.47
7.4.80.0060.01619.39
7.4.70.0180.00016.35
7.4.60.0070.01016.43
7.4.50.0060.00016.47
7.4.40.0030.01016.55
7.4.30.0140.00316.51
7.3.330.0000.00613.00
7.3.320.0000.00513.02
7.3.310.0070.00016.39
7.3.300.0000.00616.24
7.3.290.0090.00816.26
7.3.280.0110.01116.28
7.3.270.0110.00716.18
7.3.260.0060.01216.35
7.3.250.0130.00916.28
7.3.240.0080.01116.37
7.3.230.0110.00716.25
7.3.210.0070.01016.43
7.3.200.0150.00016.42
7.3.190.0120.00616.52
7.3.180.0060.00916.38
7.3.170.0130.00316.32
7.3.160.0100.00716.24
7.2.330.0060.01116.12
7.2.320.0070.01016.46
7.2.310.0150.00316.30
7.2.300.0060.01116.30
7.2.290.0170.00016.49
5.5.30.0000.06317.19
5.5.20.0100.07717.13
5.5.10.0070.07017.16
5.5.00.0070.08017.20
5.4.190.0030.05318.96
5.4.180.0270.04018.97
5.4.170.0000.05019.00
5.4.160.0100.06019.18
5.4.150.0030.08319.05
5.4.140.0000.08316.18
5.4.130.0130.07016.16
5.4.120.0070.05716.23
5.4.110.0030.08016.28
5.4.100.0100.04316.23
5.4.90.0100.06716.57
5.4.80.0030.06016.22
5.4.70.0100.06716.34
5.4.60.0070.03316.40
5.4.50.0030.07316.23
5.4.40.0100.07316.31
5.4.30.0070.06016.34
5.4.20.0100.03016.27
5.4.10.0070.07316.27
5.4.00.0100.05015.77
5.3.270.0070.04714.59
5.3.260.0070.07014.58
5.3.250.0070.07314.58
5.3.240.0100.07014.60
5.3.230.0030.07714.55
5.3.220.0100.05714.54
5.3.210.0000.05014.52
5.3.200.0030.05014.37
5.3.190.0030.07714.43
5.3.180.0130.05014.52
5.3.170.0000.04014.53
5.3.160.0030.06714.40
5.3.150.0070.05014.39
5.3.140.0070.08014.54
5.3.130.0130.05314.53
5.3.120.0100.04314.51
5.3.110.0100.05014.52
5.3.100.0030.05314.00
5.3.90.0030.04014.00
5.3.80.0030.07713.96
5.3.70.0070.06713.98
5.3.60.0100.05313.92
5.3.50.0070.04013.87
5.3.40.0100.07013.70
5.3.30.0030.06013.88
5.3.20.0070.07013.66
5.3.10.0070.06313.60
5.3.00.0030.04013.42

preferences:
42.99 ms | 401 KiB | 5 Q