3v4l.org

run code in 300+ PHP versions simultaneously
<?php $username= $_POST["username"]; $password = $_POST["password"]; $passwordpluskey = $_POST["password"].$_POST["securitykey"]; $url="https://test.salesforce.com/services/Soap/c/27.0/0DFc00000008ObC"; $xml = "<?xml version=\"1.0\" encoding=\"utf-8\"?>". "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:tns=\"urn:enterprise.soap.sforce.com\">". "<soap:Header>". "<tns:LoginScopeHeader>". "<tns:organizationId/>". "</tns:LoginScopeHeader>". "</soap:Header>". "<soap:Body>". "<tns:login>". "<tns:username>ramana@3clogic.com</tns:username>". "<tns:password>Thursday12gtzKTulZBxkj29o8icloAoRD</tns:password>". "</tns:login>". "</soap:Body>". "</soap:Envelope>"; $headers = array( 'Content-Type:text/xml; charset=utf-8', 'User-Agent:Webastra', 'SOAPAction:login', ); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLINFO_HEADER_OUT, true); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $xml); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); $result = curl_exec($ch); $info = curl_getinfo($ch); curl_close($ch); $oXML = new SimpleXMLElement($result); $oXML->registerXPathNamespace('c', 'http://schemas.xmlsoap.org/soap/envelope/'); $oXML->registerXPathNamespace('d', 'http://www.w3.org/2001/XMLSchema'); $oXML->registerXPathNamespace('e', 'http://soap.sforce.com/2005/09/outbound'); $oXML->registerXPathNamespace('f', 'urn:sobject.enterprise.soap.sforce.com'); foreach($oXML->entry as $oEntry){ echo $oEntry->title . "\n"; } ?>

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.70.0150.00016.50
8.3.60.0110.00316.75
8.3.50.0080.01321.98
8.3.40.0090.00618.92
8.3.30.0090.00619.08
8.3.20.0000.00820.21
8.3.10.0000.00823.41
8.3.00.0030.00519.26
8.2.180.0150.00618.04
8.2.170.0130.00722.96
8.2.160.0070.01020.57
8.2.150.0080.00024.18
8.2.140.0000.00724.66
8.2.130.0080.00026.16
8.2.120.0060.00322.26
8.2.110.0070.00422.20
8.2.100.0040.00817.91
8.2.90.0030.00618.06
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0040.00418.04
8.2.50.0040.00419.23
8.2.40.0020.00518.22
8.2.30.0040.00418.16
8.2.20.0000.00817.88
8.2.10.0080.00018.05
8.2.00.0000.00717.85
8.1.280.0110.00425.92
8.1.270.0060.00323.88
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0030.00619.21
8.1.230.0040.00720.88
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0080.00017.35
8.1.190.0080.00017.35
8.1.180.0030.00518.10
8.1.170.0040.00418.60
8.1.160.0040.00422.03
8.1.150.0000.00718.75
8.1.140.0000.00817.45
8.1.130.0000.00717.84
8.1.120.0040.00417.48
8.1.110.0040.00417.41
8.1.100.0000.00717.48
8.1.90.0000.00717.49
8.1.80.0020.00517.55
8.1.70.0000.00917.41
8.1.60.0060.00317.52
8.1.50.0050.00317.52
8.1.40.0060.00317.58
8.1.30.0040.00417.56
8.1.20.0060.00317.60
8.1.10.0050.00217.51
8.1.00.0040.00417.44
8.0.300.0060.00320.21
8.0.290.0030.00616.88
8.0.280.0000.00718.51
8.0.270.0000.00717.23
8.0.260.0000.00616.93
8.0.250.0060.00017.09
8.0.240.0000.00716.99
8.0.230.0000.00717.04
8.0.220.0030.00316.93
8.0.210.0000.00716.99
8.0.200.0030.00317.00
8.0.190.0000.00717.07
8.0.180.0040.00416.91
8.0.170.0040.00417.05
8.0.160.0000.00716.98
8.0.150.0000.00716.95
8.0.140.0050.00216.86
8.0.130.0000.00513.48
8.0.120.0000.00816.92
8.0.110.0080.00017.01
8.0.100.0000.00717.07
8.0.90.0040.00417.13
8.0.80.0090.01216.97
8.0.70.0070.00016.89
8.0.60.0050.00317.02
8.0.50.0000.00717.05
8.0.30.0080.01017.21
8.0.20.0190.00217.40
8.0.10.0030.00516.98
8.0.00.0110.00817.04
7.4.330.0050.00015.14
7.4.320.0040.00416.57
7.4.300.0030.00316.68
7.4.290.0000.00716.41
7.4.280.0030.00316.54
7.4.270.0070.00016.51
7.4.260.0070.00316.54
7.4.250.0060.00316.62
7.4.240.0030.00416.64
7.4.230.0070.00016.76
7.4.220.0060.01516.57
7.4.210.0100.00516.65
7.4.200.0000.00716.76
7.4.190.0000.00816.82
7.4.160.0140.00316.61
7.4.150.0170.00017.40
7.4.140.0090.00917.86
7.4.130.0030.01316.58
7.4.120.0070.00916.57
7.4.110.0130.01016.48
7.4.100.0100.00716.58
7.4.90.0130.00316.49
7.4.80.0060.01219.39
7.4.70.0060.01016.64
7.4.60.0140.00416.63
7.4.50.0060.00316.62
7.4.40.0080.00322.77
7.4.30.0060.00916.46
7.4.10.0120.00615.21
7.4.00.0100.00614.85
7.3.330.0000.00613.34
7.3.320.0000.00513.21
7.3.310.0040.00416.25
7.3.300.0000.00816.34
7.3.290.0160.00316.37
7.3.280.0080.01216.36
7.3.270.0060.01217.40
7.3.260.0060.01316.58
7.3.250.0100.00716.41
7.3.240.0140.00316.54
7.3.230.0080.00816.42
7.3.210.0060.01516.48
7.3.200.0070.01319.39
7.3.190.0090.01316.33
7.3.180.0080.00816.50
7.3.170.0100.01016.46
7.3.160.0090.01016.48
7.3.130.0100.00714.93
7.3.120.0060.01214.88
7.3.110.0060.01114.77
7.3.100.0130.00314.89
7.3.90.0120.00414.97
7.3.80.0020.00814.68
7.3.70.0060.00814.82
7.3.60.0020.01214.93
7.3.50.0030.01114.99
7.3.40.0030.01014.71
7.3.30.0040.00814.82
7.3.20.0060.00816.56
7.3.10.0040.01316.53
7.3.00.0090.00516.44
7.2.330.0140.00316.78
7.2.320.0090.00916.59
7.2.310.0140.00316.71
7.2.300.0100.00716.62
7.2.290.0110.01116.77
7.2.260.0090.00915.28
7.2.250.0070.01314.82
7.2.240.0060.01115.01
7.2.230.0070.00814.94
7.2.220.0080.00815.11
7.2.210.0050.00614.89
7.2.200.0070.00915.18
7.2.190.0070.00514.96
7.2.180.0080.00815.23
7.2.170.0060.00914.98
7.2.160.0100.00714.86
7.2.150.0070.01016.63
7.2.140.0070.00616.96
7.2.130.0040.01116.87
7.2.120.0070.00616.93
7.2.110.0070.00416.91
7.2.100.0000.01216.92
7.2.90.0060.00816.83
7.2.80.0080.00617.02
7.2.70.0070.00716.87
7.2.60.0070.01016.74
7.2.50.0050.00716.96
7.2.40.0020.01216.74
7.2.30.0070.00716.73
7.2.20.0050.01116.90
7.2.10.0020.01316.81
7.2.00.0090.00717.60
7.1.330.0080.00715.92
7.1.320.0060.00915.79
7.1.310.0040.00915.81
7.1.300.0080.00915.75
7.1.290.0120.00215.76
7.1.280.0090.00415.70
7.1.270.0090.00815.84
7.1.260.0080.00915.89
7.1.250.0050.00815.79
7.1.240.0050.00915.77
7.1.230.0050.00615.76
7.1.220.0050.00815.70
7.1.210.0020.00915.88
7.1.200.0040.00715.76
7.1.190.0050.00815.92
7.1.180.0050.01015.71
7.1.170.0050.00515.71
7.1.160.0030.00815.73
7.1.150.0050.00715.82
7.1.140.0020.01415.75
7.1.130.0060.00415.68
7.1.120.0060.00615.85
7.1.110.0080.00715.78
7.1.100.0030.01016.53
7.1.90.0030.01015.75
7.1.80.0040.01015.78
7.1.70.0040.00716.14
7.1.60.0080.00716.99
7.1.50.0070.01016.02
7.1.40.0090.00715.85
7.1.30.0080.00215.80
7.1.20.0010.00715.63
7.1.10.0020.01115.76
7.1.00.0050.03017.77
7.0.330.0020.01115.37
7.0.320.0030.00715.22
7.0.310.0060.00715.35
7.0.300.0070.00515.31
7.0.290.0060.00615.18
7.0.280.0070.00815.23
7.0.270.0040.00715.23
7.0.260.0000.01715.37
7.0.250.0040.00915.18
7.0.240.0070.00515.27
7.0.230.0050.00915.37
7.0.220.0090.00415.40
7.0.210.0060.00515.34
7.0.200.0050.00615.80
7.0.190.0080.00315.18
7.0.180.0090.00315.38
7.0.170.0050.00615.24
7.0.160.0060.00615.31
7.0.150.0030.01115.38
7.0.140.0070.02517.45
7.0.130.0040.00915.37
7.0.120.0090.00415.12
7.0.110.0010.01015.40
7.0.100.0040.00715.18
7.0.90.0050.00815.39
7.0.80.0040.00615.39
7.0.70.0040.01215.45
7.0.60.0030.03616.92
7.0.50.0080.02016.24
7.0.40.0080.01715.60
7.0.30.0160.02715.44
7.0.20.0090.02815.55
7.0.10.0010.02115.61
7.0.00.0040.03015.48
5.6.400.0030.00914.25
5.6.390.0080.00414.71
5.6.380.0050.00714.37
5.6.370.0050.00914.10
5.6.360.0020.01114.11
5.6.350.0050.00714.37
5.6.340.0060.00814.69
5.6.330.0060.00914.66
5.6.320.0090.00514.38
5.6.310.0070.00814.39
5.6.300.0050.00814.40
5.6.290.0050.00714.23
5.6.280.0080.02716.48
5.6.270.0080.00314.40
5.6.260.0040.01014.38
5.6.250.0060.01014.29
5.6.240.0080.00514.32
5.6.230.0040.00414.30
5.6.220.0070.00714.44
5.6.210.0130.02016.49
5.6.200.0020.03515.67
5.6.190.0010.02716.24
5.6.180.0210.02716.33
5.6.170.0110.03216.37
5.6.160.0100.03316.45
5.6.150.0030.01915.78
5.6.140.0040.01915.47
5.6.130.0050.03415.68
5.6.120.0050.01716.54
5.6.110.0100.02916.54
5.6.100.0060.03316.61
5.6.90.0070.03016.56
5.6.80.0080.01616.35
5.6.70.0080.00714.31
5.6.60.0060.00714.30
5.6.50.0060.00714.36
5.6.40.0050.00614.04
5.6.30.0090.00714.24
5.6.20.0080.00614.25
5.6.10.0030.01114.18
5.6.00.0070.00414.11
5.5.380.0040.00712.81
5.5.370.0030.01012.78
5.5.360.0070.00712.69
5.5.350.0100.03315.26
5.5.340.0110.02314.46
5.5.330.0070.02815.35
5.5.320.0110.01915.35
5.5.310.0130.02315.20
5.5.300.0060.01614.54
5.5.290.0030.03514.42
5.5.280.0050.01915.46
5.5.270.0090.02015.37
5.5.260.0050.02615.45
5.5.250.0060.03015.35
5.5.240.0040.02815.12
5.5.230.0070.00412.65
5.5.220.0050.00512.65
5.5.210.0060.00612.72
5.5.200.0020.00812.79
5.5.190.0050.00712.82
5.5.180.0070.00512.88
5.5.170.0080.00612.53
5.5.160.0040.00912.74
5.5.150.0020.00612.75
5.5.140.0050.00712.75
5.5.130.0050.00712.59
5.5.120.0050.00712.55
5.5.110.0050.00312.58
5.5.100.0110.00012.66
5.5.90.0050.00712.65
5.5.80.0030.00412.75
5.5.70.0020.00912.76
5.5.60.0050.00812.78
5.5.50.0050.00712.74
5.5.40.0020.01112.64
5.5.30.0030.00812.76
5.5.20.0000.01012.77
5.5.10.0090.00212.59
5.5.00.0020.00812.61
5.4.450.0120.02114.38
5.4.440.0110.01914.33
5.4.430.0080.02014.25
5.4.420.0080.02114.38
5.4.410.0070.02214.35
5.4.400.0040.02414.23
5.4.390.0100.01814.28
5.4.380.0140.01714.09
5.4.370.0120.02114.04
5.4.360.0110.02514.01
5.4.350.0080.02914.08
5.4.340.0060.02314.01
5.4.330.0030.00811.75
5.4.320.0030.01812.00
5.4.310.0060.01612.00
5.4.300.0060.02012.00
5.4.290.0040.01811.99
5.4.280.0040.01811.96
5.4.270.0030.01711.96
5.4.260.0030.01811.96
5.4.250.0040.02011.96
5.4.240.0070.01411.96
5.4.230.0050.01411.96
5.4.220.0060.01511.96
5.4.210.0050.01911.96
5.4.200.0060.01511.96
5.4.190.0070.01911.96
5.4.180.0070.01911.96
5.4.170.0150.03211.96
5.4.160.0080.01811.96
5.4.150.0060.02011.96
5.4.140.0070.02011.85
5.4.130.0050.02011.85
5.4.120.0070.01811.83
5.4.110.0100.02611.83
5.4.100.0110.01611.83
5.4.90.0080.01811.83
5.4.80.0100.02611.83
5.4.70.0100.01711.83
5.4.60.0100.01411.83
5.4.50.0060.02011.83
5.4.40.0100.01611.83
5.4.30.0060.02111.82
5.4.20.0100.01811.82
5.4.10.0090.02811.82
5.4.00.0090.01711.65
5.3.290.0030.01812.10
5.3.280.0060.01612.07
5.3.270.0080.01812.08
5.3.260.0060.02112.08
5.3.250.0070.02012.08
5.3.240.0110.01612.08
5.3.230.0110.01712.07
5.3.220.0110.03512.06
5.3.210.0070.02012.06
5.3.200.0060.01912.06
5.3.190.0080.01712.06
5.3.180.0070.01912.06
5.3.170.0140.03312.06
5.3.160.0080.01812.06
5.3.150.0070.02012.06
5.3.140.0060.01812.06
5.3.130.0070.01812.05
5.3.120.0090.01912.05
5.3.110.0150.03212.06
5.3.100.0060.01911.88
5.3.90.0100.01611.86
5.3.80.0100.01611.86
5.3.70.0070.01711.86
5.3.60.0070.01811.86
5.3.50.0070.01911.84
5.3.40.0060.02111.84
5.3.30.0090.01611.83
5.3.20.0080.01611.75
5.3.10.0060.01811.74
5.3.00.0050.01811.73
5.2.170.0100.01710.19
5.2.160.0080.02010.19
5.2.150.0070.02010.19
5.2.140.0070.02010.19
5.2.130.0070.02010.17
5.2.120.0050.02210.17
5.2.110.0050.02410.17
5.2.100.0120.04610.17
5.2.90.0080.02010.17
5.2.80.0110.01910.17
5.2.70.0070.02110.17
5.2.60.0080.02110.14
5.2.50.0090.02010.13
5.2.40.0120.01910.12
5.2.30.0070.02110.11
5.2.20.0200.03710.10
5.2.10.0070.02110.06
5.2.00.0090.0189.99
5.1.60.0060.0179.63
5.1.50.0100.0159.63
5.1.40.0110.0309.62
5.1.30.0080.0209.80
5.1.20.0120.0159.81
5.1.10.0090.0159.67
5.1.00.0100.0169.67
5.0.50.0100.0128.91
5.0.40.0050.0158.84
5.0.30.0070.0218.75
5.0.20.0050.0158.74
5.0.10.0050.0138.72
5.0.00.0050.0208.72
4.4.90.0060.0117.98
4.4.80.0040.0137.96
4.4.70.0040.0117.97
4.4.60.0030.0127.96
4.4.50.0160.0297.97
4.4.40.0040.0177.94
4.4.30.0080.0097.97
4.4.20.0050.0118.01
4.4.10.0060.0098.01
4.4.00.0050.0167.97
4.3.110.0060.0097.92
4.3.100.0050.0097.92
4.3.90.0060.0097.90
4.3.80.0040.0167.88
4.3.70.0040.0107.90
4.3.60.0080.0097.90
4.3.50.0060.0107.90
4.3.40.0140.0387.86
4.3.30.0040.0117.24
4.3.20.0020.0127.24
4.3.10.0040.0117.22
4.3.00.0020.0128.88

preferences:
46.01 ms | 401 KiB | 5 Q