3v4l.org

run code in 300+ PHP versions simultaneously
<?php //say("hello"); //try //{ $xml = <<<XML <?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> XML; //say(" xml complete"); $sxe = new SimpleXMlElement($xml); // $sxe->registerXPathNamespace('soap', 'http://schemas.xmlsoap.org/soap/envelope/'); //$path = $sxe->xpath('//soap:Body'); //$path = $path[0] ; //foreach($path->getlocationsresponse->getlocationsresult->SearchLocations->children() as $table) //{ // _log("ajay ". $table->sessionId . "<br>"); //} //} //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.60.0060.00918.39
8.3.50.0100.01222.05
8.3.40.0120.00618.96
8.3.30.0090.00618.75
8.3.20.0080.00018.77
8.3.10.0040.00421.08
8.3.00.0020.00522.02
8.2.180.0120.00917.00
8.2.170.0090.00922.96
8.2.160.0110.00318.98
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00721.25
8.2.110.0030.00620.72
8.2.100.0090.00318.03
8.2.90.0050.00319.15
8.2.80.0030.00618.05
8.2.70.0040.00417.63
8.2.60.0080.00018.16
8.2.50.0000.00818.07
8.2.40.0050.00318.41
8.2.30.0060.00321.34
8.2.20.0050.00317.71
8.2.10.0040.00418.03
8.2.00.0100.00217.86
8.1.280.0030.01025.92
8.1.270.0000.00823.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0110.00022.71
8.1.230.0080.00321.09
8.1.220.0040.00418.77
8.1.210.0040.00418.98
8.1.200.0060.00317.35
8.1.190.0030.00517.65
8.1.180.0000.00818.10
8.1.170.0000.00818.68
8.1.160.0000.00719.06
8.1.150.0060.00618.69
8.1.140.0040.00417.55
8.1.130.0000.00717.96
8.1.120.0000.00717.74
8.1.110.0000.01117.54
8.1.100.0000.00817.63
8.1.90.0040.00417.69
8.1.80.0000.00817.50
8.1.70.0000.00717.55
8.1.60.0030.00617.76
8.1.50.0070.00017.65
8.1.40.0000.00917.60
8.1.30.0050.00217.88
8.1.20.0000.00817.75
8.1.10.0050.00317.71
8.1.00.0060.00317.63
8.0.300.0070.00020.10
8.0.290.0070.00017.30
8.0.280.0070.00018.61
8.0.270.0080.00017.43
8.0.260.0070.00016.99
8.0.250.0040.00417.06
8.0.240.0050.00517.13
8.0.230.0030.00317.27
8.0.220.0000.00717.13
8.0.210.0020.00717.02
8.0.200.0030.00317.21
8.0.190.0040.00417.20
8.0.180.0080.00017.16
8.0.170.0000.00817.04
8.0.160.0070.00017.25
8.0.150.0000.00817.04
8.0.140.0000.01016.99
8.0.130.0050.00213.58
8.0.120.0060.00316.97
8.0.110.0030.00517.03
8.0.100.0030.00517.13
8.0.90.0030.00317.06
8.0.80.0090.00617.13
8.0.70.0070.00017.03
8.0.60.0070.00017.06
8.0.50.0040.00416.91
8.0.30.0090.01217.15
8.0.20.0150.00817.40
8.0.10.0000.00717.23
8.0.00.0050.01216.96
7.4.330.0020.00217.00
7.4.320.0070.00016.73
7.4.300.0040.00416.71
7.4.290.0030.00316.74
7.4.280.0030.00516.66
7.4.270.0000.00716.84
7.4.260.0000.00513.42
7.4.250.0040.00416.73
7.4.240.0040.00416.79
7.4.230.0000.00716.48
7.4.220.0100.00916.54
7.4.210.0080.00916.81
7.4.200.0080.00016.54
7.4.190.0040.00416.75
7.4.160.0060.00916.71
7.4.150.0000.01617.40
7.4.140.0110.00717.86
7.4.130.0150.00316.70
7.4.120.0100.00616.68
7.4.110.0100.00716.64
7.4.100.0140.01016.78
7.4.90.0070.01116.63
7.4.80.0100.00619.39
7.4.70.0030.01316.54
7.4.60.0130.00616.72
7.4.50.0000.00716.47
7.4.40.0090.00922.77
7.4.30.0130.00316.61
7.3.330.0060.00013.32
7.3.320.0100.00513.30
7.3.310.0000.00816.47
7.3.300.0000.00716.44
7.3.290.0060.01216.44
7.3.280.0050.00916.45
7.3.270.0140.00317.40
7.3.260.0090.01018.24
7.3.250.0150.00816.57
7.3.240.0060.01116.48
7.3.230.0100.00616.58
7.3.210.0180.00016.63
7.3.200.0110.00719.39
7.3.190.0040.01816.57
7.3.180.0100.00616.38
7.3.170.0130.00616.53
7.3.160.0110.01116.60
7.2.330.0090.00816.61
7.2.320.0130.00316.43
7.2.310.0090.00916.23
7.2.300.0070.01016.44
7.2.290.0080.00816.54
5.4.190.0150.04912.35
5.4.180.0080.04212.35
5.4.170.0100.04212.36
5.4.160.0090.04012.36
5.4.150.0130.04612.35
5.4.140.0090.04112.04
5.4.130.0070.04212.03
5.4.120.0100.04311.99
5.4.110.0120.04211.98
5.4.100.0100.04411.99
5.4.90.0120.05411.98
5.4.80.0140.04011.99
5.4.70.0110.04411.98
5.4.60.0100.04111.98
5.4.50.0100.03911.98
5.4.40.0100.04411.97
5.4.30.0090.04311.96
5.4.20.0110.04411.96
5.4.10.0090.04311.97
5.4.00.0200.05611.46
5.3.270.0100.04612.72
5.3.260.0090.04412.72
5.3.250.0100.04212.72
5.3.240.0080.04412.72
5.3.230.0090.04512.71
5.3.220.0090.04312.68
5.3.210.0110.04412.68
5.3.200.0110.04412.68
5.3.190.0100.04512.67
5.3.180.0150.06112.67
5.3.170.0120.04212.67
5.3.160.0130.04112.67
5.3.150.0090.04612.67
5.3.140.0140.05912.66
5.3.130.0080.04412.66
5.3.120.0100.04312.66
5.3.110.0110.04112.66
5.3.100.0130.05112.12
5.3.90.0110.04612.08
5.3.80.0120.04312.08
5.3.70.0120.04312.07
5.3.60.0110.04412.06
5.3.50.0110.04112.00
5.3.40.0140.04912.00
5.3.30.0090.04311.96
5.3.20.0100.04011.73
5.3.10.0110.03711.70
5.3.00.0120.03711.68

preferences:
45.63 ms | 401 KiB | 5 Q