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)
5.4.190.0040.04312.33
5.4.180.0050.03812.33
5.4.170.0050.03812.34
5.4.160.0060.03512.34
5.4.150.0050.03712.33
5.4.140.0050.04312.02
5.4.130.0060.03612.00
5.4.120.0050.03611.96
5.4.110.0050.03711.96
5.4.100.0080.03611.96
5.4.90.0090.04211.96
5.4.80.0070.04211.96
5.4.70.0060.03811.96
5.4.60.0070.03711.96
5.4.50.0050.04511.96
5.4.40.0070.03711.95
5.4.30.0070.03611.94
5.4.20.0100.03611.94
5.4.10.0060.03911.94
5.4.00.0040.04211.44
5.3.270.0070.04112.72
5.3.260.0040.04212.72
5.3.250.0060.03712.72
5.3.240.0060.03712.72
5.3.230.0060.03812.71
5.3.220.0060.03812.68
5.3.210.0070.03812.68
5.3.200.0060.03612.68
5.3.190.0060.03712.68
5.3.180.0070.04012.67
5.3.170.0070.03812.67
5.3.160.0060.03912.67
5.3.150.0050.03812.67
5.3.140.0080.03912.66
5.3.130.0090.04012.66
5.3.120.0060.04312.66
5.3.110.0080.04312.66
5.3.100.0060.04112.12
5.3.90.0080.03912.08
5.3.80.0080.03812.08
5.3.70.0070.04012.07
5.3.60.0070.04212.07
5.3.50.0050.03912.00
5.3.40.0040.04312.00
5.3.30.0080.03811.95
5.3.20.0080.03611.71
5.3.10.0080.03611.67
5.3.00.0070.03811.66

preferences:
138.38 ms | 1394 KiB | 7 Q