3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?php $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://abc.wyz.com/services/Soap/m/28.0/00D50000000IdrE </metadataServerUrl><passwordExpired>false</passwordExpired><sandbox>false</sandbox><serverUrl>https://abc.wyz.com/services/Soap/c/28.0/00D50000000IdrE </serverUrl><sessionId>00D50000000IdrE!AREAQK4VYXRaXw3ahAt2Cge254wygiW7cr_f6DVa2pDC6g57w5IEfidAu3ZRsJFBN5Bwb6DVhF18zKFiVVyT</sessionId><userId>005500AAC</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>ABC</organizationName><profileId>00e500000017al5AAA</profileId><roleId xsi:nil=\”true\”/><sessionSecondsValid>7200</sessionSecondsValid><userDefaultCurrencyIsoCode xsi:nil=\”true\”/><userEmail>ramana@3clogic.com</userEmail><userFullName>hemanonearth</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; $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'); echo count($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)
5.4.190.0130.04012.36
5.4.180.0150.03712.37
5.4.170.0160.04912.37
5.4.160.0130.04612.37
5.4.150.0130.04912.37
5.4.140.0150.05012.05
5.4.130.0130.04712.03
5.4.120.0100.04212.00
5.4.110.0150.04612.00
5.4.100.0140.04912.00
5.4.90.0150.04211.99
5.4.80.0140.03912.00
5.4.70.0130.04511.99
5.4.60.0140.04511.99
5.4.50.0130.04311.99
5.4.40.0100.04311.98
5.4.30.0100.04311.98
5.4.20.0100.04411.97
5.4.10.0130.03911.98
5.4.00.0100.04011.47
5.3.270.0130.04312.73
5.3.260.0130.05012.72
5.3.250.0200.06812.72
5.3.240.0100.05412.72
5.3.230.0140.05012.71
5.3.220.0140.03912.68
5.3.210.0160.04612.68
5.3.200.0120.04612.68
5.3.190.0130.04512.68
5.3.180.0120.04212.68
5.3.170.0160.05212.67
5.3.160.0140.05012.67
5.3.150.0140.05112.67
5.3.140.0120.04312.66
5.3.130.0130.04312.66
5.3.120.0160.05712.66
5.3.110.0150.05412.66
5.3.100.0150.05012.12
5.3.90.0160.04912.08
5.3.80.0160.04912.07
5.3.70.0170.04912.08
5.3.60.0160.05012.06
5.3.50.0180.05012.00
5.3.40.0140.04212.00
5.3.30.0110.04811.95
5.3.20.0130.04711.72
5.3.10.0140.04611.68
5.3.00.0130.04711.66

preferences:
140.11 ms | 1386 KiB | 7 Q