3v4l.org

run code in 300+ PHP versions simultaneously
<?php $doc = new DOMDocument; $doc->loadXML('<?xml version="1.0" encoding="UTF-8"?> <c:tellervo xmlns:c="http://www.tellervo.org/schema/1.0" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:tridas="http://www.tridas.org/1.2.2"> <c:request type="create"> <tridas:object> <tridas:title>ppp</tridas:title> <tridas:type normalStd="Tellervo" normalId="1" normal="Site"/> <tridas:genericField name="tellervo.objectLabCode">2222</tridas:genericField> </tridas:object> </c:request> </c:tellervo> '); $tellervoNS = "http://www.tellervo.org/schema/1.0"; $tridasNS = "http://www.tridas.org/1.2.2"; $xpath = new DOMXPath($doc); $xpath->registerNamespace('cor', $tellervoNS); $xpath->registerNamespace('tridas', $tridasNS); $fragment = $xpath->query("/cor:tellervo/cor:request/*"); foreach ($fragment as $item) { echo $item->nodeName, ' / ', $item->tagName; }

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.0100.01016.88
8.3.50.0080.00818.66
8.3.40.0120.00319.09
8.3.30.0070.00718.84
8.3.20.0050.00319.11
8.3.10.0000.00820.90
8.3.00.0060.00317.75
8.2.180.0130.01017.00
8.2.170.0120.00322.96
8.2.160.0070.00722.77
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00418.00
8.2.110.0060.00319.74
8.2.100.0120.00318.09
8.2.90.0050.00317.88
8.2.80.0000.01018.00
8.2.70.0000.00818.41
8.2.60.0000.00918.30
8.2.50.0000.00818.43
8.2.40.0000.00820.97
8.2.30.0040.00418.33
8.2.20.0050.00218.06
8.2.10.0030.00518.09
8.2.00.0040.00418.15
8.1.280.0100.00725.92
8.1.270.0030.00524.66
8.1.260.0060.00326.35
8.1.250.0000.00928.09
8.1.240.0070.00422.63
8.1.230.0090.00321.31
8.1.220.0050.00518.18
8.1.210.0030.00521.51
8.1.200.0060.00317.85
8.1.190.0040.00417.73
8.1.180.0040.00418.10
8.1.170.0000.00918.86
8.1.160.0050.00219.29
8.1.150.0040.00418.91
8.1.140.0040.00417.81
8.1.130.0050.00318.20
8.1.120.0030.00317.97
8.1.110.0000.00717.91
8.1.100.0030.00517.80
8.1.90.0050.00317.78
8.1.80.0000.00717.93
8.1.70.0000.00717.91
8.1.60.0060.00318.03
8.1.50.0050.00317.71
8.1.40.0000.00917.83
8.1.30.0040.00417.87
8.1.20.0000.00818.15
8.1.10.0000.00817.82
8.1.00.0040.00417.98
8.0.300.0000.00720.54
8.0.290.0000.00717.13
8.0.280.0040.00418.85
8.0.270.0030.00317.65
8.0.260.0030.00317.24
8.0.250.0000.00717.36
8.0.240.0000.00817.31
8.0.230.0000.00717.44
8.0.220.0000.00717.17
8.0.210.0050.00317.37
8.0.200.0040.00417.40
8.0.190.0040.00417.25
8.0.180.0050.00317.34
8.0.170.0000.00917.39
8.0.160.0060.00317.29
8.0.150.0050.00317.14
8.0.140.0040.00717.13
8.0.130.0000.00513.80
8.0.120.0000.00817.25
8.0.110.0000.00817.24
8.0.100.0070.00017.18
8.0.90.0000.00817.27
8.0.80.0110.01117.34
8.0.70.0070.00017.27
8.0.60.0040.00417.27
8.0.50.0000.00817.23
8.0.30.0110.01017.30
8.0.20.0150.01217.24
8.0.10.0070.00017.30
8.0.00.0050.01317.07
7.4.330.0050.00013.37
7.4.320.0060.00017.06
7.4.300.0000.00616.80
7.4.290.0000.00716.85
7.4.280.0000.00817.07
7.4.270.0020.00516.83
7.4.260.0030.00313.70
7.4.250.0080.00016.97
7.4.240.0050.00217.06
7.4.230.0070.00016.77
7.4.220.0060.02016.94
7.4.210.0110.00516.99
7.4.200.0030.00517.02
7.4.190.0000.00716.95
7.4.160.0030.01216.69
7.4.150.0100.00716.79
7.4.140.0130.00516.85
7.4.130.0130.00816.89
7.4.120.0080.00916.87
7.4.110.0070.01016.75
7.4.100.0080.01217.01
7.4.90.0090.00916.83
7.4.80.0100.00616.86
7.4.70.0090.01016.83
7.4.60.0080.00816.80
7.4.50.0050.00016.82
7.4.40.0130.00316.76
7.4.30.0120.00917.09
7.4.10.0060.01214.95
7.4.00.0100.00515.11
7.3.330.0000.00613.43
7.3.320.0060.00013.44
7.3.310.0000.00716.43
7.3.300.0030.00316.59
7.3.290.0070.01116.73
7.3.280.0110.00716.63
7.3.270.0220.00417.07
7.3.260.0110.00816.66
7.3.250.0120.00616.88
7.3.240.0120.00616.98
7.3.230.0070.01016.66
7.3.210.0130.00416.82
7.3.200.0120.01219.39
7.3.190.0150.00916.83
7.3.180.0130.00616.98
7.3.170.0060.01016.89
7.3.160.0030.01316.84
7.3.130.0040.01514.66
7.3.120.0070.01014.79
7.3.110.0060.01014.78
7.3.100.0090.00615.27
7.3.90.0060.00315.09
7.3.80.0030.00615.09
7.3.70.0030.01015.01
7.3.60.0060.01015.04
7.3.50.0090.00614.96
7.3.40.0080.00315.10
7.3.30.0060.00914.88
7.3.20.0040.00816.62
7.3.10.0080.00816.68
7.3.00.0080.00816.63
7.2.330.0070.01117.29
7.2.320.0100.01016.80
7.2.310.0090.00917.01
7.2.300.0030.01716.93
7.2.290.0140.00316.97
7.2.260.0060.01315.11
7.2.250.0040.01515.28
7.2.240.0110.00315.41
7.2.230.0070.00715.59
7.2.220.0030.01315.31
7.2.210.0090.00614.95
7.2.200.0000.01515.27
7.2.190.0110.00715.04
7.2.180.0060.00914.93
7.2.170.0110.00715.28
7.2.160.0070.01115.12
7.2.150.0120.00617.20
7.2.140.0030.01117.04
7.2.130.0090.00516.98
7.2.120.0060.00916.97
7.2.110.0080.00717.15
7.2.100.0050.00916.86
7.2.90.0080.00817.09
7.2.80.0070.01217.10
7.2.70.0110.00817.02
7.2.60.0050.01217.07
7.2.50.0130.00617.02
7.2.40.0110.00817.12
7.2.30.0110.00717.06
7.2.20.0100.00817.15
7.2.10.0120.00717.04
7.2.00.0060.01017.75
7.1.330.0070.00716.07
7.1.320.0070.01016.00
7.1.310.0150.00016.05
7.1.300.0060.00915.93
7.1.290.0030.00715.98
7.1.280.0060.00916.04
7.1.270.0070.00715.93
7.1.260.0100.00716.08
7.1.250.0040.01115.83
7.1.240.0080.00615.82
7.1.230.0110.00415.91
7.1.220.0060.00715.77
7.1.210.0120.00115.92
7.1.200.0090.00716.04
7.1.190.0150.00715.99
7.1.180.0090.00815.81
7.1.170.0110.00915.97
7.1.160.0080.00915.92
7.1.150.0090.01115.79
7.1.140.0120.00916.01
7.1.130.0160.00315.90
7.1.120.0050.01216.04
7.1.110.0120.00315.92
7.1.100.0070.01216.66
7.1.90.0070.00616.03
7.1.80.0110.00815.92
7.1.70.0050.01116.52
7.1.60.0120.00717.12
7.1.50.0110.01016.11
7.1.40.0060.00615.77
7.1.30.0110.00516.04
7.1.20.0120.00216.01
7.1.10.0140.00515.92
7.1.00.0080.02018.05
7.0.330.0100.00615.44
7.0.320.0050.00815.53
7.0.310.0070.00815.68
7.0.300.0100.00615.49
7.0.290.0080.00515.64
7.0.280.0070.01215.40
7.0.270.0090.00515.73
7.0.260.0060.01215.68
7.0.250.0100.00715.57
7.0.240.0080.01115.55
7.0.230.0090.00615.46
7.0.220.0060.00915.85
7.0.210.0050.00615.61
7.0.200.0180.00615.41
7.0.190.0050.01115.66
7.0.180.0070.01115.51
7.0.170.0060.01115.67
7.0.160.0080.01015.59
7.0.150.0130.00615.54
7.0.140.0060.03217.84
7.0.130.0060.01215.54
7.0.120.0090.02717.79
7.0.110.0080.00815.59
7.0.100.0140.00115.38
7.0.90.0100.00815.41
7.0.80.0120.00315.59
7.0.70.0080.00515.63
7.0.60.0120.03017.17
7.0.50.0090.02916.32
7.0.40.0040.01815.82
7.0.30.0130.02915.82
7.0.20.0110.02215.93
7.0.10.0060.02215.91
7.0.00.0030.02315.94
5.6.400.0030.01014.75
5.6.390.0100.00714.74
5.6.380.0030.00814.48
5.6.370.0070.00614.44
5.6.360.0100.00214.38
5.6.350.0040.00814.64
5.6.340.0060.00714.51
5.6.330.0070.00914.62
5.6.320.0020.01314.36
5.6.310.0030.01314.65
5.6.300.0090.00614.21
5.6.290.0020.01014.38
5.6.280.0030.03216.74
5.6.270.0100.00314.29
5.6.260.0040.01014.72
5.6.250.0030.00714.56
5.6.240.0030.00914.51
5.6.230.0020.01114.30
5.6.220.0090.00714.27
5.6.210.0090.02616.49
5.6.200.0040.02915.69
5.6.190.0060.01916.50
5.6.180.0120.02016.39
5.6.170.0140.02516.39
5.6.160.0050.02216.50
5.6.150.0050.02615.69
5.6.140.0060.03315.49
5.6.130.0060.01915.64
5.6.120.0110.03116.56
5.6.110.0100.03116.70
5.6.100.0070.03016.58
5.6.90.0030.02516.59
5.6.80.0050.03316.56
5.6.70.0070.00514.37
5.6.60.0050.01014.32
5.6.50.0100.00514.20
5.6.40.0060.00714.26
5.6.30.0100.00714.47
5.6.20.0090.00814.34
5.6.10.0060.00614.32
5.6.00.0050.01114.30
5.5.380.0050.00612.80
5.5.370.0010.01112.84
5.5.360.0020.00813.06
5.5.350.0040.03215.34
5.5.340.0040.02714.57
5.5.330.0050.03815.37
5.5.320.0110.02215.39
5.5.310.0130.03015.27
5.5.300.0050.03314.54
5.5.290.0050.03314.58
5.5.280.0030.03515.50
5.5.270.0070.03115.61
5.5.260.0010.03715.56
5.5.250.0040.03215.30
5.5.240.0060.02015.29
5.5.230.0080.00512.88
5.5.220.0080.00612.52
5.5.210.0050.00812.61
5.5.200.0050.00812.72
5.5.190.0020.01112.79
5.5.180.0060.00612.69
5.5.170.0020.01212.70
5.5.160.0060.00512.51
5.5.150.0030.00712.74
5.5.140.0060.00712.66
5.5.130.0050.00712.51
5.5.120.0080.00612.38
5.5.110.0090.00612.72
5.5.100.0020.01012.53
5.5.90.0000.00912.54
5.5.80.0000.01212.44
5.5.70.0100.00312.49
5.5.60.0090.00312.51
5.5.50.0050.00912.60
5.5.40.0100.00412.58
5.5.30.0040.00812.52
5.5.20.0020.00912.63
5.5.10.0090.00312.63
5.5.00.0080.00612.64
5.4.450.0090.02613.91
5.4.440.0090.02913.81
5.4.430.0040.02213.83
5.4.420.0030.03513.78
5.4.410.0080.03013.96
5.4.400.0080.02713.68
5.4.390.0100.02013.90
5.4.380.0050.02913.81
5.4.370.0080.02813.80
5.4.360.0090.01713.79
5.4.350.0100.02513.63
5.4.340.0080.03113.96
5.4.330.0090.00411.02
5.4.320.0030.03213.81
5.4.310.0040.02913.69
5.4.300.0090.02113.78
5.4.290.0070.02013.82
5.4.280.0060.02613.67
5.4.270.0080.02013.78
5.4.260.0050.02713.63
5.4.250.0080.01913.58
5.4.240.0080.02413.78
5.4.230.0070.01713.67
5.4.220.0040.02213.65
5.4.210.0030.01813.66
5.4.200.0050.01413.59
5.4.190.0020.02913.78
5.4.180.0080.02013.71
5.4.170.0090.02613.52
5.4.160.0040.03013.50
5.4.150.0020.03413.64
5.4.140.0060.02113.01
5.4.130.0110.01412.93
5.4.120.0060.02512.96
5.4.110.0050.02512.93
5.4.100.0040.02812.77
5.4.90.0020.02112.92
5.4.80.0040.01712.89
5.4.70.0050.01512.78
5.4.60.0040.03112.85
5.4.50.0030.03012.79
5.4.40.0070.02612.93
5.4.30.0050.02712.95
5.4.20.0080.02612.89
5.4.10.0060.02613.00
5.4.00.0030.03012.75
5.3.290.0070.02912.04
5.3.280.0070.01711.98
5.3.270.0090.01712.04
5.3.260.0060.02712.03
5.3.250.0050.02911.99
5.3.240.0070.02911.89
5.3.230.0090.01411.90
5.3.220.0040.02311.86
5.3.210.0050.02911.82
5.3.200.0020.02811.85
5.3.190.0050.02611.85
5.3.180.0030.02211.99
5.3.170.0060.01611.97
5.3.160.0040.02412.02
5.3.150.0060.02012.01
5.3.140.0050.02111.84
5.3.130.0090.02611.96
5.3.120.0040.02711.99
5.3.110.0030.02311.96
5.3.100.0050.02911.79
5.3.90.0040.03111.85
5.3.80.0050.02611.73
5.3.70.0080.01511.72
5.3.60.0020.02111.79
5.3.50.0090.01411.60
5.3.40.0060.02311.69
5.3.30.0040.02411.70
5.3.20.0020.02911.60
5.3.10.0050.02711.48
5.3.00.0060.02611.45
5.2.170.0030.03310.62
5.2.160.0050.03210.66
5.2.150.0060.03010.67
5.2.140.0020.03210.57
5.2.130.0050.03510.59
5.2.120.0080.03210.63
5.2.110.0050.03210.63
5.2.100.0080.02910.63
5.2.90.0030.03610.68
5.2.80.0050.01710.55
5.2.70.0050.02610.56
5.2.60.0100.03010.61
5.2.50.0000.03910.55
5.2.40.0110.02310.51
5.2.30.0030.02210.50
5.2.20.0070.03210.49
5.2.10.0050.03010.51
5.2.00.0100.01810.44
5.1.60.0030.02510.08
5.1.50.0060.01310.00
5.1.40.0090.02310.07
5.1.30.0030.02010.24
5.1.20.0050.01810.23
5.1.10.0100.02510.13
5.1.00.0020.03310.11
5.0.50.0000.0229.33
5.0.40.0020.0249.25
5.0.30.0050.0219.18
5.0.20.0040.0119.20
5.0.10.0000.0129.16
5.0.00.0030.0189.14
4.4.90.0020.0149.03
4.4.80.0020.0209.03
4.4.70.0050.0189.03
4.4.60.0030.0159.03
4.4.50.0000.0169.03
4.4.40.0020.0199.03
4.4.30.0020.0129.03
4.4.20.0040.0149.03
4.4.10.0020.0209.03
4.4.00.0030.0299.03
4.3.110.0020.0189.03
4.3.100.0030.0189.03
4.3.90.0030.0119.03
4.3.80.0050.0159.03
4.3.70.0000.0229.03
4.3.60.0040.0139.03
4.3.50.0040.0209.03
4.3.40.0000.0299.03
4.3.30.0030.0179.03
4.3.20.0000.0129.03
4.3.10.0000.0119.03
4.3.00.0020.0089.03

preferences:
54.38 ms | 401 KiB | 5 Q