3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = '<?xml version="1.0" encoding="UTF-8"?> <samlp:LogoutRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" ID="%s" Version="2.0" IssueInstant="%s"> <saml:NameID></saml:NameID> <samlp:SessionInddex>ben</samlp:SessionInddex> </samlp:LogoutRequest>'; $logout = $movies = new \SimpleXMLElement($xml); if (false !== $nodes = $logout->xpath('//samlp:LogoutRequest/samlp:SessionIndex')) { foreach ($nodes as $node) { var_dump($node); } }

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.70.0040.01418.81
8.3.60.0210.00018.80
8.3.50.0100.00721.33
8.3.40.0060.01318.81
8.3.30.0040.01119.33
8.3.20.0000.00720.62
8.3.10.0080.00022.52
8.3.00.0050.00522.77
8.2.190.0090.00616.88
8.2.180.0100.01016.88
8.2.170.0070.01122.96
8.2.160.0070.00719.48
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0170.00326.16
8.2.120.0000.00820.04
8.2.110.0060.00321.50
8.2.100.0090.00618.03
8.2.90.0000.00819.46
8.2.80.0040.00418.14
8.2.70.0000.00817.88
8.2.60.0060.00318.30
8.2.50.0030.00518.10
8.2.40.0040.00718.47
8.2.30.0030.00618.40
8.2.20.0050.00318.06
8.2.10.0050.00218.11
8.2.00.0130.00018.23
8.1.280.0090.00625.92
8.1.270.0100.01018.91
8.1.260.0080.00026.35
8.1.250.0070.00728.09
8.1.240.0070.00423.00
8.1.230.0040.00820.66
8.1.220.0060.00318.03
8.1.210.0040.00418.77
8.1.200.0000.01017.72
8.1.190.0050.00317.60
8.1.180.0040.00418.10
8.1.170.0000.00818.89
8.1.160.0080.00022.54
8.1.150.0090.00318.98
8.1.140.0000.00717.75
8.1.130.0000.00718.15
8.1.120.0000.00717.83
8.1.110.0030.00617.77
8.1.100.0000.00717.75
8.1.90.0000.00817.64
8.1.80.0040.00417.90
8.1.70.0030.00317.73
8.1.60.0080.00018.05
8.1.50.0040.00418.01
8.1.40.0080.00017.76
8.1.30.0000.00817.86
8.1.20.0050.00318.16
8.1.10.0040.00417.98
8.1.00.0000.00917.90
8.0.300.0040.00418.77
8.0.290.0040.00417.25
8.0.280.0000.00718.87
8.0.270.0000.00717.59
8.0.260.0040.00417.25
8.0.250.0000.00717.20
8.0.240.0000.00717.20
8.0.230.0000.00717.26
8.0.220.0040.00417.16
8.0.210.0030.00317.10
8.0.200.0000.00717.15
8.0.190.0040.00717.43
8.0.180.0040.00417.27
8.0.170.0000.00817.16
8.0.160.0040.00417.13
8.0.150.0050.00317.04
8.0.140.0050.00217.07
8.0.130.0050.00013.78
8.0.120.0040.00417.07
8.0.110.0070.00017.33
8.0.100.0000.00717.21
8.0.90.0020.00517.08
8.0.80.0070.01117.27
8.0.70.0040.00417.25
8.0.60.0070.00017.06
8.0.50.0050.00217.24
8.0.30.0090.01017.50
8.0.20.0120.00617.57
8.0.10.0050.00317.30
8.0.00.0100.00817.04
7.4.330.0030.00315.00
7.4.320.0060.00016.93
7.4.300.0030.00316.92
7.4.290.0000.00717.04
7.4.280.0000.00816.91
7.4.270.0000.00817.09
7.4.260.0040.00416.69
7.4.250.0070.00017.06
7.4.240.0020.00516.95
7.4.230.0030.00316.92
7.4.220.0030.01616.91
7.4.210.0070.00916.97
7.4.200.0070.00016.95
7.4.190.0000.00716.85
7.4.160.0140.01016.75
7.4.150.0180.00017.40
7.4.140.0070.01417.86
7.4.130.0020.01816.85
7.4.120.0080.01116.73
7.4.110.0080.01216.91
7.4.100.0000.01716.81
7.4.90.0040.01616.70
7.4.80.0100.01019.39
7.4.70.0070.01116.73
7.4.60.0110.00717.04
7.4.50.0020.00216.81
7.4.40.0090.00222.77
7.4.30.0120.00416.83
7.4.00.0060.00615.00
7.3.330.0050.00013.27
7.3.320.0030.00313.57
7.3.310.0000.00716.61
7.3.300.0040.00416.59
7.3.290.0120.00616.64
7.3.280.0060.00916.63
7.3.270.0140.01017.40
7.3.260.0040.01417.05
7.3.250.0120.00816.84
7.3.240.0110.00616.82
7.3.230.0090.00916.63
7.3.210.0070.01016.70
7.3.200.0100.00619.39
7.3.190.0150.00916.91
7.3.180.0060.01016.94
7.3.170.0050.01016.68
7.3.160.0070.00716.65
7.3.120.0090.00614.95
7.3.10.0070.00916.70
7.3.00.0120.01216.79
7.2.330.0120.00617.12
7.2.320.0110.01616.91
7.2.310.0130.00316.91
7.2.300.0100.00617.10
7.2.290.0130.00317.13
7.2.130.0170.00617.02
7.2.120.0110.00816.98
7.2.110.0100.01016.88
7.2.100.0130.00917.11
7.2.90.0070.00717.06
7.2.80.0110.00417.04
7.2.70.0040.01217.20
7.2.60.0050.01016.97
7.2.50.0060.00617.09
7.2.40.0030.01017.09
7.2.30.0130.00017.29
7.2.20.0070.00317.01
7.2.10.0090.00617.05
7.2.00.0120.00317.14
7.1.250.0050.01115.82
7.1.200.0030.00916.10
7.1.70.0000.00716.97
7.1.60.0030.01319.82
7.1.50.0040.00816.84
7.1.00.0000.05022.62
7.0.200.0380.00314.84
7.0.140.0000.07022.31
7.0.100.0070.08720.32
7.0.90.0200.08020.14
7.0.80.0170.08320.08
7.0.70.0200.08020.28
7.0.60.0100.07720.10
7.0.50.0070.07720.45
7.0.40.0170.04320.20
7.0.30.0130.06020.26
7.0.20.0030.07320.34
7.0.10.0070.09020.34
7.0.00.0030.06320.25
5.6.280.0000.07721.21
5.6.250.0200.06720.80
5.6.240.0100.05720.87
5.6.230.0030.09320.73
5.6.220.0130.07320.73
5.6.210.0170.06320.76
5.6.200.0170.07721.35
5.6.190.0100.04721.18
5.6.180.0100.05321.29
5.6.170.0030.08321.14
5.6.160.0070.08721.23
5.6.150.0130.05321.19
5.6.140.0200.07021.18
5.6.130.0070.08321.16
5.6.120.0070.07321.32
5.6.110.0130.07721.21
5.6.100.0030.05021.24
5.6.90.0000.05721.20
5.6.80.0030.04320.55
5.6.70.0100.07720.54
5.6.60.0070.06720.60
5.6.50.0130.08020.53
5.6.40.0100.07020.52
5.6.30.0130.07720.61
5.6.20.0070.07720.65
5.6.10.0100.07320.63
5.6.00.0030.07320.50
5.5.380.0030.09020.75
5.5.370.0100.08020.66
5.5.360.0030.07720.47
5.5.350.0070.08720.66
5.5.340.0130.07020.91
5.5.330.0070.08020.92
5.5.320.0200.06320.95
5.5.310.0130.06720.96
5.5.300.0030.08021.01
5.5.290.0030.06320.93
5.5.280.0130.08021.06
5.5.270.0030.08720.91
5.5.260.0200.07721.03
5.5.250.0130.07020.72
5.5.240.0100.07720.32
5.5.230.0100.03720.43
5.5.220.0030.06020.41
5.5.210.0170.07320.44
5.5.200.0100.05320.39
5.5.190.0100.04720.45
5.5.180.0200.03720.30
5.5.160.0070.08320.36
5.5.150.0170.07020.43
5.5.140.0170.04320.45
5.5.130.0200.06320.38
5.5.120.0030.08320.35
5.5.110.0130.06720.28
5.5.100.0170.06720.28
5.5.90.0030.04320.24
5.5.80.0030.04020.34
5.5.70.0070.07720.15
5.5.60.0030.06320.27
5.5.50.0100.07020.30
5.5.40.0100.07720.23
5.5.30.0100.07320.17
5.5.20.0030.04720.29
5.5.10.0070.06320.16
5.5.00.0070.08020.13
5.4.450.0130.06719.57
5.4.440.0100.07319.52
5.4.430.0030.06719.71
5.4.420.0100.07719.76
5.4.410.0070.06019.46
5.4.400.0100.07319.29
5.4.390.0030.05019.28
5.4.380.0000.08019.30
5.4.370.0100.08019.28
5.4.360.0100.08019.28
5.4.350.0100.06719.19
5.4.340.0070.06719.04
5.4.320.0070.08019.02
5.4.310.0100.07319.28
5.4.300.0100.06019.40
5.4.290.0130.06019.08
5.4.280.0130.07319.30
5.4.270.0030.08019.23
5.4.260.0100.07019.09
5.4.250.0130.06319.22
5.4.240.0070.07719.23
5.4.230.0000.07019.39
5.4.220.0030.06319.17
5.4.210.0100.06319.22
5.4.200.0000.04719.38
5.4.190.0000.07019.22
5.4.180.0070.08319.22
5.4.170.0030.07719.16
5.4.160.0100.07319.27
5.4.150.0030.06719.25
5.4.140.0100.07316.46
5.4.130.0030.07316.53
5.4.120.0030.05716.55
5.4.110.0170.05316.56
5.4.100.0030.03716.54
5.4.90.0070.07016.61
5.4.80.0130.05716.41
5.4.70.0200.03016.50
5.4.60.0000.04716.49
5.4.50.0170.06716.61
5.4.40.0030.07316.58
5.4.30.0000.04316.59
5.4.20.0000.04716.33
5.4.10.0030.07716.40
5.4.00.0000.08315.93
5.3.290.0070.07314.79
5.3.280.0100.03314.78
5.3.270.0030.05314.60
5.3.260.0100.06014.80
5.3.250.0070.06314.73
5.3.240.0030.08014.75
5.3.230.0130.06314.73
5.3.220.0100.07314.77
5.3.210.0030.08314.71
5.3.200.0030.08014.70
5.3.190.0000.04314.71
5.3.180.0100.07314.75
5.3.170.0030.07314.75
5.3.160.0030.04314.74
5.3.150.0070.08014.70
5.3.140.0100.04014.70
5.3.130.0000.08714.74
5.3.120.0100.03714.73
5.3.110.0030.07014.71
5.3.100.0070.06314.06
5.3.90.0070.05314.15
5.3.80.0070.04714.02
5.3.70.0100.07014.14
5.3.60.0100.03714.10
5.3.50.0130.06314.09
5.3.40.0130.07014.14
5.3.30.0070.04714.10
5.3.20.0030.05313.70
5.3.10.0100.06313.84
5.3.00.0130.05313.83
5.2.170.0100.05712.11
5.2.160.0030.06312.11
5.2.150.0200.05312.11
5.2.140.0030.06012.11
5.2.130.0070.04712.11
5.2.120.0070.06012.11
5.2.110.0070.03012.11
5.2.100.0030.06712.11
5.2.90.0100.05012.11
5.2.80.0000.05312.11
5.2.70.0030.03712.11
5.2.60.0000.07012.11
5.2.50.0000.04012.11
5.2.40.0030.06712.11
5.2.30.0070.06012.11
5.2.20.0000.06312.11
5.2.10.0030.06012.11
5.2.00.0030.06312.11
5.1.60.0030.05012.11
5.1.50.0130.03012.11
5.1.40.0000.05712.11
5.1.30.0130.03012.11
5.1.20.0070.05712.11
5.1.10.0070.05712.11
5.1.00.0030.04012.11
5.0.50.0030.05012.11
5.0.40.0070.03012.11
5.0.30.0030.05012.11
5.0.20.0030.02312.11
5.0.10.0000.04012.11
5.0.00.0070.04012.11
4.4.90.0030.03312.11
4.4.80.0000.03012.11
4.4.70.0030.03712.11
4.4.60.0070.03312.11
4.4.50.0000.03712.11
4.4.40.0000.05712.11
4.4.30.0000.02012.11
4.4.20.0000.03312.11
4.4.10.0130.02312.11
4.4.00.0000.05312.11
4.3.110.0000.02712.11
4.3.100.0000.01712.11
4.3.90.0030.03312.11
4.3.80.0030.03712.11
4.3.70.0000.03712.11
4.3.60.0000.03312.11
4.3.50.0100.02712.11
4.3.40.0000.05712.11
4.3.30.0000.03312.11
4.3.20.0030.03012.11
4.3.10.0000.02712.11
4.3.00.0000.03712.11

preferences:
36.39 ms | 401 KiB | 5 Q