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 'hello';

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.0090.00617.25
8.3.50.0170.00917.57
8.3.40.0120.00319.40
8.3.30.0120.00319.01
8.3.20.0040.00419.03
8.3.10.0060.00320.73
8.3.00.0040.00419.63
8.2.180.0120.00925.92
8.2.170.0090.00619.16
8.2.160.0040.01122.96
8.2.150.0090.00625.66
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0100.00318.98
8.2.110.0100.00020.86
8.2.100.0000.01217.97
8.2.90.0080.00019.33
8.2.80.0000.00917.97
8.2.70.0000.00817.75
8.2.60.0040.00418.05
8.2.50.0080.00018.10
8.2.40.0060.00618.41
8.2.30.0000.00818.23
8.2.20.0060.00319.68
8.2.10.0070.00018.15
8.2.00.0080.00017.86
8.1.280.0140.00425.92
8.1.270.0050.00323.99
8.1.260.0000.00826.35
8.1.250.0060.00328.09
8.1.240.0060.00324.07
8.1.230.0080.00423.00
8.1.220.0050.00317.77
8.1.210.0000.00818.77
8.1.200.0040.00417.37
8.1.190.0000.00817.47
8.1.180.0060.00318.10
8.1.170.0000.00819.07
8.1.160.0000.00819.11
8.1.150.0000.00718.75
8.1.140.0000.00817.66
8.1.130.0000.00718.05
8.1.120.0040.00417.74
8.1.110.0050.00317.71
8.1.100.0000.00717.48
8.1.90.0050.00217.46
8.1.80.0040.00317.61
8.1.70.0040.00417.55
8.1.60.0040.00417.68
8.1.50.0020.00517.71
8.1.40.0040.00417.66
8.1.30.0040.00417.71
8.1.20.0040.00417.96
8.1.10.0040.00417.74
8.1.00.0080.00017.77
8.0.300.0000.00718.77
8.0.290.0040.00416.84
8.0.280.0080.00018.66
8.0.270.0000.00717.42
8.0.260.0000.00616.97
8.0.250.0040.00417.28
8.0.240.0030.00317.02
8.0.230.0070.00017.18
8.0.220.0080.00017.14
8.0.210.0040.00417.00
8.0.200.0030.00317.28
8.0.190.0000.00717.18
8.0.180.0070.00017.15
8.0.170.0110.00017.14
8.0.160.0000.00716.96
8.0.150.0040.00416.91
8.0.140.0070.00317.07
8.0.130.0030.00313.70
8.0.120.0080.00017.16
8.0.110.0040.00416.95
8.0.100.0040.00417.02
8.0.90.0070.00017.07
8.0.80.0040.01117.14
8.0.70.0050.00317.07
8.0.60.0030.00517.05
8.0.50.0040.00417.14
8.0.30.0090.01217.46
8.0.20.0100.01817.24
8.0.10.0040.00417.14
8.0.00.0140.00717.03
7.4.330.0050.00013.29
7.4.320.0040.00416.66
7.4.300.0040.00416.77
7.4.290.0030.00316.62
7.4.280.0070.00316.74
7.4.270.0070.00016.75
7.4.260.0000.00513.43
7.4.250.0060.00316.67
7.4.240.0000.00716.68
7.4.230.0030.00316.55
7.4.220.0180.00616.74
7.4.210.0130.00316.78
7.4.200.0070.00016.94
7.4.190.0030.00616.91
7.4.160.0070.01016.78
7.4.150.0150.00316.71
7.4.140.0100.01416.73
7.4.130.0070.01016.82
7.4.120.0100.00916.76
7.4.110.0070.01716.72
7.4.100.0090.00916.89
7.4.90.0030.01416.52
7.4.80.0120.01219.39
7.4.70.0090.00916.86
7.4.60.0060.01216.78
7.4.50.0030.00616.50
7.4.40.0070.00416.68
7.4.30.0080.00916.77
7.4.00.0030.01315.08
7.3.330.0000.00613.40
7.3.320.0030.00313.20
7.3.310.0030.00316.54
7.3.300.0070.00016.50
7.3.290.0100.00916.53
7.3.280.0070.00916.48
7.3.270.0140.00516.75
7.3.260.0070.01116.68
7.3.250.0140.00916.57
7.3.240.0140.00316.75
7.3.230.0140.00316.53
7.3.210.0130.00916.54
7.3.200.0100.01016.63
7.3.190.0060.01016.52
7.3.180.0040.01416.66
7.3.170.0110.00716.52
7.3.160.0110.00716.51
7.3.120.0060.01015.13
7.3.110.0040.01115.04
7.3.100.0070.00714.85
7.3.90.0070.00415.02
7.3.80.0040.01114.82
7.3.70.0060.01014.73
7.3.60.0080.00314.95
7.3.50.0060.00615.08
7.3.40.0100.00714.88
7.3.30.0070.00715.08
7.3.20.0080.00416.59
7.3.10.0100.00616.58
7.3.00.0090.00616.38
7.2.330.0090.00916.58
7.2.320.0110.00716.49
7.2.310.0190.00316.78
7.2.300.0150.00616.55
7.2.290.0100.01316.81
7.2.240.0030.00715.16
7.2.230.0030.00915.18
7.2.220.0000.00915.05
7.2.210.0060.00314.76
7.2.200.0110.00414.98
7.2.190.0030.01215.11
7.2.180.0070.01114.94
7.2.170.0030.01014.88
7.2.160.0030.01214.87
7.2.150.0070.01116.73
7.2.140.0120.00017.09
7.2.130.0080.00316.78
7.2.120.0120.00316.87
7.2.110.0100.00716.79
7.2.100.0060.00916.63
7.2.90.0090.00916.62
7.2.80.0040.01117.09
7.2.70.0110.00416.62
7.2.60.0040.01016.76
7.2.50.0060.00916.86
7.2.40.0120.00616.70
7.2.30.0100.00616.57
7.2.20.0080.00916.85
7.2.10.0060.00916.86
7.2.00.0030.01218.22
7.1.330.0110.00415.91
7.1.320.0040.00716.04
7.1.310.0050.00915.56
7.1.300.0120.00315.58
7.1.290.0070.01115.83
7.1.280.0030.01315.80
7.1.270.0070.00715.62
7.1.260.0070.01015.88
7.1.250.0060.00915.74
7.1.200.0070.00715.47
7.1.70.0050.00317.23
7.1.60.0060.01919.30
7.1.50.0060.00617.00
7.1.00.0000.06722.55
7.0.200.0000.01716.80
7.0.140.0070.07322.11
7.0.120.0030.07322.13
7.0.60.0170.04320.13
7.0.50.0070.05718.11
7.0.40.0100.07720.44
7.0.30.0230.08720.19
7.0.20.0170.04020.16
7.0.10.0000.04720.27
7.0.00.0030.05720.25
5.6.280.0000.07321.17
5.6.210.0130.07320.73
5.6.200.0030.04318.26
5.6.190.0100.05720.41
5.6.180.3800.05020.63
5.6.170.0200.04020.58
5.6.160.0070.03720.55
5.6.150.0030.08318.41
5.6.140.0170.06318.35
5.6.130.0170.07718.30
5.6.120.0030.08021.23
5.6.110.0100.08021.20
5.6.100.0030.07721.16
5.6.90.0100.06321.17
5.6.80.0030.08020.59
5.5.350.0330.07320.59
5.5.340.0100.04318.15
5.5.330.0100.04720.35
5.5.320.0030.04020.42
5.5.310.0200.03720.35
5.5.300.0070.05018.10
5.5.290.0130.06318.20
5.5.280.0030.08320.81
5.5.270.0100.07021.00
5.5.260.0100.05720.91
5.5.250.0100.08320.54
5.5.240.0130.03720.40
5.4.450.3800.04019.64
5.4.440.3730.04719.62
5.4.430.3470.03719.61
5.4.420.3630.04319.65
5.4.410.2200.05019.36
5.4.400.3600.03319.36
5.4.390.3730.03719.33
5.4.380.3630.04019.14
5.4.370.3900.03719.13
5.4.360.3170.04319.36
5.4.350.3500.04019.39
5.4.340.3730.04319.07
5.4.320.3970.03319.13
5.4.310.3700.03719.16
5.4.300.3830.03719.31
5.4.290.3700.03719.20
5.4.280.4030.04319.33
5.4.270.3300.04019.10
5.4.260.3070.02719.04
5.4.250.2630.03019.06
5.4.240.2970.04319.33
5.4.230.3500.04719.04
5.4.220.0230.03719.31
5.4.210.0230.03719.32
5.4.200.0200.04019.13
5.4.190.0270.03319.29
5.4.180.0230.03719.04
5.4.170.0270.03319.32
5.4.160.0170.04019.36
5.4.150.0200.04719.20
5.4.140.0230.03716.66
5.4.130.0300.03016.78
5.4.120.0230.03316.74
5.4.110.0300.04316.68
5.4.100.0300.07016.71
5.4.90.0370.06016.39
5.4.80.0300.06716.64
5.4.70.0500.02316.68
5.4.60.0270.04016.57
5.4.50.0300.04716.58
5.4.40.0230.04716.61
5.4.30.0330.06316.44
5.4.20.0370.04016.63
5.4.10.0370.04016.45
5.4.00.0300.06716.03
5.3.290.3500.04314.71
5.3.280.1800.04014.75
5.3.270.0270.03314.64
5.3.260.0230.04314.69
5.3.250.0230.03714.65
5.3.240.0300.04014.84
5.3.230.0200.04014.66
5.3.220.0300.04314.63
5.3.210.0300.03014.73
5.3.200.0230.05014.61
5.3.190.0270.04014.62
5.3.180.0230.03714.63
5.3.170.0300.05714.63
5.3.160.0370.06314.60
5.3.150.0330.04714.71
5.3.140.0330.05014.71
5.3.130.0400.06014.78
5.3.120.0270.03714.63
5.3.110.0430.03714.74
5.3.100.0370.07014.07
5.3.90.0330.07014.06
5.3.80.0400.07014.09
5.3.70.0270.04714.00
5.3.60.0470.04714.09
5.3.50.0370.07014.00
5.3.40.0170.05713.99
5.3.30.0230.07314.09
5.3.20.0400.06013.93
5.3.10.0330.06313.69
5.3.00.0330.04313.71
5.2.170.0370.03311.72
5.2.160.0300.05311.72
5.2.150.0230.05711.72
5.2.140.0270.03011.72
5.2.130.0370.05011.72
5.2.120.0300.05711.72
5.2.110.0270.04311.72
5.2.100.0370.04311.72
5.2.90.0330.04011.72
5.2.80.0400.02311.72
5.2.70.0330.05311.72
5.2.60.0230.04011.72
5.2.50.0300.05711.72
5.2.40.0230.05311.72
5.2.30.0200.04711.72
5.2.20.0330.05011.72
5.2.10.0270.05311.72
5.2.00.0230.06011.72
5.1.60.0270.04711.75
5.1.50.0230.03711.79
5.1.40.0200.05011.82
5.1.30.0330.03311.83
5.1.20.0270.03711.86
5.1.10.0200.05711.86
5.1.00.0270.03311.86
5.0.50.0130.04711.86
5.0.40.0200.03011.86
5.0.30.0100.04311.86
5.0.20.0130.02711.86
5.0.10.0100.02011.89
5.0.00.0130.06011.89
4.4.90.0170.01711.72
4.4.80.0170.03311.72
4.4.70.0070.04011.72
4.4.60.0100.02311.72
4.4.50.0200.03011.72
4.4.40.0130.03711.79
4.4.30.0130.01311.81
4.4.20.0200.02711.86
4.4.10.0130.03311.86
4.4.00.0170.04711.86
4.3.110.0130.03311.86
4.3.100.0170.03011.86
4.3.90.0130.03311.89
4.3.80.0170.02711.93
4.3.70.0130.01711.93
4.3.60.0130.02011.94
4.3.50.0200.02011.94
4.3.40.0170.04011.95
4.3.30.0030.02711.95
4.3.20.0030.03711.95
4.3.10.0030.02711.95
4.3.00.0100.02311.95

preferences:
41.06 ms | 401 KiB | 5 Q