3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xmlString = <<<EOF <soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:body> <ns2:getauthresponse xmlns:ns2="http://dpd.com/common/service/types/LoginService/2.0" xmlns:ns3="http://dpd.com/common/service/exceptions"> <return> <delisid>thedelisid</delisid> <customeruid>thecustomerid</customeruid> <authtoken>theauthenticationcode</authtoken> <depot>thedepot</depot> </return> </ns2:getauthresponse> </soap:body> </soap:envelope> EOF; $xml = new SimpleXMLElement($xmlString); print_r($xml->body->return->authtoken);

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.0110.00416.63
8.3.50.0080.00922.05
8.3.40.0120.00318.81
8.3.30.0070.01419.04
8.3.20.0040.00420.41
8.3.10.0000.00823.65
8.3.00.0040.00419.10
8.2.180.0090.01318.75
8.2.170.0110.00322.96
8.2.160.0070.00720.61
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0070.00022.24
8.2.110.0100.00020.54
8.2.100.0090.00318.09
8.2.90.0040.00419.33
8.2.80.0000.00817.97
8.2.70.0040.00417.75
8.2.60.0030.00617.93
8.2.50.0050.00318.07
8.2.40.0040.00420.01
8.2.30.0050.00318.29
8.2.20.0080.00018.07
8.2.10.0040.00418.31
8.2.00.0040.00417.89
8.1.280.0090.00625.92
8.1.270.0070.00324.04
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0070.00323.98
8.1.230.0070.00424.13
8.1.220.0000.00817.80
8.1.210.0040.00418.77
8.1.200.0040.00417.35
8.1.190.0030.00617.13
8.1.180.0030.00619.09
8.1.170.0000.00818.61
8.1.160.0030.00522.19
8.1.150.0040.00418.75
8.1.140.0040.00417.64
8.1.130.0000.00717.96
8.1.120.0040.00417.66
8.1.110.0040.00417.62
8.1.100.0000.00817.52
8.1.90.0000.00717.52
8.1.80.0040.00417.49
8.1.70.0070.00017.46
8.1.60.0030.00717.76
8.1.50.0040.00417.54
8.1.40.0040.00417.68
8.1.30.0040.00417.76
8.1.20.0080.00017.71
8.1.10.0080.00017.66
8.1.00.0040.00417.68
8.0.300.0060.00318.77
8.0.290.0000.00717.28
8.0.280.0040.00418.59
8.0.270.0030.00317.34
8.0.260.0030.00317.28
8.0.250.0030.00317.08
8.0.240.0030.00617.04
8.0.230.0030.00617.00
8.0.220.0040.00417.14
8.0.210.0000.00716.93
8.0.200.0030.00317.05
8.0.190.0030.00417.09
8.0.180.0100.00017.00
8.0.170.0000.00717.16
8.0.160.0030.00316.97
8.0.150.0030.00517.05
8.0.140.0040.00416.92
8.0.130.0050.00013.55
8.0.120.0030.00617.05
8.0.110.0040.00416.98
8.0.100.0050.00217.14
8.0.90.0030.00317.07
8.0.80.0060.00917.06
8.0.70.0040.00416.99
8.0.60.0050.00216.96
8.0.50.0000.00717.09
8.0.30.0120.00917.10
8.0.20.0100.00817.40
8.0.10.0070.00017.22
8.0.00.0080.00916.81
7.4.330.0000.00615.24
7.4.320.0070.00016.61
7.4.300.0060.00316.83
7.4.290.0030.00316.55
7.4.280.0070.00016.81
7.4.270.0070.00016.83
7.4.260.0000.00716.64
7.4.250.0070.00016.63
7.4.240.0040.00416.82
7.4.230.0020.00516.54
7.4.220.0090.01116.72
7.4.210.0070.00716.66
7.4.200.0030.00416.62
7.4.190.0000.00716.79
7.4.160.0080.00816.71
7.4.150.0140.00317.40
7.4.140.0120.00517.86
7.4.130.0090.01016.68
7.4.120.0090.01116.66
7.4.110.0090.01116.41
7.4.100.0170.00716.54
7.4.90.0130.01016.78
7.4.80.0120.01219.39
7.4.70.0120.00316.53
7.4.60.0100.00616.73
7.4.50.0040.00416.54
7.4.40.0060.01216.83
7.4.30.0060.01016.83
7.4.00.0030.01215.07
7.3.330.0020.00213.26
7.3.320.0050.00013.10
7.3.310.0060.00016.25
7.3.300.0000.00816.41
7.3.290.0150.00016.36
7.3.280.0080.01116.42
7.3.270.0110.00617.40
7.3.260.0130.01016.38
7.3.250.0080.00816.49
7.3.240.0140.00816.41
7.3.230.0100.00616.59
7.3.210.0100.00716.54
7.3.200.0070.01419.39
7.3.190.0090.00916.55
7.3.180.0090.00616.38
7.3.170.0160.01816.63
7.3.160.0100.01316.53
7.3.120.0040.01114.73
7.2.330.0110.00716.55
7.2.320.0090.00916.93
7.2.310.0070.01016.56
7.2.300.0120.00316.36
7.2.290.0090.01116.47
7.2.60.0130.00316.96
7.2.00.0120.00819.34
7.1.200.0030.00615.68
7.1.100.0090.00318.39
7.1.70.0030.00317.26
7.1.60.0160.00919.46
7.1.50.0160.01316.97
7.1.00.0130.06722.56
7.0.200.0060.00316.60
7.0.140.0030.07722.02
7.0.60.0100.08020.14
7.0.50.0070.03717.92
7.0.40.0070.07320.16
7.0.30.0200.04720.27
7.0.20.0400.07020.27
7.0.10.0070.08020.28
7.0.00.0030.05720.15
5.6.280.0030.07320.95
5.6.210.0000.08720.82
5.6.200.0070.03718.30
5.6.190.0030.06020.81
5.6.180.0030.04320.84
5.6.170.0370.06320.48
5.6.160.0070.08720.77
5.6.150.0100.07718.24
5.6.140.0030.05018.25
5.6.130.0130.07718.26
5.6.120.0070.05721.16
5.6.110.0100.07021.03
5.6.100.0130.08321.03
5.6.90.0130.05721.21
5.6.80.0000.04320.40
5.5.350.3600.04020.54
5.5.340.0000.04318.07
5.5.330.0130.06720.60
5.5.320.0230.06720.32
5.5.310.0330.08320.48
5.5.300.0070.08318.02
5.5.290.0070.07718.09
5.5.280.0070.05020.89
5.5.270.0070.09020.72
5.5.260.0170.05720.96
5.5.250.0130.07720.57
5.5.240.0100.06320.18
5.4.450.0900.04319.25
5.4.440.0300.06319.41
5.4.430.0870.06319.66
5.4.420.0070.05719.65
5.4.410.0930.05019.09
5.4.400.1200.05018.92
5.4.390.0770.05319.20
5.4.380.0130.05318.85
5.4.370.0070.06318.87
5.4.360.0100.05318.75
5.4.350.0200.04718.54
5.4.340.0230.04018.60
5.4.320.0060.03712.63
5.4.310.0050.04412.63
5.4.300.0080.03512.63
5.4.290.0060.04112.62
5.4.280.0100.03512.52
5.4.270.0100.03412.52
5.4.260.0090.03912.52
5.4.250.0070.04012.52
5.4.240.0100.03712.52
5.4.230.0070.04312.51
5.4.220.0070.04112.51
5.4.210.0090.05212.51
5.4.200.0060.04512.51
5.4.190.0110.04112.51
5.4.180.0090.03912.50
5.4.170.0090.03812.52
5.4.160.0070.05112.51
5.4.150.0090.04912.50
5.4.140.0140.06712.19
5.4.130.0090.04612.18
5.4.120.0100.04812.13
5.4.110.0090.05912.13
5.4.100.0080.05112.13
5.4.90.0080.05612.13
5.4.80.0080.06412.13
5.4.70.0120.04612.13
5.4.60.0060.04012.13
5.4.50.0090.04012.13
5.4.40.0090.04012.12
5.4.30.0120.03912.12
5.4.20.0080.03912.11
5.4.10.0180.03712.12
5.4.00.0040.04011.61
5.3.290.0100.04512.89
5.3.280.0120.04212.82
5.3.270.0130.05412.83
5.3.260.0060.04312.84
5.3.250.0070.04212.83
5.3.240.0090.04012.83
5.3.230.0060.04812.83
5.3.220.0060.04412.80
5.3.210.0080.04112.80
5.3.200.0090.03812.79
5.3.190.0100.04012.80
5.3.180.0090.03712.79
5.3.170.0070.03912.79
5.3.160.0110.03712.79
5.3.150.0210.10412.79
5.3.140.0110.04112.78
5.3.130.0090.04012.78
5.3.120.0110.03712.77
5.3.110.0090.05412.78
5.3.100.0130.05012.26
5.3.90.0110.05112.24
5.3.80.0080.03612.23
5.3.70.0120.04712.23
5.3.60.0100.03912.22
5.3.50.0110.03512.16
5.3.40.0070.03812.16
5.3.30.0070.03912.13
5.3.20.0080.05011.91
5.3.10.0070.04011.87
5.3.00.0050.03911.86
5.2.170.0070.0419.36
5.2.160.0100.0419.36
5.2.150.0060.0339.36
5.2.140.0080.0409.36
5.2.130.0050.0439.32
5.2.120.0040.0439.32
5.2.110.0090.0429.32
5.2.100.0040.0349.31
5.2.90.0060.0349.31
5.2.80.0040.0329.30
5.2.70.0030.0349.30
5.2.60.0040.0339.26
5.2.50.0090.0389.23
5.2.40.0060.0369.21
5.2.30.0080.0289.18
5.2.20.0060.0299.20
5.2.10.0080.0269.11
5.2.00.0060.0298.98
5.1.60.0080.0228.26
5.1.50.0080.0218.25
5.1.40.0070.0238.24
5.1.30.0030.0288.59
5.1.20.0060.0278.61
5.1.10.0020.0308.33
5.1.00.0030.0288.32
5.0.50.0040.0206.81
5.0.40.0030.0206.67
5.0.30.0030.0326.48
5.0.20.0020.0216.45
5.0.10.0030.0206.44
5.0.00.0040.0316.43
4.4.90.0020.0164.78
4.4.80.0030.0154.75
4.4.70.0010.0184.75
4.4.60.0030.0164.75
4.4.50.0020.0164.77
4.4.40.0050.0244.70
4.4.30.0020.0164.76
4.4.20.0030.0164.84
4.4.10.0030.0154.85
4.4.00.0030.0264.76
4.3.110.0030.0164.67
4.3.100.0050.0184.66
4.3.90.0040.0154.63
4.3.80.0060.0224.58
4.3.70.0050.0134.63
4.3.60.0030.0154.62
4.3.50.0040.0154.63
4.3.40.0030.0254.54
4.3.30.0010.0183.30
4.3.20.0010.0183.28
4.3.10.0020.0163.22
4.3.00.0070.0238.07

preferences:
51.2 ms | 401 KiB | 5 Q