3v4l.org

run code in 300+ PHP versions simultaneously
<?php $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://abc.wyz.com/services/Soap/m/28.0/00D50000000IdrE </metadataServerUrl><passwordExpired>false</passwordExpired><sandbox>false</sandbox><serverUrl>https://abc.wyz.com/services/Soap/c/28.0/00D50000000IdrE </serverUrl><sessionId>00D50000000IdrE!AREAQK4VYXRaXw3ahAt2Cge254wygiW7cr_f6DVa2pDC6g57w5IEfidAu3ZRsJFBN5Bwb6DVhF18zKFiVVyT</sessionId><userId>005500AAC</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>ABC</organizationName><profileId>00e500000017al5AAA</profileId><roleId xsi:nil=\”true\”/><sessionSecondsValid>7200</sessionSecondsValid><userDefaultCurrencyIsoCode xsi:nil=\”true\”/><userEmail>ramana@3clogic.com</userEmail><userFullName>hemanonearth</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> EOD; $sxe = new SimpleXMLElement($xml); $sxe->registerXPathNamespace('env', 'http://schemas.xmlsoap.org/soap/envelope/'); $sxe->registerXPathNamespace('def', 'urn:enterprise.soap.sforce.com'); $result = $sxe->xpath('/env:Envelope/env:Body/def:loginResponse/def:result/def:serverUrl'); echo count($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.80
8.3.50.0080.01321.21
8.3.40.0110.00419.18
8.3.30.0110.01119.04
8.3.20.0040.00419.02
8.3.10.0080.00021.52
8.3.00.0080.00024.16
8.2.180.0150.00617.00
8.2.170.0220.00022.96
8.2.160.0140.00020.64
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00421.12
8.2.110.0050.00521.30
8.2.100.0120.00018.03
8.2.90.0090.00018.10
8.2.80.0000.00819.27
8.2.70.0080.00018.05
8.2.60.0090.00017.75
8.2.50.0070.00417.63
8.2.40.0070.00317.88
8.2.30.0050.00319.55
8.2.20.0040.00417.84
8.2.10.0040.00417.88
8.2.00.0030.00717.86
8.1.280.0110.00725.92
8.1.270.0040.00423.99
8.1.260.0130.00326.35
8.1.250.0030.00628.09
8.1.240.0040.00721.96
8.1.230.0000.01121.20
8.1.220.0030.00517.91
8.1.210.0040.00418.77
8.1.200.0040.00417.73
8.1.190.0030.00517.48
8.1.180.0000.00819.39
8.1.170.0070.00019.19
8.1.160.0070.00019.00
8.1.150.0000.00818.74
8.1.140.0000.00817.67
8.1.130.0070.00018.03
8.1.120.0040.00417.54
8.1.110.0030.00517.63
8.1.100.0060.00317.60
8.1.90.0090.00017.63
8.1.80.0070.00017.71
8.1.70.0040.00417.63
8.1.60.0070.00017.79
8.1.50.0040.00417.68
8.1.40.0050.00317.59
8.1.30.0030.00517.86
8.1.20.0080.00017.88
8.1.10.0030.00617.71
8.1.00.0060.00317.84
8.0.300.0080.00020.07
8.0.290.0040.00417.00
8.0.280.0030.00318.55
8.0.270.0000.00817.11
8.0.260.0000.00617.05
8.0.250.0040.00417.19
8.0.240.0030.00617.29
8.0.230.0000.00817.11
8.0.220.0050.00217.06
8.0.210.0000.00717.26
8.0.200.0070.00017.16
8.0.190.0040.00417.18
8.0.180.0000.00717.07
8.0.170.0030.00516.98
8.0.160.0040.00417.12
8.0.150.0040.00417.03
8.0.140.0000.00717.09
8.0.130.0000.00613.58
8.0.120.0040.00416.98
8.0.110.0000.00717.14
8.0.100.0040.00417.18
8.0.90.0000.00817.02
8.0.80.0090.00917.19
8.0.70.0040.00417.04
8.0.60.0000.00717.05
8.0.50.0000.00816.96
8.0.30.0100.01017.28
8.0.20.0110.00817.40
8.0.10.0060.00317.23
8.0.00.0070.01116.94
7.4.330.0030.00315.14
7.4.320.0000.00616.53
7.4.300.0030.00316.84
7.4.290.0070.00016.81
7.4.280.0000.00716.80
7.4.270.0000.00716.79
7.4.260.0040.00313.52
7.4.250.0040.00416.66
7.4.240.0000.00716.80
7.4.230.0030.00316.75
7.4.220.0080.01916.81
7.4.210.0050.01116.78
7.4.200.0030.00316.75
7.4.190.0000.00716.81
7.4.160.0160.00316.70
7.4.150.0100.01017.40
7.4.140.0150.00317.86
7.4.130.0100.01116.69
7.4.120.0110.00716.77
7.4.110.0030.01616.70
7.4.100.0070.01016.53
7.4.90.0150.00316.85
7.4.80.0140.00519.37
7.4.70.0120.00616.79
7.4.60.0120.00616.55
7.4.50.0060.00316.46
7.4.40.0000.01522.52
7.4.30.0140.00316.67
7.4.10.0080.01115.09
7.4.00.0060.01015.02
7.3.330.0000.00513.35
7.3.320.0050.00313.46
7.3.310.0040.00216.38
7.3.300.0040.00416.43
7.3.290.0110.01116.46
7.3.280.0090.00916.55
7.3.270.0080.00817.40
7.3.260.0050.01618.24
7.3.250.0130.00616.67
7.3.240.0090.00916.71
7.3.230.0140.00516.60
7.3.210.0070.01016.87
7.3.200.0100.01319.39
7.3.190.0070.01016.79
7.3.180.0080.00816.41
7.3.170.0070.01016.65
7.3.160.0080.00816.77
7.3.130.0050.01314.84
7.3.120.0070.01015.01
7.3.110.0040.01414.90
7.3.100.0040.01114.82
7.3.90.0060.00815.04
7.3.80.0080.00614.93
7.3.70.0020.01214.91
7.3.60.0040.01115.01
7.3.50.0040.00914.84
7.3.40.0080.00514.80
7.3.30.0070.00814.80
7.3.20.0060.00816.68
7.3.10.0070.00616.69
7.3.00.0050.01016.60
7.2.330.0240.01416.64
7.2.320.0110.00716.76
7.2.310.0090.00916.61
7.2.300.0110.00716.50
7.2.290.0050.01116.45
7.2.260.0100.00814.97
7.2.250.0040.01315.17
7.2.240.0100.00614.97
7.2.230.0100.00615.02
7.2.220.0050.00715.03
7.2.210.0050.00915.00
7.2.200.0070.00814.94
7.2.190.0030.01215.03
7.2.180.0040.00815.02
7.2.170.0050.00815.00
7.2.160.0110.00415.02
7.2.150.0060.00416.82
7.2.140.0030.00916.78
7.2.130.0070.00716.80
7.2.120.0030.01016.80
7.2.110.0030.01216.73
7.2.100.0060.00816.74
7.2.90.0060.00616.84
7.2.80.0050.00816.85
7.2.70.0030.00816.89
7.2.60.0060.00716.85
7.2.50.0070.00716.72
7.2.40.0080.00616.80
7.2.30.0030.01116.87
7.2.20.0070.00816.81
7.2.10.0040.01116.94
7.2.00.0060.01117.23
7.1.330.0050.00915.79
7.1.320.0070.00615.86
7.1.310.0070.00715.80
7.1.300.0110.00315.56
7.1.290.0110.00315.66
7.1.280.0040.01115.77
7.1.270.0040.01115.65
7.1.260.0070.00915.83
7.1.250.0060.00715.72
7.1.240.0080.00715.66
7.1.230.0030.01015.57
7.1.220.0020.01115.77
7.1.210.0060.00515.82
7.1.200.0050.00715.66
7.1.190.0030.01115.66
7.1.180.0050.01015.67
7.1.170.0010.01115.71
7.1.160.0060.00715.79
7.1.150.0080.00715.69
7.1.140.0040.00815.78
7.1.130.0050.00715.73
7.1.120.0060.00515.73
7.1.110.0030.00815.81
7.1.100.0050.00816.23
7.1.90.0060.01215.82
7.1.80.0060.00615.74
7.1.70.0040.00716.04
7.1.60.0070.01016.70
7.1.50.0080.00816.00
7.1.40.0090.00615.66
7.1.30.0060.00915.61
7.1.20.0050.00915.76
7.1.10.0040.00715.76
7.1.00.0060.02617.43
7.0.330.0050.01115.47
7.0.320.0040.00815.43
7.0.310.0060.00915.43
7.0.300.0020.00715.33
7.0.290.0070.00315.40
7.0.280.0030.00915.44
7.0.270.0030.00915.44
7.0.260.0060.00715.27
7.0.250.0040.01015.42
7.0.240.0020.01215.51
7.0.230.0040.01115.48
7.0.220.0050.00615.36
7.0.210.0060.00915.41
7.0.200.0060.00715.80
7.0.190.0040.00915.49
7.0.180.0050.00915.53
7.0.170.0030.00915.35
7.0.160.0050.00815.48
7.0.150.0000.01315.26
7.0.140.0080.02017.22
7.0.130.0040.00815.42
7.0.120.0050.00715.47
7.0.110.0040.00815.34
7.0.100.0050.00915.42
7.0.90.0030.00815.57
7.0.80.0050.01015.37
7.0.70.0050.02517.06
7.0.60.0020.02517.19
7.0.50.0030.02517.10
7.0.40.0040.02615.12
7.0.30.0110.02215.12
7.0.20.0070.02515.13
7.0.10.0080.02315.22
7.0.00.0060.02515.10
5.6.400.0060.00814.16
5.6.390.0050.00914.52
5.6.380.0070.00714.24
5.6.370.0090.00514.46
5.6.360.0070.00714.32
5.6.350.0080.00614.47
5.6.340.0110.00314.29
5.6.330.0040.00614.43
5.6.320.0040.01114.50
5.6.310.0080.00614.24
5.6.300.0070.00614.46
5.6.290.0070.00514.52
5.6.280.0010.02616.04
5.6.270.0040.00814.34
5.6.260.0060.00814.39
5.6.250.0060.00714.47
5.6.240.0070.00614.29
5.6.230.0040.00814.22
5.6.220.0060.02315.85
5.6.210.0070.02615.95
5.6.200.0040.02515.91
5.6.190.0040.02716.07
5.6.180.0060.02816.00
5.6.170.0040.02416.13
5.6.160.0050.02516.02
5.6.150.0040.01716.11
5.6.140.0050.02615.99
5.6.130.0040.02216.06
5.6.120.0030.02616.12
5.6.110.0090.02316.10
5.6.100.0050.02316.06
5.6.90.0060.02116.03
5.6.80.0060.02615.86
5.6.70.0040.02815.84
5.6.60.0040.02015.89
5.6.50.0110.02415.86
5.6.40.0060.01515.89
5.6.30.0030.01715.79
5.6.20.0040.02015.82
5.6.10.0050.02315.67
5.6.00.0050.02515.74
5.5.380.0060.00613.33
5.5.370.0050.00813.30
5.5.360.0060.02514.92
5.5.350.0030.02615.09
5.5.340.0040.01915.22
5.5.330.0060.01815.15
5.5.320.0040.02615.18
5.5.310.0060.02515.18
5.5.300.0070.01915.17
5.5.290.0020.02615.11
5.5.280.0060.02515.22
5.5.270.0050.02515.16
5.5.260.0060.02415.17
5.5.250.0050.02215.02
5.5.240.0090.02114.79
5.5.230.0040.02614.96
5.5.220.0040.02214.94
5.5.210.0040.02615.02
5.5.200.0050.02714.99
5.5.190.0060.02514.90
5.5.180.0030.02914.92
5.5.170.0010.01113.10
5.5.160.0070.02314.99
5.5.150.0070.02414.89
5.5.140.0030.02615.04
5.5.130.0050.02714.91
5.5.120.0040.02514.93
5.5.110.0060.02314.87
5.5.100.0070.02214.94
5.5.90.0050.02614.94
5.5.80.0050.02614.78
5.5.70.0050.02814.82
5.5.60.0050.02814.93
5.5.50.0030.02915.03
5.5.40.0060.02014.92
5.5.30.0060.01714.84
5.5.20.0040.02614.98
5.5.10.0080.02614.89
5.5.00.0060.02414.93
5.4.450.0030.02413.79
5.4.440.0060.02313.80
5.4.430.0040.02713.79
5.4.420.0050.02513.73
5.4.410.0020.02113.73
5.4.400.0080.01913.64
5.4.390.0050.02513.68
5.4.380.0070.02313.63
5.4.370.0030.02213.71
5.4.360.0040.02513.71
5.4.350.0030.01413.71
5.4.340.0080.01913.68
5.4.330.0030.00511.86
5.4.320.0030.02113.65
5.4.310.0040.02113.71
5.4.300.0070.02013.66
5.4.290.0060.02013.72
5.4.280.0070.01613.71
5.4.270.0050.02213.70
5.4.260.0040.02513.71
5.4.250.0080.02013.71
5.4.240.0060.02313.71
5.4.230.0090.02313.69
5.4.220.0030.02813.68
5.4.210.0060.02313.71
5.4.200.0050.01813.71
5.4.190.0010.02613.74
5.4.180.0060.01913.71
5.4.170.0060.02513.69
5.4.160.0020.02213.63
5.4.150.0080.02313.71
5.4.140.0050.02413.03
5.4.130.0060.02313.06
5.4.120.0050.02313.06
5.4.110.0040.02613.05
5.4.100.0040.02313.04
5.4.90.0040.02513.06
5.4.80.0040.02113.01
5.4.70.0040.02313.04
5.4.60.0030.02413.06
5.4.50.0030.02213.04
5.4.40.0080.02113.05
5.4.30.0030.02512.99
5.4.20.0050.02413.02
5.4.10.0040.02313.02
5.4.00.0030.02412.90
5.3.290.0020.02612.59
5.3.280.0060.02412.61
5.3.270.0030.02112.55
5.3.260.0060.02112.58
5.3.250.0030.02212.55
5.3.240.0040.01912.60
5.3.230.0050.02612.59
5.3.220.0030.02412.54
5.3.210.0040.02312.59
5.3.200.0050.01712.60
5.3.190.0060.01612.60
5.3.180.0050.01812.55
5.3.170.0040.02312.54
5.3.160.0020.02412.55
5.3.150.0040.01912.55
5.3.140.0070.02312.58
5.3.130.0060.02112.54
5.3.120.0050.02412.58
5.3.110.0040.01712.57
5.3.100.0050.02412.46
5.3.90.0040.02412.41
5.3.80.0050.02112.44
5.3.70.0030.02312.46
5.3.60.0030.02312.46
5.3.50.0030.02412.38
5.3.40.0050.02312.41
5.3.30.0050.02112.39
5.3.20.0040.02312.37
5.3.10.0060.02112.37
5.3.00.0050.02012.34
5.2.170.0020.03411.75
5.2.160.0050.02211.75
5.2.150.0040.03211.75
5.2.140.0020.02411.75
5.2.130.0000.02511.75
5.2.120.0020.03411.75
5.2.110.0030.03211.75
5.2.100.0070.02811.75
5.2.90.0040.03011.75
5.2.80.0060.02811.75
5.2.70.0000.02511.75
5.2.60.0030.02311.75
5.2.50.0000.03411.75
5.2.40.0050.03111.75
5.2.30.0010.02911.75
5.2.20.0030.01811.75
5.2.10.0030.01911.75
5.2.00.0050.02811.75
5.1.60.0010.01811.75
5.1.50.0000.01911.75
5.1.40.0020.03111.75
5.1.30.0030.02111.75
5.1.20.0030.01611.75
5.1.10.0020.02711.75
5.1.00.0040.01911.75
5.0.50.0030.01511.75
5.0.40.0030.01411.75
5.0.30.0000.02511.75
5.0.20.0010.01811.75
5.0.10.0040.01211.75
5.0.00.0030.02911.75
4.4.90.0010.01711.75
4.4.80.0000.01211.75
4.4.70.0000.01411.75
4.4.60.0030.01911.75
4.4.50.0020.02011.75
4.4.40.0010.02011.75
4.4.30.0020.01211.75
4.4.20.0010.01311.75
4.4.10.0000.01311.75
4.4.00.0030.02311.75
4.3.110.0000.01911.75
4.3.100.0030.01511.75
4.3.90.0030.01811.75
4.3.80.0020.01511.75
4.3.70.0030.01711.75
4.3.60.0040.01911.75
4.3.50.0010.01511.75
4.3.40.0000.03011.75
4.3.30.0010.02111.75
4.3.20.0020.02011.75
4.3.10.0020.01711.75
4.3.00.0020.01211.75

preferences:
81.06 ms | 401 KiB | 5 Q