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 = simplexml_load_string($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.0140.00716.63
8.3.50.0110.00418.21
8.3.40.0110.00418.72
8.3.30.0060.00919.09
8.3.20.0040.00420.20
8.3.10.0070.00023.66
8.3.00.0000.00920.75
8.2.180.0060.00916.88
8.2.170.0040.01122.96
8.2.160.0030.01022.26
8.2.150.0030.00524.18
8.2.140.0030.00624.66
8.2.130.0000.00726.16
8.2.120.0040.00422.06
8.2.110.0030.00622.08
8.2.100.0040.00717.84
8.2.90.0040.00419.14
8.2.80.0080.00017.97
8.2.70.0080.00317.50
8.2.60.0000.00817.91
8.2.50.0050.00318.07
8.2.40.0000.00818.22
8.2.30.0100.00017.94
8.2.20.0000.00817.60
8.2.10.0050.00317.71
8.2.00.0000.00717.76
8.1.270.0040.00423.73
8.1.260.0050.00326.35
8.1.250.0050.00228.09
8.1.240.0030.00623.97
8.1.230.0060.00619.16
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0090.00017.13
8.1.190.0000.00817.43
8.1.180.0040.00418.10
8.1.170.0040.00418.55
8.1.160.0040.00421.90
8.1.150.0000.00818.56
8.1.140.0030.00617.29
8.1.130.0040.00417.80
8.1.120.0040.00317.25
8.1.110.0050.00217.39
8.1.100.0030.00317.26
8.1.90.0000.00817.37
8.1.80.0000.00717.36
8.1.70.0040.00417.35
8.1.60.0030.00517.38
8.1.50.0040.00417.50
8.1.40.0000.00717.41
8.1.30.0000.00817.46
8.1.20.0040.00417.63
8.1.10.0070.00317.55
8.1.00.0000.00817.49
8.0.300.0040.00418.77
8.0.290.0030.00317.18
8.0.280.0000.00718.32
8.0.270.0070.00017.15
8.0.260.0030.00316.73
8.0.250.0070.00016.91
8.0.240.0000.00716.87
8.0.230.0030.00517.00
8.0.220.0000.00716.89
8.0.210.0000.00716.93
8.0.200.0030.00316.96
8.0.190.0040.00416.87
8.0.180.0040.00416.87
8.0.170.0040.00416.99
8.0.160.0040.00416.93
8.0.150.0000.00716.77
8.0.140.0000.00716.74
8.0.130.0060.00013.29
8.0.120.0040.00416.85
8.0.110.0000.00716.96
8.0.100.0080.00016.81
8.0.90.0070.00016.81
8.0.80.0090.00916.86
8.0.70.0040.00416.91
8.0.60.0070.00016.80
8.0.50.0050.00316.86
8.0.30.0090.01216.89
8.0.20.0110.00817.40
8.0.10.0080.00016.80
8.0.00.0150.00316.71
7.4.330.0050.00015.00
7.4.320.0030.00316.41
7.4.300.0030.00316.55
7.4.290.0030.00516.55
7.4.280.0030.00316.46
7.4.270.0070.00016.47
7.4.260.0030.00316.52
7.4.250.0000.00716.42
7.4.240.0030.00316.48
7.4.230.0050.00216.44
7.4.220.0100.00716.68
7.4.210.0040.01016.59
7.4.200.0000.00716.57
7.4.190.0070.00016.61
7.4.160.0090.00616.42
7.4.150.0060.01217.40
7.4.140.0100.00717.86
7.4.130.0110.00816.34
7.4.120.0150.00316.51
7.4.110.0000.01616.50
7.4.100.0120.01216.45
7.4.90.0180.00916.57
7.4.80.0140.01016.43
7.4.70.0100.00716.62
7.4.60.0060.01016.28
7.4.50.0030.00616.63
7.4.40.0050.00822.77
7.4.30.0150.00316.64
7.3.330.0030.00313.17
7.3.320.0000.00513.03
7.3.310.0020.00516.13
7.3.300.0040.00216.20
7.3.290.0070.01416.34
7.3.280.0100.00916.38
7.3.270.0090.00917.40
7.3.260.0140.00716.30
7.3.250.0100.00716.39
7.3.240.0120.01216.54
7.3.230.0070.01016.39
7.3.210.0030.01316.57
7.3.200.0100.01319.39
7.3.190.0070.01616.54
7.3.180.0040.01116.56
7.3.170.0120.00316.35
7.3.160.0090.00916.57
7.2.330.0080.00816.39
7.2.320.0080.00816.36
7.2.310.0060.01016.53
7.2.300.0130.00816.29
7.2.290.0070.01416.20
5.4.190.0090.04212.33
5.4.180.0100.04112.34
5.4.170.0100.04012.35
5.4.160.0080.04112.34
5.4.150.0090.04212.34
5.4.140.0140.03612.02
5.4.130.0110.04012.01
5.4.120.0070.04311.97
5.4.110.0110.03911.96
5.4.100.0100.04011.97
5.4.90.0120.03911.96
5.4.80.0100.04111.96
5.4.70.0130.03811.96
5.4.60.0140.03511.96
5.4.50.0110.03811.96
5.4.40.0120.03911.95
5.4.30.0070.04311.95
5.4.20.0120.03711.94
5.4.10.0100.03811.94
5.4.00.0120.03611.44
5.3.270.0100.04312.72
5.3.260.0100.04312.72
5.3.250.0100.04112.72
5.3.240.0120.03912.72
5.3.230.0110.04112.71
5.3.220.0090.04312.68
5.3.210.0130.03912.68
5.3.200.0080.04412.68
5.3.190.0110.04112.68
5.3.180.0120.05312.67
5.3.170.0100.04712.67
5.3.160.0120.04112.67
5.3.150.0120.04112.67
5.3.140.0100.04212.66
5.3.130.0100.04312.66
5.3.120.0160.03812.66
5.3.110.0130.04312.66
5.3.100.0130.03912.12
5.3.90.0120.04112.08
5.3.80.0120.04112.07
5.3.70.0110.03912.07
5.3.60.0100.04112.06
5.3.50.0100.04212.00
5.3.40.0110.04212.00
5.3.30.0100.04011.95
5.3.20.0120.03911.71
5.3.10.0380.04011.68
5.3.00.0150.05111.67
5.2.170.0110.0329.17
5.2.160.0090.0389.17
5.2.150.0100.0389.17
5.2.140.0140.0429.16
5.2.130.0110.0319.12
5.2.120.0100.0309.12
5.2.110.0100.0359.13
5.2.100.0110.0359.13
5.2.90.0090.0329.13
5.2.80.0100.0359.13
5.2.70.0090.0329.12
5.2.60.0100.0309.08
5.2.50.0110.0309.05
5.2.40.0090.0329.02
5.2.30.0070.0329.00
5.2.20.0090.0329.05
5.2.10.0100.0308.97
5.2.00.0080.0318.83
5.1.60.0070.0278.13
5.1.50.0060.0308.13
5.1.40.0100.0248.12
5.1.30.0080.0298.47
5.1.20.0090.0288.49
5.1.10.0120.0558.21
5.1.00.0100.0278.21
5.0.50.0080.0236.69
5.0.40.0070.0236.54
5.0.30.0070.0356.36
5.0.20.0070.0226.34
5.0.10.0170.0416.31
5.0.00.0060.0366.30
4.4.90.0050.0184.78
4.4.80.0250.0454.75
4.4.70.0050.0194.75
4.4.60.0060.0164.75
4.4.50.0050.0194.77
4.4.40.0060.0274.71
4.4.30.0090.0304.76
4.4.20.0060.0164.84
4.4.10.0070.0154.85
4.4.00.0060.0274.76
4.3.110.0060.0174.67
4.3.100.0040.0174.67
4.3.90.0070.0164.64
4.3.80.0080.0254.58
4.3.70.0050.0164.63
4.3.60.0070.0154.62
4.3.50.0070.0204.63
4.3.40.0050.0274.54
4.3.30.0040.0173.28
4.3.20.0020.0183.27
4.3.10.0040.0183.22
4.3.00.0100.02015.48

preferences:
60.96 ms | 400 KiB | 5 Q