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.0130.00716.75
8.3.50.0160.00321.79
8.3.40.0150.00018.89
8.3.30.0070.00719.04
8.3.20.0080.00020.21
8.3.10.0070.00023.61
8.3.00.0040.00419.38
8.2.180.0140.00716.50
8.2.170.0070.00722.96
8.2.160.0030.01020.50
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0130.00326.16
8.2.120.0030.00522.11
8.2.110.0040.00422.25
8.2.100.0060.00617.84
8.2.90.0080.00019.17
8.2.80.0000.00817.97
8.2.70.0030.00717.25
8.2.60.0000.00817.93
8.2.50.0030.00618.07
8.2.40.0030.00518.22
8.2.30.0040.00417.91
8.2.20.0000.00817.59
8.2.10.0040.00417.94
8.2.00.0040.00417.77
8.1.280.0110.00725.92
8.1.270.0030.00622.10
8.1.260.0050.00326.35
8.1.250.0050.00328.09
8.1.240.0040.00423.97
8.1.230.0040.00819.04
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00717.22
8.1.190.0040.00417.43
8.1.180.0030.00518.10
8.1.170.0000.00818.46
8.1.160.0040.00421.99
8.1.150.0030.00518.52
8.1.140.0070.00017.36
8.1.130.0030.00317.71
8.1.120.0000.00717.34
8.1.110.0000.00817.34
8.1.100.0070.00017.39
8.1.90.0040.00417.43
8.1.80.0040.00417.21
8.1.70.0030.00317.30
8.1.60.0080.00017.41
8.1.50.0040.00417.39
8.1.40.0040.00417.41
8.1.30.0030.00617.57
8.1.20.0060.00317.63
8.1.10.0000.00717.43
8.1.00.0040.00417.53
8.0.300.0070.00018.77
8.0.290.0040.00417.18
8.0.280.0000.00718.32
8.0.270.0000.00717.24
8.0.260.0030.00316.86
8.0.250.0040.00416.97
8.0.240.0030.00617.03
8.0.230.0000.00716.99
8.0.220.0050.00316.82
8.0.210.0030.00516.88
8.0.200.0000.00716.96
8.0.190.0030.00616.88
8.0.180.0000.00716.90
8.0.170.0040.00416.95
8.0.160.0040.00416.99
8.0.150.0070.00016.89
8.0.140.0000.00816.82
8.0.130.0030.00313.44
8.0.120.0000.00916.89
8.0.110.0000.00716.90
8.0.100.0040.00417.02
8.0.90.0070.00016.99
8.0.80.0070.01016.99
8.0.70.0000.00716.81
8.0.60.0000.00716.81
8.0.50.0040.00416.98
8.0.30.0160.00316.98
8.0.20.0050.01217.40
8.0.10.0080.00017.04
8.0.00.0050.01516.79
7.4.330.0000.00615.07
7.4.320.0070.00016.43
7.4.300.0030.00316.47
7.4.290.0000.00716.49
7.4.280.0030.00316.59
7.4.270.0000.00716.50
7.4.260.0030.00716.32
7.4.250.0000.00716.33
7.4.240.0040.00416.50
7.4.230.0000.00716.29
7.4.220.0070.01116.58
7.4.210.0040.01016.54
7.4.200.0030.00316.41
7.4.190.0060.00316.48
7.4.160.0060.00916.43
7.4.150.0070.01017.40
7.4.140.0120.00617.86
7.4.130.0110.00516.55
7.4.120.0120.00516.41
7.4.110.0120.00916.51
7.4.100.0070.01416.54
7.4.90.0100.00716.37
7.4.80.0140.01019.39
7.4.70.0070.01016.55
7.4.60.0120.00616.30
7.4.50.0030.00616.41
7.4.40.0100.00722.77
7.4.30.0070.01016.49
7.4.10.0070.00716.70
7.4.00.0070.01116.57
7.3.330.0080.00013.19
7.3.320.0030.00313.02
7.3.310.0030.00316.37
7.3.300.0000.00716.32
7.3.290.0120.00916.29
7.3.280.0120.00816.32
7.3.270.0070.01117.40
7.3.260.0090.01216.47
7.3.250.0140.00516.56
7.3.240.0060.01516.40
7.3.230.0170.00016.47
7.3.210.0070.01116.46
7.3.200.0140.00319.39
7.3.190.0100.01116.60
7.3.180.0040.01516.37
7.3.170.0060.00916.36
7.3.160.0160.00816.50
7.3.130.0000.01416.38
7.3.120.0060.00916.52
7.3.110.0060.01016.32
7.3.100.0100.00716.20
7.3.90.0000.01216.30
7.3.80.0030.01016.16
7.3.70.0030.01116.18
7.3.60.0030.00716.38
7.3.50.0070.00716.40
7.3.40.0070.00716.29
7.3.30.0030.01016.22
7.3.20.0030.01017.95
7.3.10.0070.01118.05
7.3.00.0040.01118.14
7.2.330.0040.01516.51
7.2.320.0110.00616.48
7.2.310.0170.00016.27
7.2.300.0130.01016.50
7.2.290.0090.01016.38
7.2.260.0070.01316.34
7.2.250.0100.00716.04
7.2.240.0110.00416.34
7.2.230.0110.00416.46
7.2.220.0030.01016.41
7.2.210.0070.00716.22
7.2.200.0040.00816.21
7.2.190.0080.00816.40
7.2.180.0000.01016.51
7.2.170.0060.00616.14
7.2.160.0030.00816.20
7.2.150.0030.01018.18
7.2.140.0000.01718.07
7.2.130.0080.00418.09
7.2.120.0070.00318.15
7.2.110.0090.00617.98
7.2.100.0040.01118.25
7.2.90.0070.00718.17
7.2.80.0040.01418.25
7.2.70.0040.00718.16
7.2.60.0060.00618.31
7.2.50.0030.01218.23
7.2.40.0070.01118.08
7.2.30.0130.00318.19
7.2.20.0060.01218.34
7.2.10.0030.01218.25
7.2.00.0030.01318.12
7.1.330.0130.00317.18
7.1.320.0060.00917.11
7.1.310.0070.00717.16
7.1.300.0030.01017.20
7.1.290.0040.00417.11
7.1.280.0090.00016.99
7.1.270.0040.01216.84
7.1.260.0070.01016.95
7.1.250.0050.00517.03
7.1.240.0070.00716.99
7.1.230.0090.00317.10
7.1.220.0030.00917.22
7.1.210.0060.00616.75
7.1.200.0090.00617.02
7.1.190.0040.00716.80
7.1.180.0000.00916.88
7.1.170.0030.00617.04
7.1.160.0040.00817.05
7.1.150.0060.00617.08
7.1.140.0030.01217.03
7.1.130.0060.00617.11
7.1.120.0030.01016.82
7.1.110.0030.01217.11
7.1.100.0070.01016.93
7.1.90.0040.00717.09
7.1.80.0000.01416.92
7.1.70.0030.01317.16
7.1.60.0090.00317.07
7.1.50.0030.01017.16
7.1.40.0040.00817.05
7.1.30.0000.01417.22
7.1.20.0070.01017.18
7.1.10.0070.00717.23
7.1.00.0080.00817.06
7.0.330.0040.01116.68
7.0.320.0090.00016.79
7.0.310.0030.01216.70
7.0.300.0100.00016.81
7.0.290.0040.01116.60
7.0.280.0070.01016.67
7.0.270.0080.00316.93
7.0.260.0160.00016.82
7.0.250.0040.01116.97
7.0.240.0040.00816.80
7.0.230.0030.01016.85
7.0.220.0060.00916.58
7.0.210.0080.00616.63
7.0.200.0110.00316.66
7.0.190.0040.00816.84
7.0.180.0030.00916.57
7.0.170.0070.00316.69
7.0.160.0100.00316.62
7.0.150.0030.00916.83
7.0.140.0090.00316.80
7.0.130.0000.01416.59
7.0.120.0060.00316.84
7.0.110.0030.01216.94
7.0.100.0120.00616.83
7.0.90.0000.01116.93
7.0.80.0070.00316.92
7.0.70.0060.00616.86
7.0.60.0090.00616.75
7.0.50.0090.00916.65
7.0.40.0090.00914.66
7.0.30.0030.01014.78
7.0.20.0150.00014.64
7.0.10.0060.00314.84
7.0.00.0030.01014.61
5.6.400.0060.01015.44
5.6.390.0070.00715.58
5.6.380.0030.00815.73
5.6.370.0140.00315.59
5.6.360.0000.01115.81
5.6.350.0110.00415.91
5.6.340.0090.00615.51
5.6.330.0070.00715.70
5.6.320.0040.01115.71
5.6.310.0100.00715.39
5.6.300.0100.00315.50
5.6.290.0060.00915.36
5.6.280.0030.00715.71
5.6.270.0060.00915.75
5.6.260.0060.01215.87
5.6.250.0060.01215.82
5.6.240.0030.01415.67
5.6.230.0040.00815.63
5.6.220.0000.01415.57
5.6.210.0080.00415.61
5.6.200.0040.01415.71
5.6.190.0090.00615.36
5.6.180.0040.00715.72
5.6.170.0070.00715.47
5.6.160.0090.00615.28
5.6.150.0090.00615.61
5.6.140.0030.01215.39
5.6.130.0030.00915.71
5.6.120.0000.01015.50
5.6.110.0040.00815.60
5.6.100.0040.00715.57
5.6.90.0000.01115.39
5.6.80.0030.01015.59
5.6.70.0030.00615.59
5.6.60.0000.01515.43
5.6.50.0060.00615.57
5.6.40.0110.00015.52
5.6.30.0060.00615.39
5.6.20.0070.00715.45
5.6.10.0080.00815.55
5.6.00.0030.01015.63
5.5.380.0090.00615.25
5.5.370.0090.00015.41
5.5.360.0130.00315.50
5.5.350.0070.01015.57
5.5.340.0110.00015.57
5.5.330.0100.00315.21
5.5.320.0030.01015.61
5.5.310.0000.01015.49
5.5.300.0060.00315.41
5.5.290.0110.00315.39
5.5.280.0070.00715.50
5.5.270.0080.00815.22
5.5.260.0000.01315.16
5.5.250.0000.00915.48
5.5.240.0090.00615.40
5.5.230.0030.01215.31
5.5.220.0000.01815.27
5.5.210.0120.00415.35
5.5.200.0070.00715.25
5.5.190.0000.01115.37
5.5.180.0090.00315.43
5.5.170.0090.00315.50
5.5.160.0110.00415.11
5.5.150.0090.00615.36
5.5.140.0070.00715.13
5.5.130.0000.01615.57
5.5.120.0040.00915.48
5.5.110.0030.01015.22
5.5.100.0020.01315.34
5.5.90.0130.00315.40
5.5.80.0090.00615.38
5.5.70.0040.00715.31
5.5.60.0000.00915.30
5.5.50.0000.01315.37
5.5.40.0060.00315.56
5.5.30.0030.00915.57
5.5.20.0060.01315.23
5.5.10.0090.00915.63
5.5.00.0040.01415.41
5.4.450.0030.00912.09
5.4.440.0080.00412.41
5.4.430.0030.00312.36
5.4.420.0070.00012.21
5.4.410.0060.00312.13
5.4.400.0080.00012.23
5.4.390.0080.00312.18
5.4.380.0030.00712.25
5.4.370.0040.00912.06
5.4.360.0110.00012.24
5.4.350.0040.00412.21
5.4.340.0030.00712.14
5.4.330.0040.00712.37
5.4.320.0000.01112.06
5.4.310.0030.00912.17
5.4.300.0060.00612.25
5.4.290.0040.01112.39
5.4.280.0040.00812.39
5.4.270.0030.00912.16
5.4.260.0030.00912.43
5.4.250.0110.00412.23
5.4.240.0040.01112.11
5.4.230.0000.00912.31
5.4.220.0090.00012.14
5.4.210.0090.00312.06
5.4.200.0040.00412.10
5.4.190.0100.02612.21
5.4.180.0120.03812.24
5.4.170.0090.02512.21
5.4.160.0060.02712.37
5.4.150.0130.02312.21
5.4.140.0120.02312.28
5.4.130.0090.02412.15
5.4.120.0090.02412.02
5.4.110.0090.02712.02
5.4.100.0110.02312.11
5.4.90.0200.04712.08
5.4.80.0090.02712.11
5.4.70.0210.04512.08
5.4.60.0130.02312.10
5.4.50.0070.02812.06
5.4.40.0130.02212.04
5.4.30.0120.02312.13
5.4.20.0110.02412.04
5.4.10.0100.02512.15
5.4.00.0090.02411.85
5.3.290.0030.00612.90
5.3.280.0030.00612.51
5.3.270.0140.03912.75
5.3.260.0120.02412.76
5.3.250.0130.02212.65
5.3.240.0100.02712.57
5.3.230.0150.02412.72
5.3.220.0090.02612.65
5.3.210.0120.02512.67
5.3.200.0150.03612.61
5.3.190.0080.03012.61
5.3.180.0080.02712.67
5.3.170.0100.02712.73
5.3.160.0130.02412.68
5.3.150.0110.02712.80
5.3.140.0090.02912.78
5.3.130.0220.04612.71
5.3.120.0070.02912.75
5.3.110.0100.02612.75
5.3.100.0110.02612.38
5.3.90.0130.02512.37
5.3.80.0080.02912.30
5.3.70.0110.02712.37
5.3.60.0120.02412.39
5.3.50.0090.02612.33
5.3.40.0110.02612.33
5.3.30.0110.02412.33
5.3.20.0110.02612.26
5.3.10.0090.02712.09
5.3.00.0100.02512.06

preferences:
42.97 ms | 401 KiB | 5 Q