3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = <<<XML <row> <entry XY="1" al="23" se="5" ag="fgh"> </entry> <entry XY="1" al="23" se="5" ag="fgh">Content1</entry> <entry XY="1" al="23" se="5" ag="fgh">Content2</entry> <entry XY="1" al="23" se="5" ag="fgh"> </entry> <entry XY="1" al="23" se="5" ag="fgh">Content3</entry> </row> XML; $xml = simplexml_load_string($x); $y = $xml->xpath("//entry[not(node())]"); var_dump($y);

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.68
8.3.50.0140.00521.97
8.3.40.0190.00319.21
8.3.30.0120.00319.04
8.3.20.0000.00918.68
8.3.10.0060.00320.82
8.3.00.0040.00423.90
8.2.180.0140.00416.63
8.2.170.0110.00422.96
8.2.160.0060.00922.63
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0090.00026.16
8.2.120.0050.00319.89
8.2.110.0080.00320.75
8.2.100.0090.00318.09
8.2.90.0000.00819.52
8.2.80.0000.00818.18
8.2.70.0090.00317.63
8.2.60.0070.00318.05
8.2.50.0030.00618.28
8.2.40.0080.00018.34
8.2.30.0000.00820.08
8.2.20.0040.00417.84
8.2.10.0040.00418.03
8.2.00.0040.00418.11
8.1.280.0100.01025.92
8.1.270.0050.00323.99
8.1.260.0170.00026.35
8.1.250.0070.00728.09
8.1.240.0000.01022.72
8.1.230.0060.00621.36
8.1.220.0000.00818.77
8.1.210.0000.00819.24
8.1.200.0030.00617.50
8.1.190.0040.00417.65
8.1.180.0080.00018.10
8.1.170.0000.00818.96
8.1.160.0000.00719.09
8.1.150.0030.00618.83
8.1.140.0000.00817.70
8.1.130.0000.00718.08
8.1.120.0020.00517.83
8.1.110.0000.00817.56
8.1.100.0080.00017.59
8.1.90.0000.00717.62
8.1.80.0050.00317.75
8.1.70.0000.00717.80
8.1.60.0030.00517.66
8.1.50.0000.00817.80
8.1.40.0040.00417.64
8.1.30.0040.00417.70
8.1.20.0000.01017.68
8.1.10.0000.01017.88
8.1.00.0030.00617.74
8.0.300.0030.00620.13
8.0.290.0070.00017.43
8.0.280.0030.00318.72
8.0.270.0080.00017.48
8.0.260.0000.00817.15
8.0.250.0040.00417.14
8.0.240.0000.01017.20
8.0.230.0030.00317.13
8.0.220.0000.00717.07
8.0.210.0030.00317.07
8.0.200.0040.00717.36
8.0.190.0000.00817.31
8.0.180.0000.00717.23
8.0.170.0060.00317.20
8.0.160.0070.00317.19
8.0.150.0030.00517.00
8.0.140.0060.00617.27
8.0.130.0040.00413.52
8.0.120.0030.00517.21
8.0.110.0040.00417.35
8.0.100.0000.00717.07
8.0.90.0040.00417.03
8.0.80.0080.00817.16
8.0.70.0040.00417.11
8.0.60.0040.00417.30
8.0.50.0000.00717.09
8.0.30.0120.00817.31
8.0.20.0090.01017.40
8.0.10.0040.00417.31
8.0.00.0110.01017.08
7.4.330.0050.00014.88
7.4.320.0060.00016.73
7.4.300.0000.00616.83
7.4.290.0080.00016.60
7.4.280.0050.00316.70
7.4.270.0000.00716.95
7.4.260.0000.00513.47
7.4.250.0080.00016.84
7.4.240.0000.00716.82
7.4.230.0030.00316.91
7.4.220.0070.01116.91
7.4.210.0050.01216.88
7.4.200.0000.00716.77
7.4.190.0000.00716.79
7.4.160.0090.00916.78
7.4.150.0100.01017.40
7.4.140.0100.00717.86
7.4.130.0090.01016.70
7.4.120.0130.00516.71
7.4.110.0090.00916.88
7.4.100.0070.01116.85
7.4.90.0130.01016.72
7.4.80.0110.01119.04
7.4.70.0100.00716.85
7.4.60.0120.00616.79
7.4.50.0060.00316.80
7.4.40.0060.01022.27
7.4.30.0070.01116.82
7.4.00.0030.01315.09
7.3.330.0000.00513.45
7.3.320.0030.00313.41
7.3.310.0050.00216.65
7.3.300.0030.00316.52
7.3.290.0070.00716.58
7.3.280.0110.00616.48
7.3.270.0030.01317.40
7.3.260.0120.00518.24
7.3.250.0100.01016.60
7.3.240.0100.01016.74
7.3.230.0090.00916.64
7.3.210.0150.02316.53
7.3.200.0090.00819.39
7.3.190.0070.01016.63
7.3.180.0120.00916.54
7.3.170.0100.00516.60
7.3.160.0070.01016.73
7.3.120.0100.00714.92
7.3.110.0030.01414.82
7.3.100.0040.00814.85
7.3.90.0040.00814.80
7.3.80.0040.00714.86
7.3.70.0060.00914.74
7.3.60.0070.00414.79
7.3.50.0000.00914.61
7.3.40.0060.00614.84
7.3.30.0030.00614.82
7.3.20.0060.00316.66
7.3.10.0080.00316.61
7.3.00.0030.00716.65
7.2.330.0070.01016.82
7.2.320.0110.00716.99
7.2.310.0000.01916.89
7.2.300.0030.01916.73
7.2.290.0080.00816.95
7.2.250.0100.01014.98
7.2.240.0100.01014.93
7.2.230.0000.01515.20
7.2.220.0030.01015.28
7.2.210.0030.01515.16
7.2.200.0090.00615.16
7.2.190.0000.01415.00
7.2.180.0070.00714.71
7.2.170.0060.00915.07
7.2.130.0050.00617.00
7.2.120.0020.01216.86
7.2.110.0100.00116.87
7.2.100.0040.00816.70
7.2.90.0080.00516.79
7.2.80.0090.00317.04
7.2.70.0080.00316.78
7.2.60.0090.00516.91
7.2.50.0030.01016.88
7.2.40.0060.00817.00
7.2.30.0060.00816.90
7.2.20.0080.00516.90
7.2.10.0080.00916.83
7.2.00.0020.01117.87
7.1.330.0140.00315.91
7.1.320.0040.00815.78
7.1.310.0060.00615.95
7.1.300.0080.00415.87
7.1.290.0030.00815.85
7.1.280.0000.01315.86
7.1.270.0000.01315.76
7.1.260.0080.00615.89
7.1.250.0040.00715.99
7.1.100.0030.00617.95
7.1.70.0090.00017.32
7.1.60.0000.01819.40
7.1.50.0140.01117.09
7.1.00.0030.04722.58
7.0.200.0050.00217.00
7.0.140.0070.07022.19
7.0.60.0230.07320.07
7.0.50.0000.08717.97
7.0.40.0270.04320.52
7.0.30.0130.06720.28
7.0.20.0000.05320.18
7.0.10.0070.05720.23
7.0.00.0030.08720.55
5.6.280.0000.07721.10
5.6.210.0100.08320.73
5.6.200.0170.03718.40
5.6.190.0000.09720.82
5.6.180.0030.09320.63
5.6.170.0100.03720.64
5.6.160.0030.08320.88
5.6.150.0030.05320.65
5.6.140.0200.04320.28
5.6.130.0000.09020.52
5.6.120.0070.04720.32
5.6.110.0030.05720.61
5.6.100.0000.08020.64
5.6.90.0070.05020.48
5.6.80.0070.08019.86
5.6.70.0030.08020.03
5.6.60.0070.07719.95
5.6.50.0030.06719.95
5.6.40.0070.07719.89
5.6.30.0000.08019.74
5.6.20.0070.04019.97
5.6.10.0030.03719.91
5.6.00.0000.04019.91
5.5.350.0100.07320.55
5.5.340.0070.08018.16
5.5.330.0030.07320.68
5.5.320.0070.05720.62
5.5.310.0070.07020.64
5.5.300.0000.08720.27
5.5.290.0030.07720.35
5.5.280.0030.05720.45
5.5.270.0030.04720.29
5.5.260.0070.08320.37
5.5.250.0070.07020.26
5.5.240.0030.08019.83
5.5.230.0000.08719.57
5.5.220.0030.08019.66
5.5.210.0030.07719.56
5.5.200.0100.08319.62
5.5.190.0000.04019.71
5.5.180.0100.04319.63
5.5.160.0000.04319.41
5.5.150.0030.03719.68
5.5.140.0070.03319.71
5.5.130.0130.03719.61
5.5.120.0000.04719.66
5.5.110.0100.09019.61
5.5.100.0100.03719.53
5.5.90.0070.03719.54
5.5.80.0100.03719.52
5.5.70.0170.04319.60
5.5.60.0170.03719.60
5.5.50.0230.06719.59
5.5.40.0100.04719.40
5.5.30.0130.04719.64
5.5.20.0170.03719.52
5.5.10.0170.04019.66
5.5.00.0130.04319.35
5.4.450.0030.06319.33
5.4.440.0070.07719.79
5.4.430.0030.06319.78
5.4.420.0030.06719.49
5.4.410.0000.08319.59
5.4.400.0030.07019.30
5.4.390.0100.05019.16
5.4.380.0070.06019.15
5.4.370.0030.07319.29
5.4.360.0070.05018.94
5.4.350.0030.07719.30
5.4.340.0000.04019.46
5.4.320.0030.03719.46
5.4.310.0030.03719.40
5.4.300.0070.03318.94
5.4.290.0070.03719.13
5.4.280.0070.07719.31
5.4.270.0030.04319.30
5.4.260.0270.02719.30
5.4.250.0100.03719.38
5.4.240.0170.03018.95
5.4.230.0130.03319.27
5.4.220.0100.04319.30
5.4.210.0130.03719.13
5.4.200.0170.06019.45
5.4.190.0130.03719.00
5.4.180.0130.04019.13
5.4.170.0130.03719.29
5.4.160.0200.02719.28
5.4.150.0170.03719.28
5.4.140.0100.04016.45
5.4.130.0200.03316.46
5.4.120.0170.03316.36
5.4.110.0170.03316.43
5.4.100.0270.03316.44
5.4.90.0230.03016.43
5.4.80.0200.03316.52
5.4.70.0100.04016.50
5.4.60.0200.06016.59
5.4.50.0200.06316.48
5.4.40.0270.03316.40
5.4.30.0270.07316.70
5.4.20.0200.04316.51
5.4.10.0230.05316.41
5.4.00.0370.02716.05
5.3.290.0030.04014.83
5.3.280.0070.05314.70
5.3.270.0130.03714.75
5.3.260.0130.04314.65
5.3.250.0170.03714.79
5.3.240.0130.04314.76
5.3.230.0170.03714.71
5.3.220.0130.03714.66
5.3.210.0170.03714.68
5.3.200.0130.04314.72
5.3.190.0100.04314.64
5.3.180.0170.04014.77
5.3.170.0200.03314.77
5.3.160.0300.05014.66
5.3.150.0400.05314.70
5.3.140.0230.04714.58
5.3.130.0370.04014.69
5.3.120.0300.03314.55
5.3.110.0270.07014.79
5.3.100.0200.07014.14
5.3.90.0270.07014.18
5.3.80.0200.05014.01
5.3.70.0330.07014.26
5.3.60.0300.06314.14
5.3.50.0270.04314.19
5.3.40.0270.07314.09
5.3.30.0270.06714.12
5.3.20.0270.06713.90
5.3.10.0230.07313.81
5.3.00.0230.07013.77
5.2.170.0270.05012.21
5.2.160.0230.03312.21
5.2.150.0230.06012.21
5.2.140.0300.05312.21
5.2.130.0170.04012.21
5.2.120.0200.06012.21
5.2.110.0200.05712.21
5.2.100.0230.05312.21
5.2.90.0230.03312.21
5.2.80.0170.06012.21
5.2.70.0200.04312.21
5.2.60.0270.05712.21
5.2.50.0270.04312.21
5.2.40.0170.06012.21
5.2.30.0200.04712.21
5.2.20.0170.05712.21
5.2.10.0170.04012.21
5.2.00.0200.05012.21
5.1.60.0170.03712.21
5.1.50.0230.02712.21
5.1.40.0130.03012.21
5.1.30.0230.05312.21
5.1.20.0200.04712.21
5.1.10.0330.04012.21
5.1.00.0270.05012.21
5.0.50.0100.04012.21
5.0.40.0100.02012.21
5.0.30.0200.05712.21
5.0.20.0100.04012.21
5.0.10.0170.02712.21
5.0.00.0100.06712.21
4.4.90.0130.03312.21
4.4.80.0070.03012.21
4.4.70.0030.03012.21
4.4.60.0070.04012.21
4.4.50.0130.02312.21
4.4.40.0070.03712.21
4.4.30.0100.02012.21
4.4.20.0070.03712.21
4.4.10.0100.02312.21
4.4.00.0100.03712.21
4.3.110.0100.02012.21
4.3.100.0100.03012.21
4.3.90.0200.02712.21
4.3.80.0100.05312.21
4.3.70.0130.03012.21
4.3.60.0130.03012.21
4.3.50.0100.02712.21
4.3.40.0130.03012.21
4.3.30.0030.02312.21
4.3.20.0070.03712.21
4.3.10.0100.02712.21
4.3.00.0030.02712.21

preferences:
36.1 ms | 401 KiB | 5 Q