3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = '<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:getBundles"> <soapenv:Header> <soapenv:Body> <urn:getBundles soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <request xsi:type="urn:getBundlesRequest" xmlns:urn="urn:SelfcareWebservice"> <userid>hexa</userid> <password>hexa123</password> <requestid>000</requestid> <msisdn>60182003838</msisdn> <productname xsi:type="xsd:string"></productname> <bundlename xsi:type="xsd:string"></bundlename> </request> </urn:getBundles> </soapenv:Body> </soapenv:Envelope>'; $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', 'getBundlesResponse'); // $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; 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.0040.01118.68
8.3.50.0120.00721.15
8.3.40.0040.01119.12
8.3.30.0140.00019.32
8.3.20.0040.00419.02
8.3.10.0050.00319.45
8.3.00.0080.00023.95
8.2.180.0130.01018.91
8.2.170.0060.00922.96
8.2.160.0100.00320.73
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0080.00021.26
8.2.110.0070.00322.30
8.2.100.0040.00818.03
8.2.90.0040.00418.03
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0000.00918.16
8.2.50.0030.00518.07
8.2.40.0000.00818.47
8.2.30.0030.00520.02
8.2.20.0000.00717.83
8.2.10.0030.00517.93
8.2.00.0040.00718.05
8.1.280.0120.00325.92
8.1.270.0040.00423.99
8.1.260.0160.00326.35
8.1.250.0050.00228.09
8.1.240.0030.00722.75
8.1.230.0000.01221.10
8.1.220.0030.00617.89
8.1.210.0000.00919.02
8.1.200.0040.00417.48
8.1.190.0000.00717.79
8.1.180.0080.00018.10
8.1.170.0030.00618.62
8.1.160.0000.00719.18
8.1.150.0000.00818.93
8.1.140.0040.00417.55
8.1.130.0050.00318.02
8.1.120.0000.00717.63
8.1.110.0000.00817.64
8.1.100.0000.00717.77
8.1.90.0000.00817.66
8.1.80.0040.00417.59
8.1.70.0040.00417.55
8.1.60.0040.00417.66
8.1.50.0040.00417.63
8.1.40.0000.00817.75
8.1.30.0080.00017.98
8.1.20.0000.00817.97
8.1.10.0040.00417.95
8.1.00.0030.00917.68
8.0.300.0000.00720.02
8.0.290.0030.00717.13
8.0.280.0000.00718.55
8.0.270.0000.00717.50
8.0.260.0000.00717.17
8.0.250.0080.00017.18
8.0.240.0000.00917.16
8.0.230.0040.00417.18
8.0.220.0030.00317.25
8.0.210.0040.00417.14
8.0.200.0030.00317.15
8.0.190.0000.00817.27
8.0.180.0030.00717.16
8.0.170.0060.00317.00
8.0.160.0000.00817.20
8.0.150.0000.00917.14
8.0.140.0030.00517.05
8.0.130.0030.00313.48
8.0.120.0050.00317.05
8.0.110.0040.00417.03
8.0.100.0000.00917.20
8.0.90.0040.00417.06
8.0.80.0090.00617.15
8.0.70.0030.00717.03
8.0.60.0050.00317.13
8.0.50.0040.00417.07
8.0.30.0160.00817.21
8.0.20.0110.00717.40
8.0.10.0050.00217.22
8.0.00.0100.00917.00
7.4.330.0050.00015.12
7.4.320.0060.00016.85
7.4.300.0000.00616.75
7.4.290.0070.00016.80
7.4.280.0000.00816.71
7.4.270.0030.00316.84
7.4.260.0050.00013.58
7.4.250.0000.00816.82
7.4.240.0000.00716.90
7.4.230.0070.00016.79
7.4.220.0070.01016.90
7.4.210.0050.01016.83
7.4.200.0070.00016.90
7.4.190.0030.00316.94
7.4.160.0080.00816.59
7.4.150.0100.00717.40
7.4.140.0120.00517.86
7.4.130.0090.00916.76
7.4.120.0130.00516.85
7.4.110.0040.01516.87
7.4.100.0070.01116.80
7.4.90.0060.01216.73
7.4.80.0090.00619.37
7.4.70.0150.00416.89
7.4.60.0100.00716.66
7.4.50.0000.00916.46
7.4.40.0000.01522.27
7.4.30.0070.01016.86
7.4.00.0050.00215.28
7.3.330.0000.00513.27
7.3.320.0040.00413.36
7.3.310.0000.00716.32
7.3.300.0040.00416.42
7.3.290.0080.00816.47
7.3.280.0090.00816.53
7.3.270.0080.00917.40
7.3.260.0070.01018.24
7.3.250.0120.00916.82
7.3.240.0160.00016.73
7.3.230.0100.00716.73
7.3.210.0150.00316.75
7.3.200.0060.01219.39
7.3.190.0030.01316.66
7.3.180.0080.00816.62
7.3.170.0090.00616.64
7.3.160.0120.00916.48
7.3.120.0030.01315.14
7.2.330.0090.00916.73
7.2.320.0050.01416.79
7.2.310.0090.00916.46
7.2.300.0000.01816.79
7.2.290.0130.00316.70
7.2.80.0100.01016.63
7.2.60.0040.01216.98
7.2.00.0080.00319.42
7.1.200.0120.00315.63
7.1.100.0060.00618.10
7.1.70.0000.00817.04
7.1.60.0030.02019.40
7.1.50.0110.00816.53
7.1.00.0000.06022.55
7.0.200.0150.00315.11
7.0.140.0030.07322.21
7.0.70.0070.04321.77
7.0.60.0100.07721.85
7.0.50.0100.08022.20
7.0.40.0030.08320.17
7.0.30.0030.07020.12
7.0.20.0070.05320.18
7.0.10.0000.08320.11
7.0.00.0100.08020.20
5.6.280.0030.07321.06
5.6.220.0030.04720.63
5.6.210.0030.07020.71
5.6.200.0000.08721.10
5.6.190.0070.07721.25
5.6.180.0130.07021.12
5.6.170.0030.08320.97
5.6.160.0070.06720.98
5.6.150.0030.06021.16
5.6.140.0030.08321.12
5.6.130.0170.06321.19
5.6.120.0030.06321.11
5.6.110.0070.07721.28
5.6.100.0100.06721.15
5.6.90.0100.06721.08
5.6.80.0100.06720.51
5.6.70.0000.05720.50
5.6.60.0030.07320.43
5.6.50.0000.06020.67
5.6.40.0030.05020.41
5.6.30.0070.05320.52
5.6.20.0070.06720.45
5.6.10.0030.05020.54
5.6.00.0070.06020.48
5.5.360.0000.07020.46
5.5.350.0000.08020.36
5.5.340.0030.08720.99
5.5.330.0070.07320.87
5.5.320.0100.08720.96
5.5.310.0030.05720.86
5.5.300.0000.05720.84
5.5.290.0070.08721.03
5.5.280.0130.07720.97
5.5.270.0030.06321.00
5.5.260.0100.07020.90
5.5.250.0070.04720.56
5.5.240.0100.07320.39
5.5.230.0000.05020.41
5.5.220.0070.05720.33
5.5.210.0030.08020.24
5.5.200.0000.06320.09
5.5.190.0070.04020.20
5.5.180.0030.05320.36
5.5.160.0000.08020.26
5.5.150.0030.07020.29
5.5.140.0070.05320.29
5.5.130.0070.06020.19
5.5.120.0000.07720.38
5.5.110.0030.05720.30
5.5.100.0000.09320.23
5.5.90.0030.07320.28
5.5.80.0100.07720.26
5.5.70.0070.03320.13
5.5.60.0070.07320.14
5.5.50.0030.06720.13
5.5.40.0030.08020.18
5.5.30.0000.08020.24
5.5.20.0000.08020.18
5.5.10.0000.07720.23
5.5.00.0000.07320.22
5.4.450.0030.06019.68
5.4.440.0030.07319.44
5.4.430.0000.06019.55
5.4.420.0070.05719.52
5.4.410.0070.06019.28
5.4.400.0100.06719.23
5.4.390.0030.04319.25
5.4.380.0070.03318.98
5.4.370.0030.06719.23
5.4.360.0100.07719.25
5.4.350.0030.07719.23
5.4.340.0030.04319.18
5.4.320.0070.07019.22
5.4.310.0030.05719.26
5.4.300.0070.06319.00
5.4.290.0030.07319.21
5.4.280.0030.07319.25
5.4.270.0030.07018.98
5.4.260.0000.04719.25
5.4.250.0000.08019.02
5.4.240.0000.04718.97
5.4.230.0070.03719.10
5.4.220.0070.06319.10
5.4.210.0070.05718.99
5.4.200.0070.06719.21
5.4.190.0000.05719.10
5.4.180.0070.06319.19
5.4.170.0070.07019.25
5.4.160.0030.07318.96
5.4.150.0030.06718.97
5.4.140.0030.07716.57
5.4.130.0000.07316.59
5.4.120.0070.06316.30
5.4.110.0030.07316.60
5.4.100.0070.06016.60
5.4.90.0070.06716.55
5.4.80.0100.07016.56
5.4.70.0070.07016.57
5.4.60.0030.07016.56
5.4.50.0030.06716.54
5.4.40.0100.06316.56
5.4.30.0030.07316.65
5.4.20.0000.07016.55
5.4.10.0100.07016.61
5.4.00.0030.06015.92
5.3.290.0070.07314.82
5.3.280.0030.07714.71
5.3.270.0070.07014.73
5.3.260.0030.05714.60
5.3.250.0030.06714.79
5.3.240.0070.05714.72
5.3.230.0030.05014.72
5.3.220.0070.06714.73
5.3.210.0070.07714.63
5.3.200.0030.06714.59
5.3.190.0030.05314.56
5.3.180.0030.07714.78
5.3.170.0030.07714.55
5.3.160.0070.06714.73
5.3.150.0030.07014.80
5.3.140.0070.05314.62
5.3.130.0000.05014.67
5.3.120.0000.04714.73
5.3.110.0030.08314.67
5.3.100.0100.05314.07
5.3.90.0030.05714.04
5.3.80.0030.07314.18
5.3.70.0030.07014.08
5.3.60.0030.05714.13
5.3.50.0030.06714.08
5.3.40.0100.05714.02
5.3.30.0000.07713.98
5.3.20.0000.07013.84
5.3.10.0030.06313.64
5.3.00.0070.06013.80
5.2.170.0000.06311.20
5.2.160.0000.06011.27
5.2.150.0000.05311.27
5.2.140.0030.05311.32
5.2.130.0000.06311.34
5.2.120.0030.06711.16
5.2.110.0030.04711.26
5.2.100.0000.04311.09
5.2.90.0070.05711.16
5.2.80.0030.05011.27
5.2.70.0000.05311.33
5.2.60.0030.04011.02
5.2.50.0000.05711.14
5.2.40.0030.06011.13
5.2.30.0000.06011.17
5.2.20.0000.06710.95
5.2.10.0070.05711.04
5.2.00.0070.05010.88
5.1.60.0000.05310.83
5.1.50.0000.04710.83
5.1.40.0030.05310.83
5.1.30.0030.05710.83
5.1.20.0030.05310.83
5.1.10.0030.04310.83
5.1.00.0070.04710.83
5.0.50.0000.04010.83
5.0.40.0000.04310.83
5.0.30.0000.06710.83
5.0.20.0000.03710.83
5.0.10.0030.03710.83
5.0.00.0000.04310.83
4.4.90.0000.03710.83
4.4.80.0030.02310.83
4.4.70.0000.03310.83
4.4.60.0000.03310.83
4.4.50.0000.02710.83
4.4.40.0000.04310.83
4.4.30.0000.02010.83
4.4.20.0000.03310.83
4.4.10.0030.03710.83
4.4.00.0070.05010.83
4.3.110.0000.03310.83
4.3.100.0070.03010.83
4.3.90.0000.03310.83
4.3.80.0000.05310.83
4.3.70.0000.03310.83
4.3.60.0030.02710.83
4.3.50.0030.03710.83
4.3.40.0000.05310.83
4.3.30.0030.02710.83
4.3.20.0030.03310.83
4.3.10.0030.02710.83
4.3.00.0100.03010.83

preferences:
46.08 ms | 401 KiB | 5 Q