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.00916.86
8.3.50.0090.01222.12
8.3.40.0070.00719.00
8.3.30.0110.00419.29
8.3.20.0000.00720.50
8.3.10.0040.00424.09
8.3.00.0050.00322.79
8.2.180.0110.00718.91
8.2.170.0080.00822.96
8.2.160.0040.01222.58
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00422.63
8.2.110.0090.00020.77
8.2.100.0040.00818.16
8.2.90.0030.00519.47
8.2.80.0040.00417.97
8.2.70.0030.00617.75
8.2.60.0070.00418.16
8.2.50.0000.00918.07
8.2.40.0060.00318.59
8.2.30.0000.00718.30
8.2.20.0020.00517.91
8.2.10.0000.00819.81
8.2.00.0030.00518.02
8.1.280.0220.00325.92
8.1.270.0060.00324.34
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0080.00022.42
8.1.230.0030.00917.76
8.1.220.0040.00417.93
8.1.210.0080.00018.77
8.1.200.0030.00617.72
8.1.190.0040.00417.78
8.1.180.0060.00318.10
8.1.170.0060.00318.80
8.1.160.0000.00722.13
8.1.150.0000.00818.83
8.1.140.0040.00417.75
8.1.130.0040.00418.17
8.1.120.0070.00017.79
8.1.110.0000.00817.78
8.1.100.0040.00417.63
8.1.90.0070.00417.80
8.1.80.0070.00017.83
8.1.70.0000.00817.55
8.1.60.0080.00017.93
8.1.50.0000.00817.84
8.1.40.0030.00517.68
8.1.30.0030.00517.91
8.1.20.0030.00517.83
8.1.10.0030.00517.68
8.1.00.0000.00717.51
8.0.300.0030.00618.77
8.0.290.0040.00417.00
8.0.280.0040.00418.66
8.0.270.0000.00717.53
8.0.260.0000.00817.24
8.0.250.0000.00717.34
8.0.240.0020.00517.11
8.0.230.0020.00517.39
8.0.220.0000.00717.29
8.0.210.0030.00617.07
8.0.200.0030.00517.30
8.0.190.0050.00317.15
8.0.180.0020.00517.11
8.0.170.0060.00317.08
8.0.160.0080.00017.28
8.0.150.0050.00217.12
8.0.140.0070.00017.26
8.0.130.0030.00313.58
8.0.120.0040.00417.03
8.0.110.0040.00417.32
8.0.100.0000.00817.29
8.0.90.0070.00017.12
8.0.80.0080.00817.21
8.0.70.0040.00417.16
8.0.60.0070.00017.02
8.0.50.0000.00817.16
8.0.30.0100.01017.32
8.0.20.0070.01417.40
8.0.10.0070.00017.31
8.0.00.0130.01016.91
7.4.330.0000.00615.52
7.4.320.0060.00016.92
7.4.300.0000.00616.73
7.4.290.0040.00416.80
7.4.280.0030.00516.59
7.4.270.0000.00916.80
7.4.260.0020.00516.79
7.4.250.0000.00816.68
7.4.240.0020.00516.82
7.4.230.0000.00716.83
7.4.220.0080.00816.71
7.4.210.0060.01016.75
7.4.200.0040.00416.70
7.4.190.0030.00316.98
7.4.160.0080.01116.79
7.4.150.0110.00717.40
7.4.140.0130.00917.86
7.4.130.0070.01216.67
7.4.120.0090.00916.78
7.4.110.0030.01416.77
7.4.100.0090.00917.03
7.4.90.0090.01216.78
7.4.80.0130.00719.39
7.4.70.0130.00416.78
7.4.60.0080.00816.86
7.4.50.0030.00516.58
7.4.40.0110.00422.77
7.4.30.0060.01016.84
7.4.00.0070.01114.86
7.3.330.0000.00813.18
7.3.320.0000.00513.18
7.3.310.0070.00016.27
7.3.300.0000.00716.50
7.3.290.0070.01116.60
7.3.280.0160.00516.54
7.3.270.0190.00617.40
7.3.260.0100.01416.46
7.3.250.0080.01416.54
7.3.240.0150.00316.49
7.3.230.0080.00816.75
7.3.210.0030.01416.82
7.3.200.0140.00316.64
7.3.190.0100.00716.70
7.3.180.0100.00616.57
7.3.170.0030.01416.71
7.3.160.0130.01016.47
7.3.120.0100.00715.04
7.3.10.0090.00617.00
7.3.00.0100.00316.65
7.2.330.0090.00917.02
7.2.320.0070.01016.76
7.2.310.0090.01416.76
7.2.300.0100.00716.66
7.2.290.0110.00616.59
7.2.130.0070.00716.92
7.2.120.0090.00616.76
7.2.110.0040.00717.19
7.2.100.0040.01116.95
7.2.90.0000.01416.92
7.2.80.0070.00717.05
7.2.70.0040.01116.91
7.2.60.0060.00616.90
7.2.50.0110.00316.96
7.2.40.0000.00916.90
7.2.30.0030.01017.25
7.2.20.0060.00617.23
7.2.10.0070.00716.90
7.2.00.0100.00716.93
7.1.250.0030.00715.65
7.1.200.0090.00015.98
7.1.70.0000.00917.04
7.1.60.0130.01319.29
7.1.50.0150.00316.79
7.1.00.0100.07022.59
7.0.200.0070.00716.86
7.0.140.0000.07722.39
7.0.90.0500.05320.04
7.0.80.0030.08320.27
7.0.70.0500.06320.08
7.0.60.0430.08020.04
7.0.50.0300.04320.35
7.0.40.0100.07320.30
7.0.30.0170.07320.26
7.0.20.0100.08020.26
7.0.10.0030.07320.21
7.0.00.0070.08320.17
5.6.230.0100.09020.83
5.6.220.0100.08020.73
5.6.210.0070.07320.80
5.6.200.0100.07021.16
5.6.190.0030.06021.20
5.6.180.0100.05021.17
5.6.170.0000.05721.23
5.6.160.0070.05021.16
5.6.150.0070.08321.23
5.6.140.0130.08021.16
5.6.130.0070.08321.22
5.6.120.0130.05321.21
5.6.110.0100.08021.30
5.6.100.0130.07721.25
5.6.90.0200.08721.34
5.6.80.0170.05320.55
5.6.70.0170.06320.57
5.6.60.0130.07020.50
5.6.50.0130.06020.58
5.6.40.0100.07320.56
5.6.30.0100.08320.50
5.6.20.0070.06020.57
5.6.10.0070.06020.51
5.6.00.0070.05720.46
5.5.370.0100.07320.66
5.5.360.0000.09320.52
5.5.350.0170.07320.54
5.5.340.0230.06721.11
5.5.330.0000.08721.10
5.5.320.0170.07321.02
5.5.310.0100.04320.95
5.5.300.0070.04321.00
5.5.290.0030.08720.90
5.5.280.0100.07021.02
5.5.270.0100.07320.93
5.5.260.0070.08721.09
5.5.250.0000.05720.86
5.5.240.0070.07720.39
5.5.230.0130.07020.40
5.5.220.0100.04020.29
5.5.210.0000.05720.32
5.5.200.0100.07320.43
5.5.190.0070.05020.30
5.5.180.0030.08320.35
5.5.160.0100.07720.44
5.5.150.0070.05320.36
5.5.140.0000.07720.45
5.5.130.0200.07020.39
5.5.120.0070.06320.39
5.5.110.0070.08020.25
5.5.100.0100.07720.32
5.5.90.0100.08020.15
5.5.80.0030.06320.19
5.5.70.0030.06320.29
5.5.60.0030.08320.30
5.5.50.0130.03720.14
5.5.40.0100.03320.23
5.5.30.0070.04020.20
5.5.20.0000.04320.20
5.5.10.0100.07720.21
5.5.00.0000.07020.22
5.4.450.0070.05019.58
5.4.440.0030.07719.57
5.4.430.0070.07319.55
5.4.420.0070.06719.34
5.4.410.0030.06319.49
5.4.400.0100.07019.27
5.4.390.0170.06319.23
5.4.380.0100.06319.18
5.4.370.0030.04319.31
5.4.360.0030.08019.27
5.4.350.0170.06719.27
5.4.340.0170.07019.24
5.4.320.0000.09018.99
5.4.310.0170.07019.27
5.4.300.0100.07019.27
5.4.290.0100.07018.99
5.4.280.0070.04319.23
5.4.270.0170.06319.24
5.4.260.0070.07319.26
5.4.250.0230.06019.24
5.4.240.0070.07319.19
5.4.230.0130.07019.28
5.4.220.0130.07019.28
5.4.210.0070.05719.02
5.4.200.0070.04019.25
5.4.190.0030.04018.98
5.4.180.0100.07019.28
5.4.170.0070.07319.28
5.4.160.0100.07019.25
5.4.150.0100.07319.43
5.4.140.0070.07316.59
5.4.130.0070.03316.53
5.4.120.0000.04016.48
5.4.110.0070.07016.51
5.4.100.0200.06316.52
5.4.90.0070.07316.49
5.4.80.0070.07016.61
5.4.70.0070.07316.46
5.4.60.0100.04716.68
5.4.50.0070.05716.46
5.4.40.0070.03716.49
5.4.30.0070.07016.56
5.4.20.0200.06316.38
5.4.10.0100.07016.51
5.4.00.0030.07316.02
5.3.290.0070.07314.81
5.3.280.0070.06314.73
5.3.270.0070.07714.61
5.3.260.0030.04714.71
5.3.250.0100.07014.80
5.3.240.0100.04014.77
5.3.230.0100.04314.63
5.3.220.0100.06714.74
5.3.210.0030.05014.69
5.3.200.0070.07014.72
5.3.190.0000.04714.68
5.3.180.0070.07014.68
5.3.170.0100.07314.68
5.3.160.0070.05014.76
5.3.150.0100.07314.56
5.3.140.0100.07014.63
5.3.130.0100.05714.58
5.3.120.0070.06714.66
5.3.110.0070.05314.57
5.3.100.0170.06714.18
5.3.90.0030.08014.04
5.3.80.0000.08014.00
5.3.70.0030.07014.20
5.3.60.0100.06714.15
5.3.50.0070.06313.93
5.3.40.0070.07014.09
5.3.30.0070.06714.11
5.3.20.0100.07313.80
5.3.10.0070.06713.76
5.3.00.0030.05713.77
5.2.170.0070.06013.61
5.2.160.0130.05713.61
5.2.150.0000.06713.61
5.2.140.0070.03713.61
5.2.130.0070.04013.61
5.2.120.0030.04713.61
5.2.110.0030.06013.61
5.2.100.0030.04013.61
5.2.90.0030.05313.61
5.2.80.0070.03713.61
5.2.70.0170.05013.61
5.2.60.0130.05013.61
5.2.50.0070.05013.61
5.2.40.0000.04713.61
5.2.30.0100.05713.61
5.2.20.0170.04013.61
5.2.10.0070.05713.61
5.2.00.0030.04013.61
5.1.60.0100.04313.61
5.1.50.0070.03713.61
5.1.40.0070.05013.61
5.1.30.0100.03313.61
5.1.20.0100.05313.61
5.1.10.0030.03713.61
5.1.00.0030.05313.61
5.0.50.0030.04013.61
5.0.40.0030.04313.61
5.0.30.0030.07013.61
5.0.20.0100.03313.61
5.0.10.0000.04013.61
5.0.00.0000.04713.61
4.4.90.0000.02013.61
4.4.80.0000.03713.61
4.4.70.0100.01313.61
4.4.60.0030.02713.61
4.4.50.0030.03013.61
4.4.40.0000.05013.61
4.4.30.0030.03313.61
4.4.20.0030.02013.61
4.4.10.0000.03313.61
4.4.00.0030.03313.61
4.3.110.0000.03013.61
4.3.100.0070.03313.61
4.3.90.0070.03013.61
4.3.80.0000.03713.61
4.3.70.0030.03313.61
4.3.60.0000.03313.61
4.3.50.0030.03713.61
4.3.40.0030.04013.61
4.3.30.0070.03013.61
4.3.20.0070.02713.61
4.3.10.0030.02013.61
4.3.00.0030.02313.61

preferences:
67.69 ms | 401 KiB | 5 Q