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 $sxe; ?>

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.0100.01016.63
8.3.50.0030.01118.32
8.3.40.0140.00318.96
8.3.30.0070.00718.97
8.3.20.0050.00318.77
8.3.10.0100.00020.78
8.3.00.0080.00019.50
8.2.180.0110.00418.79
8.2.170.0170.00322.96
8.2.160.0040.01119.08
8.2.150.0030.00524.18
8.2.140.0040.01124.66
8.2.130.0120.00626.16
8.2.120.0080.00021.02
8.2.110.0070.00321.31
8.2.100.0120.00017.97
8.2.90.0000.00819.30
8.2.80.0030.00617.97
8.2.70.0060.00317.75
8.2.60.0090.00018.16
8.2.50.0040.00418.10
8.2.40.0060.00318.42
8.2.30.0040.00418.16
8.2.20.0030.00619.57
8.2.10.0050.00317.88
8.2.00.0000.00718.02
8.1.280.0040.01125.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00721.56
8.1.230.0090.00317.82
8.1.220.0030.00617.80
8.1.210.0000.00818.77
8.1.200.0090.00017.38
8.1.190.0050.00317.36
8.1.180.0040.00418.10
8.1.170.0000.00819.17
8.1.160.0040.00419.07
8.1.150.0040.00418.93
8.1.140.0000.00817.66
8.1.130.0000.00818.05
8.1.120.0080.00017.60
8.1.110.0000.00717.62
8.1.100.0050.00317.72
8.1.90.0000.00817.58
8.1.80.0000.00717.67
8.1.70.0040.00417.59
8.1.60.0000.00917.70
8.1.50.0030.00617.75
8.1.40.0030.00517.64
8.1.30.0030.00617.94
8.1.20.0030.00517.84
8.1.10.0040.00417.87
8.1.00.0000.00717.74
8.0.300.0000.00918.84
8.0.290.0000.00716.88
8.0.280.0030.00318.73
8.0.270.0040.00417.43
8.0.260.0030.00318.55
8.0.250.0040.00417.14
8.0.240.0030.00317.15
8.0.230.0000.00817.17
8.0.220.0030.00317.18
8.0.210.0040.00417.21
8.0.200.0030.00317.19
8.0.190.0070.00017.23
8.0.180.0070.00017.13
8.0.170.0040.00417.07
8.0.160.0000.00717.21
8.0.150.0030.00616.99
8.0.140.0030.00517.15
8.0.130.0000.00513.62
8.0.120.0000.00817.11
8.0.110.0050.00317.22
8.0.100.0040.00417.04
8.0.90.0040.00417.20
8.0.80.0070.01417.18
8.0.70.0040.00417.09
8.0.60.0070.00017.06
8.0.50.0040.00417.14
8.0.30.0160.00617.33
8.0.20.0070.01317.21
8.0.10.0040.00417.19
8.0.00.0180.00516.87
7.4.330.0000.00513.14
7.4.320.0030.00316.68
7.4.300.0070.00016.84
7.4.290.0000.00716.93
7.4.280.0070.00016.65
7.4.270.0000.00716.68
7.4.260.0050.00013.53
7.4.250.0030.00616.85
7.4.240.0000.00816.84
7.4.230.0000.00716.77
7.4.220.0100.01016.67
7.4.210.0130.00316.75
7.4.200.0000.00816.84
7.4.190.0000.00716.95
7.4.160.0100.00616.77
7.4.150.0060.01216.95
7.4.140.0090.01016.79
7.4.130.0060.01216.68
7.4.120.0030.01416.79
7.4.110.0120.01216.77
7.4.100.0070.01116.70
7.4.90.0090.00816.57
7.4.80.0030.01419.39
7.4.70.0160.00316.71
7.4.60.0130.00316.79
7.4.50.0050.00016.83
7.4.40.0060.00916.70
7.4.30.0100.00716.87
7.4.00.0120.00315.02
7.3.330.0030.00313.20
7.3.320.0030.00313.31
7.3.310.0040.00416.56
7.3.300.0070.00016.47
7.3.290.0080.00816.47
7.3.280.0100.00916.53
7.3.270.0060.01016.70
7.3.260.0090.00916.59
7.3.250.0100.01116.47
7.3.240.0030.01416.65
7.3.230.0070.01016.69
7.3.210.0140.00316.72
7.3.200.0130.00316.64
7.3.190.0060.01016.68
7.3.180.0090.00616.78
7.3.170.0080.00816.64
7.3.160.0070.01116.66
7.3.120.0040.01414.92
7.2.330.0060.01217.07
7.2.320.0090.00916.87
7.2.310.0070.01416.96
7.2.300.0100.01016.71
7.2.290.0030.01316.59
7.2.110.0030.01416.42
7.2.100.0110.00816.81
7.2.90.0130.00016.66
7.2.80.0140.00516.37
7.2.70.0050.01017.10
7.2.60.0290.00816.88
7.2.50.0080.01516.94
7.2.40.0160.00416.94
7.2.30.0090.00917.05
7.2.20.0150.00617.11
7.2.10.0050.01516.65
7.2.00.0090.00618.25
7.1.230.0110.00815.71
7.1.220.0130.00015.98
7.1.210.1360.00315.84
7.1.200.0070.00715.95
7.1.190.0110.00215.93
7.1.180.0100.00316.02
7.1.170.0280.01215.67
7.1.160.0120.00315.96
7.1.150.0110.00415.80
7.1.140.0080.00815.70
7.1.130.0060.01115.83
7.1.120.0100.00615.84
7.1.110.0130.00815.65
7.1.100.0030.01016.80
7.1.90.0040.01215.97
7.1.80.0120.00215.95
7.1.70.0080.00816.60
7.1.60.0050.00917.57
7.1.50.0110.00316.56
7.1.40.0100.00715.89
7.1.30.0160.00415.61
7.1.20.0090.00916.02
7.1.10.0030.01215.87
7.1.00.0040.04319.18
7.0.310.0110.00415.37
7.0.300.0070.00715.37
7.0.290.0160.00015.66
7.0.280.0120.00615.63
7.0.270.0000.01415.70
7.0.260.0110.00515.63
7.0.250.0120.00415.77
7.0.240.0130.00315.53
7.0.230.0070.00515.47
7.0.220.0260.00315.52
7.0.210.0100.00515.79
7.0.200.0100.00215.97
7.0.190.0050.01115.50
7.0.180.0110.00415.65
7.0.170.0100.00715.48
7.0.160.0100.00315.54
7.0.150.0050.00915.75
7.0.140.0050.04118.83
7.0.130.0120.00615.68
7.0.120.0110.03418.71
7.0.110.0080.00415.47
7.0.100.0110.00415.36
7.0.90.0120.00415.63
7.0.80.0090.00915.43
7.0.70.0080.00815.34
7.0.60.0100.03817.75
7.0.50.0100.02016.72
7.0.40.0160.02716.91
7.0.30.0170.02216.83
7.0.20.0170.03716.85
7.0.10.0080.02816.84
7.0.00.0100.02616.89
5.6.380.0160.00314.40
5.6.370.0110.00414.27
5.6.360.0120.00614.70
5.6.350.0170.00014.46
5.6.340.0070.01014.54
5.6.330.0090.00314.27
5.6.320.0080.00814.41
5.6.310.0090.00414.27
5.6.300.0030.01014.39
5.6.290.0100.00314.82
5.6.280.0100.03717.90
5.6.270.0150.00014.60
5.6.260.0090.00914.55
5.6.250.0120.00613.99
5.6.240.0090.00514.47
5.6.230.0140.00414.45
5.6.220.0110.00514.72
5.6.210.0100.04317.56
5.6.200.0110.04416.53
5.6.190.0080.02417.34
5.6.180.0240.04217.49
5.6.170.0210.02517.49
5.6.160.0100.04317.60
5.6.150.0080.02316.24
5.6.140.0100.04216.43
5.6.130.0040.04916.37
5.6.120.0080.04517.75
5.6.110.0090.04317.82
5.6.100.0070.04517.56
5.6.90.0130.04117.70
5.6.80.0080.02517.23
5.6.70.2330.02317.33
5.6.60.0090.00614.14
5.6.50.0130.00014.25
5.6.40.0080.00614.38
5.6.30.0030.01014.15
5.6.20.0120.00614.21
5.6.10.0120.00614.43
5.6.00.0120.00014.16
5.5.380.0090.00311.19
5.5.370.0040.00710.90
5.5.360.0120.00411.35
5.5.350.0080.03415.78
5.5.340.0050.03814.53
5.5.330.0070.04515.74
5.5.320.0100.02515.85
5.5.310.0190.04015.77
5.5.300.0030.02714.70
5.5.290.0050.02714.60
5.5.280.0060.02316.07
5.5.270.0080.04515.98
5.5.260.0060.04816.18
5.5.250.0110.04015.96
5.5.240.0060.02815.67
5.5.230.0080.00311.06
5.5.220.0040.01111.17
5.5.210.0110.00311.20
5.5.200.0100.00011.04
5.5.190.0070.00711.15
5.5.180.0070.00311.23
5.5.170.0130.00314.45
5.5.160.0130.00011.03
5.5.150.0090.00611.02
5.5.140.0050.00511.23
5.5.130.0050.00511.02
5.5.120.0100.00311.14
5.5.110.0060.00611.10
5.5.100.0090.00310.93
5.5.90.0110.00311.05
5.5.80.0130.00011.18
5.5.70.0050.00510.93
5.5.60.0090.00610.70
5.5.50.0070.00710.97
5.5.40.0040.00811.25
5.5.30.0050.00510.95
5.5.20.0130.00011.03
5.5.10.0110.00011.16
5.5.00.0080.00411.25
5.4.450.0120.02815.20
5.4.440.0130.03315.38
5.4.430.0120.01715.24
5.4.420.0030.03515.37
5.4.410.0080.02114.94
5.4.400.0080.03915.17
5.4.390.0090.02015.08
5.4.380.0070.02015.13
5.4.370.0100.03515.26
5.4.360.0050.03715.11
5.4.350.0020.04715.11
5.4.340.0110.03815.33
5.4.330.0070.01010.68
5.4.320.0030.03515.15
5.4.310.0030.04415.12
5.4.300.0030.03115.30
5.4.290.0070.03115.14
5.4.280.0100.03614.96
5.4.270.0090.03215.19
5.4.260.0060.02315.04
5.4.250.0110.03315.02
5.4.240.0040.03214.93
5.4.230.0110.02515.03
5.4.220.0080.02215.04
5.4.210.0110.02215.11
5.4.200.0040.02714.98
5.4.190.0040.02915.11
5.4.180.0120.03514.82
5.4.170.0100.02515.25
5.4.160.0120.03714.89
5.4.150.0070.02314.95
5.4.140.0050.02213.76
5.4.130.0100.02013.77
5.4.120.0050.02113.76
5.4.110.0170.03013.81
5.4.100.0030.02713.75
5.4.90.0090.03013.92
5.4.80.0090.01913.78
5.4.70.0070.03913.85
5.4.60.0080.03513.74
5.4.50.0130.02313.79
5.4.40.0090.03713.72
5.4.30.0080.03013.85
5.4.20.0080.01813.84
5.4.10.0070.03913.59
5.4.00.0060.03313.45
5.3.290.0110.02212.74
5.3.280.0070.04012.64
5.3.270.0070.04312.67
5.3.260.0100.04012.63
5.3.250.0060.03012.63
5.3.240.0040.02212.63
5.3.230.0040.03012.62
5.3.220.0060.03812.58
5.3.210.0050.02212.61
5.3.200.0050.03912.66
5.3.190.0170.01512.61
5.3.180.0090.02012.68
5.3.170.0110.01712.58
5.3.160.0070.03012.60
5.3.150.0070.04012.65
5.3.140.0080.03012.63
5.3.130.0090.02612.65
5.3.120.0070.02412.52
5.3.110.0090.02512.66
5.3.100.0070.02212.35
5.3.90.0100.03312.40
5.3.80.0090.03012.39
5.3.70.0090.02112.27
5.3.60.0100.03912.27
5.3.50.0030.03312.33
5.3.40.0030.03412.25
5.3.30.0040.04112.22
5.3.20.0060.02512.16
5.3.10.0080.02112.21
5.3.00.0050.02212.13
5.2.170.0040.03510.90
5.2.160.0080.01510.95
5.2.150.0060.02710.96
5.2.140.0070.02911.00
5.2.130.0050.02310.91
5.2.120.0070.01710.83
5.2.110.0080.03210.98
5.2.100.0070.01910.84
5.2.90.0050.01510.84
5.2.80.0070.02810.89
5.2.70.0060.03510.84
5.2.60.0080.03310.83
5.2.50.0080.02310.79
5.2.40.0040.03710.80
5.2.30.0030.03510.91
5.2.20.0020.01910.83
5.2.10.0040.01910.88
5.2.00.0040.01910.77
5.1.60.0040.01810.43
5.1.50.0050.01410.37
5.1.40.0070.01310.42
5.1.30.0020.01610.58
5.1.20.0030.01410.51
5.1.10.0020.01710.42
5.1.00.0000.01910.37
5.0.50.0040.0129.66
5.0.40.0050.0089.61
5.0.30.0040.0159.57
5.0.20.0020.0119.52
5.0.10.0020.0149.54
5.0.00.0030.0159.53
4.4.90.0050.0139.12
4.4.80.0010.0159.12
4.4.70.0060.0089.12
4.4.60.0040.0099.12
4.4.50.0020.0169.12
4.4.40.0000.0169.12
4.4.30.0010.0099.12
4.4.20.0030.0089.12
4.4.10.0060.0069.12
4.4.00.0000.0169.12
4.3.110.0030.0109.12
4.3.100.0020.0089.12
4.3.90.0000.0099.12
4.3.80.0020.0159.12
4.3.70.0030.0079.12
4.3.60.0020.0109.12
4.3.50.0030.0089.12
4.3.40.0000.0149.12
4.3.30.0000.0109.12
4.3.20.0020.0109.12
4.3.10.0020.0109.12
4.3.00.0020.0079.12

preferences:
69.65 ms | 401 KiB | 5 Q