3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sxe = new SimpleXMLElement('<people xmlns:p="http://example.org/ns" xmlns:t="http://example.org/test"/>'); $xpath = new DOMXPath(($doc = dom_import_simplexml($sxe)->ownerDocument)); foreach($xpath->evaluate('/*/namespace::*') as $result) print_r($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.0120.00318.63
8.3.50.0120.00822.19
8.3.40.0090.01219.14
8.3.30.0070.00719.41
8.3.20.0040.00420.63
8.3.10.0080.00020.91
8.3.00.0080.00019.48
8.2.180.0040.01716.60
8.2.170.0130.00622.96
8.2.160.0100.00320.70
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0030.00522.42
8.2.110.0100.00022.75
8.2.100.0080.00318.03
8.2.90.0030.00619.42
8.2.80.0040.00417.97
8.2.70.0020.00717.88
8.2.60.0030.00618.16
8.2.50.0060.00319.36
8.2.40.0030.00518.40
8.2.30.0060.00519.73
8.2.20.0040.00418.02
8.2.10.0050.00218.46
8.2.00.0000.00718.11
8.1.280.0150.00025.92
8.1.270.0080.00022.35
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0090.00024.34
8.1.230.0090.00319.38
8.1.220.0000.00818.04
8.1.210.0080.00018.77
8.1.200.0030.00717.72
8.1.190.0000.00917.35
8.1.180.0040.00418.10
8.1.170.0050.00318.76
8.1.160.0040.00422.42
8.1.150.0000.00719.34
8.1.140.0040.00417.70
8.1.130.0030.00318.11
8.1.120.0000.00817.80
8.1.110.0000.00717.65
8.1.100.0040.00417.63
8.1.90.0040.00417.70
8.1.80.0000.00717.88
8.1.70.0000.00717.76
8.1.60.0000.00817.91
8.1.50.0040.00417.77
8.1.40.0040.00417.75
8.1.30.0030.00517.97
8.1.20.0040.00418.08
8.1.10.0020.00518.00
8.1.00.0030.00617.85
8.0.300.0080.00318.77
8.0.290.0000.00716.88
8.0.280.0000.00718.71
8.0.270.0000.00717.55
8.0.260.0030.00317.64
8.0.250.0000.00717.20
8.0.240.0030.00317.25
8.0.230.0070.00017.41
8.0.220.0070.00017.30
8.0.210.0000.00817.23
8.0.200.0000.00717.20
8.0.190.0040.00817.27
8.0.180.0040.00417.16
8.0.170.0040.00417.13
8.0.160.0030.00317.12
8.0.150.0030.00317.24
8.0.140.0050.00217.00
8.0.130.0000.00513.77
8.0.120.0070.00017.16
8.0.110.0040.00417.28
8.0.100.0040.00417.19
8.0.90.0000.00717.07
8.0.80.0130.00917.15
8.0.70.0000.00717.23
8.0.60.0040.00417.22
8.0.50.0030.00517.07
8.0.30.0090.00917.40
8.0.20.0140.00917.41
8.0.10.0050.00217.25
8.0.00.0130.00617.19
7.4.330.0030.00315.36
7.4.320.0030.00316.75
7.4.300.0030.00316.89
7.4.290.0070.00016.85
7.4.280.0000.00717.00
7.4.270.0080.00016.84
7.4.260.0000.00816.89
7.4.250.0040.00416.81
7.4.240.0020.00616.95
7.4.230.0040.00416.80
7.4.220.0110.00716.98
7.4.210.0070.00716.93
7.4.200.0070.00016.81
7.4.160.0030.01416.62
7.4.150.0000.01817.40
7.4.140.0090.01417.86
7.4.130.0030.01616.88
7.4.120.0120.00616.89
7.4.110.0110.00716.68
7.4.100.0150.00316.85
7.4.90.0080.01416.94
7.4.80.0070.01119.37
7.4.70.0030.01316.78
7.4.60.0100.00716.82
7.4.50.0030.00316.70
7.4.40.0060.01017.02
7.4.30.0130.00916.94
7.4.00.0070.00715.37
7.3.330.0050.00013.36
7.3.320.0000.00513.53
7.3.310.0070.00016.64
7.3.300.0030.00316.46
7.3.290.0070.00716.54
7.3.280.0090.00816.52
7.3.270.0090.00917.40
7.3.260.0130.00416.50
7.3.250.0130.00516.65
7.3.240.0100.00716.70
7.3.230.0060.00916.90
7.3.210.0090.00916.55
7.3.200.0100.00619.39
7.3.190.0070.01116.51
7.3.180.0090.00616.65
7.3.170.0130.00816.84
7.3.160.0100.00716.64
7.3.00.0110.01316.81
7.2.330.0130.00917.00
7.2.320.0070.01016.79
7.2.310.0170.00017.09
7.2.300.0100.00717.01
7.2.290.0000.02117.09
7.2.130.0080.00417.11
7.2.120.0150.00417.08
7.2.110.0160.01017.09
7.2.100.0140.00316.89
7.2.90.0150.00917.04
7.2.80.0130.01017.09
7.2.70.0140.00516.79
7.2.60.0060.01617.11
7.2.50.0120.00617.01
7.2.40.0090.01316.93
7.2.30.0170.00017.09
7.2.20.0000.01817.13
7.2.10.0140.00716.94
7.2.00.0080.00518.35
7.1.250.0070.01015.98
7.1.240.0140.00715.96
7.1.230.0060.01015.87
7.1.220.0130.00715.61
7.1.210.0120.00616.04
7.1.200.0090.01615.94
7.1.190.0210.00515.91
7.1.180.0160.00515.72
7.1.170.0060.00616.16
7.1.160.0070.00715.77
7.1.150.0070.01315.79
7.1.140.0100.00315.85
7.1.130.0080.00815.81
7.1.120.0140.00515.45
7.1.110.0030.00915.66
7.1.100.0070.00817.11
7.1.90.0130.00315.99
7.1.80.0000.00815.74
7.1.70.0000.00916.25
7.1.60.0040.00716.44
7.1.50.0090.00816.44
7.1.40.0000.00816.09
7.1.30.0030.00615.81
7.1.20.0120.00615.74
7.1.10.0100.00315.58
7.1.00.0110.03619.25
7.0.330.0110.00615.71
7.0.320.0090.00315.45
7.0.310.0090.01215.43
7.0.300.0120.00515.32
7.0.290.0120.00615.29
7.0.280.0030.01015.28
7.0.270.0150.00015.14
7.0.260.0000.01515.51
7.0.250.0070.00815.91
7.0.240.0030.01215.48
7.0.230.0030.00915.28
7.0.220.0000.00815.36
7.0.210.0090.00315.66
7.0.200.0050.01116.41
7.0.190.0070.00315.68
7.0.180.0000.01315.53
7.0.170.0080.00415.59
7.0.160.0080.00015.50
7.0.150.0080.00415.25
7.0.140.0070.04018.95
7.0.130.0070.00415.61
7.0.120.0050.04019.00
7.0.110.0060.02518.97
7.0.100.0000.03818.95
7.0.90.0050.04318.84
7.0.80.0040.04218.90
7.0.70.0070.03718.84
7.0.60.0020.04018.88
7.0.50.0020.04219.03
7.0.40.0030.04317.74
7.0.30.0100.02817.84
7.0.20.0050.04017.87
7.0.10.0000.04417.91
7.0.00.0050.03317.87
5.6.380.0030.01114.49
5.6.370.0090.00614.30
5.6.360.0030.01014.36
5.6.350.0070.00714.68
5.6.340.0080.00414.12
5.6.330.0060.00614.43
5.6.320.0050.00514.47
5.6.310.0000.01314.51
5.6.300.0070.00714.68
5.6.290.0100.00614.22
5.6.280.0110.03518.02
5.6.270.0060.00914.46
5.6.260.0050.03917.82
5.6.250.0080.03617.69
5.6.240.0050.03817.85
5.6.230.0000.04517.79
5.6.220.0070.03717.71
5.6.210.0020.03617.74
5.6.200.0080.03517.65
5.6.190.0050.03817.79
5.6.180.0020.03017.73
5.6.170.0090.03617.77
5.6.160.0050.04117.81
5.6.150.0050.03417.80
5.6.140.0050.04017.62
5.6.130.0030.03917.74
5.6.120.0020.04317.85
5.6.110.0050.03017.73
5.6.100.0030.04117.73
5.6.90.0050.04017.70
5.6.80.0120.03217.44
5.6.70.0020.04117.38
5.6.60.0090.03517.29
5.6.50.0050.03317.43
5.6.40.0080.03817.35
5.6.30.0060.03817.38
5.6.20.0010.04217.32
5.6.10.0050.03417.47
5.6.00.0060.04017.38
5.5.380.0050.03814.39
5.5.370.0070.03714.46
5.5.360.0000.04214.42
5.5.350.0040.03914.53
5.5.340.0020.04114.76
5.5.330.0000.04414.85
5.5.320.0040.04114.77
5.5.310.0070.03314.74
5.5.300.0000.04314.59
5.5.290.0080.03714.77
5.5.280.0050.03814.75
5.5.270.0030.03814.75
5.5.260.0080.03814.65
5.5.250.0050.03914.52
5.5.240.0050.03414.43
5.5.230.0020.04114.37
5.5.220.0040.03414.34
5.5.210.0030.03514.38
5.5.200.0040.03914.36
5.5.190.0040.04014.29
5.5.180.0050.03814.45
5.5.170.0040.00711.18
5.5.160.0050.03714.40
5.5.150.0070.03014.49
5.5.140.0050.03814.39
5.5.130.0030.03814.40
5.5.120.0090.03114.43
5.5.110.0050.03514.39
5.5.100.0020.02314.21
5.5.90.0030.02814.34
5.5.80.0050.02714.24
5.5.70.0050.02014.28
5.5.60.0040.03314.22
5.5.50.0130.02814.29
5.5.40.0020.02714.38
5.5.30.0030.02214.37
5.5.20.0060.03614.38
5.5.10.0030.03614.29
5.5.00.0020.04214.16
5.4.450.0030.04115.47
5.4.440.0020.04015.36
5.4.430.0080.02315.31
5.4.420.0030.03715.47
5.4.410.0030.03815.36
5.4.400.0020.03515.15
5.4.390.0030.03715.21
5.4.380.0070.03315.22
5.4.370.0060.03515.15
5.4.360.0050.02915.30
5.4.350.0080.03315.17
5.4.340.0030.03815.27
5.4.330.0030.00711.18
5.4.320.0040.03915.21
5.4.310.0050.03315.19
5.4.300.0050.03615.19
5.4.290.0050.03615.27
5.4.280.0000.04015.20
5.4.270.0060.03315.27
5.4.260.0040.03115.22
5.4.250.0050.02015.26
5.4.240.0050.03815.15
5.4.230.0100.03215.20
5.4.220.0070.03515.19
5.4.210.0040.03515.27
5.4.200.0060.02115.21
5.4.190.0040.03015.17
5.4.180.0010.03815.26
5.4.170.0020.04015.13
5.4.160.0020.02915.20
5.4.150.0020.02815.12
5.4.140.0050.03513.79
5.4.130.0020.03913.98
5.4.120.0110.02813.91
5.4.110.0050.03313.96
5.4.100.0030.03013.82
5.4.90.0050.01813.96
5.4.80.0030.02313.94
5.4.70.0000.02913.86
5.4.60.0050.03513.94
5.4.50.0060.03513.88
5.4.40.0070.02713.96
5.4.30.0050.02313.88
5.4.20.0010.03713.88
5.4.10.0040.03513.95
5.4.00.0060.03413.52
5.3.290.0070.03013.04
5.3.280.0020.02812.91
5.3.270.0050.03512.89
5.3.260.0020.03312.99
5.3.250.0070.01712.93
5.3.240.0050.02612.90
5.3.230.0020.03612.91
5.3.220.0030.03712.89
5.3.210.0030.03712.97
5.3.200.0020.03512.88
5.3.190.0020.02112.91
5.3.180.0070.03212.93
5.3.170.0050.02512.99
5.3.160.0030.03712.99
5.3.150.0030.03712.90
5.3.140.0050.03012.89
5.3.130.0080.03312.90
5.3.120.0050.03612.90
5.3.110.0030.03412.98
5.3.100.0070.02912.72
5.3.90.0030.03512.67
5.3.80.0000.03612.67
5.3.70.0030.03612.64
5.3.60.0050.03112.60
5.3.50.0050.02312.67
5.3.40.0030.01812.63
5.3.30.0030.01812.58
5.3.20.0050.02612.43
5.3.10.0030.03312.49
5.3.00.0020.03412.44
5.2.170.0010.01811.26
5.2.160.0020.01911.23
5.2.150.0000.01711.19
5.2.140.0050.02411.25
5.2.130.0030.03011.13
5.2.120.0050.02911.22
5.2.110.0060.02711.21
5.2.100.0050.02311.23
5.2.90.0030.02811.24
5.2.80.0030.02811.23
5.2.70.0030.03011.23
5.2.60.0030.03211.18
5.2.50.0050.03011.19
5.2.40.0050.02711.16
5.2.30.0050.02811.07
5.2.20.0000.03111.17
5.2.10.0040.02311.07
5.2.00.0060.02711.04
5.1.60.0030.02510.65
5.1.50.0020.02510.60
5.1.40.0040.02310.62
5.1.30.0040.02510.81
5.1.20.0040.02710.83
5.1.10.0000.02810.76
5.1.00.0040.02310.71
5.0.50.0030.02110.47
5.0.40.0030.02010.47
5.0.30.0050.02710.47
5.0.20.0030.01810.47
5.0.10.0060.01810.47
5.0.00.0020.03010.47
4.4.90.0020.01310.47
4.4.80.0020.01510.47
4.4.70.0010.01610.47
4.4.60.0000.01810.47
4.4.50.0000.01710.47
4.4.40.0030.02310.47
4.4.30.0030.01310.47
4.4.20.0030.01610.47
4.4.10.0010.01510.47
4.4.00.0000.02510.47
4.3.110.0000.01610.47
4.3.100.0030.01310.47
4.3.90.0020.01710.47
4.3.80.0030.02310.47
4.3.70.0030.01210.47
4.3.60.0020.01510.47
4.3.50.0030.01710.47
4.3.40.0040.02210.47
4.3.30.0010.01610.47
4.3.20.0020.01810.47
4.3.10.0000.02010.47
4.3.00.0010.01610.47

preferences:
50.12 ms | 401 KiB | 5 Q