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.40.0080.00818.79
8.3.30.0110.00418.73
8.3.20.0060.00318.75
8.3.10.0080.00020.67
8.3.00.0080.00319.38
8.2.170.0030.01322.96
8.2.160.0150.00320.93
8.2.150.0050.00324.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.71
8.2.110.0060.00321.02
8.2.100.0110.00017.72
8.2.90.0040.00419.33
8.2.80.0030.00619.38
8.2.70.0090.00017.38
8.2.60.0040.00417.93
8.2.50.0050.00518.07
8.2.40.0000.00718.09
8.2.30.0070.00017.91
8.2.20.0040.00417.61
8.2.10.0030.00517.65
8.2.00.0040.00417.59
8.1.270.0050.00224.66
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00323.79
8.1.230.0040.00820.83
8.1.220.0030.00617.74
8.1.210.0050.00318.89
8.1.200.0030.00617.35
8.1.190.0040.00417.40
8.1.180.0000.00818.10
8.1.170.0000.00918.83
8.1.160.0000.00718.82
8.1.150.0000.00718.46
8.1.140.0000.01117.36
8.1.130.0030.00317.91
8.1.120.0040.00417.37
8.1.110.0040.00417.26
8.1.100.0040.00417.33
8.1.90.0040.00417.23
8.1.80.0000.00817.38
8.1.70.0030.00317.28
8.1.60.0070.00017.52
8.1.50.0050.00317.36
8.1.40.0000.00817.32
8.1.30.0060.00317.64
8.1.20.0070.00417.65
8.1.10.0080.00017.41
8.1.00.0050.00217.49
8.0.300.0080.00019.95
8.0.290.0050.00316.75
8.0.280.0030.00518.41
8.0.270.0030.00317.24
8.0.260.0040.00416.76
8.0.250.0040.00416.98
8.0.240.0040.00416.97
8.0.230.0000.00717.02
8.0.220.0000.00716.92
8.0.210.0030.00416.88
8.0.200.0070.00016.95
8.0.190.0090.00017.01
8.0.180.0000.00716.96
8.0.170.0060.00316.84
8.0.160.0030.00616.97
8.0.150.0090.00016.77
8.0.140.0070.00316.90
8.0.130.0000.00613.34
8.0.120.0040.00416.91
8.0.110.0090.00016.99
8.0.100.0000.00816.91
8.0.90.0000.00716.80
8.0.80.0090.00616.98
8.0.70.0050.00216.80
8.0.60.0020.00516.83
8.0.50.0000.00716.82
8.0.30.0110.01117.07
8.0.20.0130.00516.97
8.0.10.0040.00417.06
8.0.00.0100.01316.78
7.4.330.0050.00012.98
7.4.320.0000.00716.42
7.4.300.0060.00016.53
7.4.290.0030.00316.59
7.4.280.0060.00316.45
7.4.270.0030.00316.58
7.4.260.0050.00013.19
7.4.250.0000.00816.36
7.4.240.0030.00616.42
7.4.230.0040.00416.55
7.4.220.0090.00916.56
7.4.210.0100.00316.40
7.4.200.0040.00416.48
7.4.190.0070.00016.74
7.4.160.0130.00316.54
7.4.150.0110.01116.57
7.4.140.0080.01316.57
7.4.130.0120.01016.49
7.4.120.0130.00416.61
7.4.110.0100.00616.53
7.4.100.0100.01316.73
7.4.90.0070.01016.45
7.4.80.0110.00616.46
7.4.70.0060.01016.39
7.4.60.0080.00816.28
7.4.50.0060.00316.18
7.4.40.0030.01416.47
7.4.30.0070.01016.42
7.3.330.0030.00313.18
7.3.320.0030.00313.14
7.3.310.0050.00316.07
7.3.300.0030.00516.21
7.3.290.0060.00816.34
7.3.280.0070.00916.29
7.3.270.0130.01316.60
7.3.260.0140.00716.39
7.3.250.0070.01416.36
7.3.240.0140.00216.19
7.3.230.0060.01216.32
7.3.210.0080.00816.50
7.3.200.0140.00719.39
7.3.190.0130.00616.51
7.3.180.0140.00316.27
7.3.170.0070.01316.33
7.3.160.0130.01016.30
7.2.330.0100.00616.47
7.2.320.0210.01316.46
7.2.310.0030.01416.52
7.2.300.0090.00916.50
7.2.290.0060.01016.27
5.5.30.0170.04017.24
5.5.20.0070.07717.14
5.5.10.0100.07717.16
5.5.00.0070.06317.25
5.4.190.0070.06319.14
5.4.180.0130.07319.19
5.4.170.0100.07719.20
5.4.160.0030.08018.97
5.4.150.0100.07318.96
5.4.140.0130.06716.27
5.4.130.0000.04016.24
5.4.120.0100.05316.36
5.4.110.0130.04016.41
5.4.100.0070.07316.31
5.4.90.0070.07016.26
5.4.80.0030.05716.15
5.4.70.0070.03316.41
5.4.60.0070.03016.30
5.4.50.0000.04316.23
5.4.40.0000.03716.31
5.4.30.0070.03316.49
5.4.20.0070.03016.21
5.4.10.0070.03016.14
5.4.00.0070.03015.70
5.3.270.0030.06714.44
5.3.260.0030.07314.55
5.3.250.0100.07714.39
5.3.240.0200.06714.69
5.3.230.0100.05714.58
5.3.220.0000.04714.55
5.3.210.0100.06714.39
5.3.200.0100.06314.54
5.3.190.0130.05714.40
5.3.180.0100.04314.54
5.3.170.0030.03714.50
5.3.160.0100.03014.50
5.3.150.0030.03714.54
5.3.140.0000.04014.39
5.3.130.0070.03314.38
5.3.120.0070.03314.63
5.3.110.0000.04014.38
5.3.100.0100.03013.98
5.3.90.0030.03314.01
5.3.80.0000.03713.94
5.3.70.0030.03713.78
5.3.60.0000.03713.92
5.3.50.0100.03013.73
5.3.40.0000.03713.90
5.3.30.0030.03313.68
5.3.20.0030.03313.62
5.3.10.0000.03713.57
5.3.00.0070.03013.60

preferences:
38.77 ms | 400 KiB | 5 Q