3v4l.org

run code in 300+ PHP versions simultaneously
<?php //say("hello"); $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://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_f6DVa2pDC6g57w5IE fidAu3ZRsJFBN5Bwb6DVhF18zKFiVVyT </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</userFullName> <userId>00550Dd4uAAC</userId> <userLanguage>en_US</userLanguage> <userLocale>en_US</userLocale> <userName>raman@gmail.com.com</userName> <userTimeZone>America/New_York</userTimeZone> <userType>Standard</userType> <userUiSkin>Theme3</userUiSkin> </userInfo> </result> </loginResponse> </soapenv:Body> </soapenv:Envelope> EOD; //say(" xml complete"); $sxe = new SimpleXMLElement($xml); // Define some short identifiers for namespaces without relying on their prefix in the XML define('NS_ENV', 'http://schemas.xmlsoap.org/soap/envelope/'); define('NS_SFORCE', 'urn:enterprise.soap.sforce.com'); // $sxe already represents the soapenv:Envelope node, so we don't need to mention that $result = $sxe->children(NS_ENV)->Body->children(NS_SFORCE)->loginResponse->result->serverUrl; //say("printing result"); //_log("himanshu".$result); echo $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)
8.3.60.0140.00318.55
8.3.50.0090.00922.06
8.3.40.0120.00619.01
8.3.30.0150.00019.29
8.3.20.0110.00320.41
8.3.10.0050.00523.78
8.3.00.0040.00420.95
8.2.180.0090.00616.75
8.2.170.0090.00922.96
8.2.160.0000.01322.41
8.2.150.0080.00024.18
8.2.140.0090.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00019.73
8.2.110.0060.00319.57
8.2.100.0090.00317.97
8.2.90.0030.00619.48
8.2.80.0040.00417.97
8.2.70.0050.00717.63
8.2.60.0090.00018.05
8.2.50.0030.00618.10
8.2.40.0040.00418.41
8.2.30.0000.00718.32
8.2.20.0050.00317.77
8.2.10.0000.00817.88
8.2.00.0030.00517.97
8.1.280.0140.00025.92
8.1.270.0110.00023.99
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00622.91
8.1.230.0070.00417.93
8.1.220.0050.00318.01
8.1.210.0000.00918.77
8.1.200.0030.00617.48
8.1.190.0000.00917.35
8.1.180.0000.01018.10
8.1.170.0080.00018.84
8.1.160.0050.00322.21
8.1.150.0000.00718.76
8.1.140.0030.00617.68
8.1.130.0000.00718.12
8.1.120.0000.00717.66
8.1.110.0050.00217.75
8.1.100.0030.00617.61
8.1.90.0000.00717.61
8.1.80.0050.00217.62
8.1.70.0040.00417.69
8.1.60.0040.00417.70
8.1.50.0030.00517.69
8.1.40.0050.00317.72
8.1.30.0000.00817.78
8.1.20.0050.00317.74
8.1.10.0060.00317.80
8.1.00.0080.00017.65
8.0.300.0030.00618.77
8.0.290.0070.00017.00
8.0.280.0000.00718.76
8.0.270.0000.00717.48
8.0.260.0030.00317.07
8.0.250.0040.00417.13
8.0.240.0080.00017.34
8.0.230.0040.00417.29
8.0.220.0070.00017.23
8.0.210.0000.00717.08
8.0.200.0000.00617.34
8.0.190.0000.00717.26
8.0.180.0070.00017.25
8.0.170.0000.00817.23
8.0.160.0040.00417.23
8.0.150.0030.00517.26
8.0.140.0040.00416.97
8.0.130.0000.00613.69
8.0.120.0000.00817.18
8.0.110.0040.00417.15
8.0.100.0020.00517.03
8.0.90.0050.00217.18
8.0.80.0080.01517.21
8.0.70.0000.00817.30
8.0.60.0030.00617.17
8.0.50.0070.00017.23
8.0.30.0130.00917.58
8.0.20.0120.01017.46
8.0.10.0000.00717.20
8.0.00.0080.00917.09
7.4.330.0000.00515.21
7.4.320.0000.00616.75
7.4.300.0050.00216.78
7.4.290.0030.00316.75
7.4.280.0030.00316.70
7.4.270.0030.00316.67
7.4.260.0030.00316.67
7.4.250.0000.00916.79
7.4.240.0020.00616.74
7.4.230.0040.00416.75
7.4.220.0090.01016.92
7.4.210.0060.00916.81
7.4.200.0040.00416.64
7.4.190.0040.00416.70
7.4.160.0090.00916.72
7.4.150.0150.00317.40
7.4.140.0120.00617.86
7.4.130.0110.00816.78
7.4.120.0130.00516.77
7.4.110.0110.01416.74
7.4.100.0110.00616.82
7.4.90.0100.00716.86
7.4.80.0110.00716.61
7.4.70.0120.00916.92
7.4.60.0100.00716.58
7.4.50.0000.00516.75
7.4.40.0070.01122.77
7.4.30.0070.01016.90
7.4.00.0060.01015.12
7.3.330.0000.00613.21
7.3.320.0020.00213.34
7.3.310.0000.00716.51
7.3.300.0000.00716.51
7.3.290.0140.00016.50
7.3.280.0080.01316.49
7.3.270.0030.01317.40
7.3.260.0120.01316.50
7.3.250.0100.01016.60
7.3.240.0070.01016.54
7.3.230.0110.01116.45
7.3.210.0040.01416.65
7.3.200.0080.01419.39
7.3.190.0110.00616.51
7.3.180.0090.00616.84
7.3.170.0030.01316.80
7.3.160.0120.00916.54
7.3.120.0030.00714.93
7.2.330.0060.01216.70
7.2.320.0110.01116.66
7.2.310.0130.01016.92
7.2.300.0100.00716.65
7.2.290.0140.00316.87
7.2.00.0150.00419.62
7.1.200.0070.00715.97
7.1.100.0080.00318.30
7.1.70.0000.01017.11
7.1.60.0090.01519.32
7.1.50.0090.01216.83
7.1.00.0000.07722.48
7.0.200.0080.00416.64
7.0.140.0030.07722.17
7.0.60.0030.04320.17
7.0.50.0100.07318.00
7.0.40.0030.04720.42
7.0.30.0230.04020.19
7.0.20.0370.05720.21
7.0.10.0130.08720.29
7.0.00.0130.08320.28
5.6.210.0130.07320.66
5.6.200.0030.08318.30
5.6.190.0030.04720.79
5.6.180.0300.05020.77
5.6.170.0330.05020.70
5.6.160.0100.06320.52
5.6.150.0070.03718.26
5.6.140.0170.07018.30
5.6.130.0030.08718.34
5.6.120.0030.07021.19
5.6.110.0070.08321.22
5.6.100.0070.06021.03
5.6.90.0100.08721.20
5.6.80.0030.04020.47
5.6.70.0330.07020.58
5.5.350.0170.07320.64
5.5.340.0070.08018.05
5.5.330.0100.08320.34
5.5.320.0230.07320.55
5.5.310.0300.07720.39
5.5.300.0100.07718.10
5.5.290.0030.08318.13
5.5.280.0030.06020.88
5.5.270.0200.07020.85
5.5.260.0030.04720.88
5.5.250.0230.06720.82
5.5.240.0030.04320.21
5.4.450.0330.05719.48
5.4.440.0030.06319.66
5.4.430.0770.05019.54
5.4.420.1070.05319.36
5.4.410.0100.06018.79
5.4.400.0070.06018.92
5.4.390.0100.05718.91
5.4.380.0130.05718.59
5.4.370.0130.06318.54
5.4.360.0230.05018.81
5.4.350.0170.05718.77
5.4.340.0270.04318.81
5.4.320.0020.04012.64
5.4.310.0080.04012.64
5.4.300.0030.04212.64
5.4.290.0100.04012.64
5.4.280.0070.03312.54
5.4.270.0040.04012.54
5.4.260.0050.03812.54
5.4.250.0050.03912.54
5.4.240.0080.03512.54
5.4.230.0060.03612.54
5.4.220.0050.04112.53
5.4.210.0070.03912.54
5.4.200.0080.03412.54
5.4.190.0150.04812.54
5.4.180.0140.04512.53
5.4.170.0220.03712.54
5.4.160.0220.04312.54
5.4.150.0150.04612.54
5.4.140.0080.05012.22
5.4.130.0290.06112.20
5.4.120.0140.04512.16
5.4.110.0160.04112.16
5.4.100.0120.04612.16
5.4.90.0170.04012.16
5.4.80.0100.04712.16
5.4.70.0210.06612.16
5.4.60.0130.04312.15
5.4.50.0170.03912.16
5.4.40.0120.04412.15
5.4.30.0140.04512.15
5.4.20.0150.04212.14
5.4.10.0270.06012.15
5.4.00.0130.04711.63
5.3.290.0090.03912.91
5.3.280.0070.04412.84
5.3.270.0260.04812.85
5.3.260.0470.08212.85
5.3.250.0200.04512.85
5.3.240.0180.04812.85
5.3.230.0190.04712.84
5.3.220.0250.06912.81
5.3.210.0170.04712.81
5.3.200.0180.04112.80
5.3.190.0140.04712.81
5.3.180.0170.04312.81
5.3.170.0200.03912.80
5.3.160.0220.03812.81
5.3.150.0140.04612.81
5.3.140.0290.09212.80
5.3.130.0190.04112.79
5.3.120.0200.04012.79
5.3.110.0150.04512.79
5.3.100.0140.04612.28
5.3.90.0140.04512.26
5.3.80.0150.04412.26
5.3.70.0180.04212.26
5.3.60.0170.04712.23
5.3.50.0230.03912.20
5.3.40.0170.04312.20
5.3.30.0160.04712.16
5.3.20.0190.04011.93
5.3.10.0150.04111.89
5.3.00.0450.07411.88
5.2.170.0170.0329.38
5.2.160.0150.0369.38
5.2.150.0120.0359.38
5.2.140.0150.0329.38
5.2.130.0350.0779.34
5.2.120.0110.0369.34
5.2.110.0120.0379.34
5.2.100.0170.0319.34
5.2.90.0080.0389.34
5.2.80.0260.0519.33
5.2.70.0130.0369.33
5.2.60.0120.0349.29
5.2.50.0350.0769.26
5.2.40.0090.0389.24
5.2.30.0170.0329.21
5.2.20.0230.0859.25
5.2.10.0090.0379.18
5.2.00.0120.0349.03
5.1.60.0120.0278.33
5.1.50.0100.0318.33
5.1.40.0090.0318.31
5.1.30.0090.0338.66
5.1.20.0130.0298.68
5.1.10.0100.0328.40
5.1.00.0090.0328.40
5.0.50.0110.0236.88
5.0.40.0100.0226.73
5.0.30.0040.0406.56
5.0.20.0090.0236.54
5.0.10.0080.0236.51
5.0.00.0120.0326.50
4.4.90.0100.0154.78
4.4.80.0040.0214.76
4.4.70.0070.0184.76
4.4.60.0050.0204.76
4.4.50.0070.0174.77
4.4.40.0100.0264.70
4.4.30.0190.0674.75
4.4.20.0070.0184.85
4.4.10.0060.0194.85
4.4.00.0060.0294.76
4.3.110.0080.0174.67
4.3.100.0050.0194.66
4.3.90.0080.0164.64
4.3.80.0080.0264.60
4.3.70.0090.0154.63
4.3.60.0050.0194.63
4.3.50.0040.0204.63
4.3.40.0040.0304.56
4.3.30.0050.0183.37
4.3.20.0050.0183.36
4.3.10.0050.0173.26
4.3.00.0100.0236.81

preferences:
53.81 ms | 401 KiB | 5 Q