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(text()) and text()!=' ']"); 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.70.0110.01118.56
8.3.60.0090.00918.68
8.3.50.0080.01522.24
8.3.40.0090.01218.96
8.3.30.0110.00420.71
8.3.20.0040.00420.45
8.3.10.0040.00422.39
8.3.00.0000.00822.59
8.2.180.0100.01016.75
8.2.170.0060.01322.96
8.2.160.0130.00020.89
8.2.150.0060.00324.18
8.2.140.0050.00324.66
8.2.130.0110.00826.16
8.2.120.0070.00020.02
8.2.110.0090.00022.62
8.2.100.0110.00018.22
8.2.90.0000.00819.40
8.2.80.0030.00618.00
8.2.70.0000.00817.75
8.2.60.0030.00618.18
8.2.50.0000.00818.07
8.2.40.0000.00818.41
8.2.30.0000.01018.38
8.2.20.0070.00017.80
8.2.10.0070.00017.94
8.2.00.0060.00318.00
8.1.280.0090.00625.92
8.1.270.0000.00824.66
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0120.00022.51
8.1.230.0110.00017.64
8.1.220.0090.00018.04
8.1.210.0050.00318.77
8.1.200.0030.00617.73
8.1.190.0040.00417.63
8.1.180.0110.00018.10
8.1.170.0000.00818.89
8.1.160.0000.00722.47
8.1.150.0000.00718.95
8.1.140.0000.00717.80
8.1.130.0080.00018.00
8.1.120.0070.00017.52
8.1.110.0000.00917.59
8.1.100.0000.00817.63
8.1.90.0080.00317.74
8.1.80.0030.00517.62
8.1.70.0030.00317.73
8.1.60.0090.00017.91
8.1.50.0000.00717.88
8.1.40.0040.00417.86
8.1.30.0040.00417.92
8.1.20.0000.00817.68
8.1.10.0040.00417.87
8.1.00.0000.00917.61
8.0.300.0070.00018.77
8.0.290.0060.00316.96
8.0.280.0000.00718.71
8.0.270.0040.00417.48
8.0.260.0050.00217.09
8.0.250.0110.00417.13
8.0.240.0000.00817.32
8.0.230.0000.00717.37
8.0.220.0000.00817.30
8.0.210.0040.00417.31
8.0.200.0030.00317.35
8.0.190.0080.00017.18
8.0.180.0060.00317.10
8.0.170.0000.00817.11
8.0.160.0000.00717.29
8.0.150.0050.00317.06
8.0.140.0040.00417.04
8.0.130.0030.00313.66
8.0.120.0030.00517.29
8.0.110.0050.00317.10
8.0.100.0040.00417.17
8.0.90.0030.00517.19
8.0.80.0100.00717.17
8.0.70.0030.00417.14
8.0.60.0030.00617.29
8.0.50.0030.00517.20
8.0.30.0090.00917.38
8.0.20.0120.00617.56
8.0.10.0080.00017.36
8.0.00.0180.00317.07
7.4.330.0050.00015.36
7.4.320.0000.00716.73
7.4.300.0060.00016.75
7.4.290.0030.00316.77
7.4.280.0040.00416.79
7.4.270.0000.00716.70
7.4.260.0050.00013.63
7.4.250.0040.00416.73
7.4.240.0030.00316.75
7.4.230.0030.00516.75
7.4.220.0090.00916.89
7.4.210.0090.00616.92
7.4.200.0000.00816.59
7.4.190.0040.00416.79
7.4.160.0060.01216.79
7.4.150.0000.01817.40
7.4.140.0130.00717.86
7.4.130.0130.00516.66
7.4.120.0080.01116.81
7.4.110.0120.01216.75
7.4.100.0090.01316.93
7.4.90.0130.00416.73
7.4.80.0120.00619.39
7.4.70.0120.00616.71
7.4.60.0140.00616.78
7.4.50.0000.00816.92
7.4.40.0030.01022.77
7.4.30.0030.01716.67
7.4.00.0090.00914.99
7.3.330.0030.00313.41
7.3.320.0060.00013.47
7.3.310.0000.00716.70
7.3.300.0050.00216.48
7.3.290.0030.01016.48
7.3.280.0050.01216.48
7.3.270.0110.00717.40
7.3.260.0100.00716.82
7.3.250.0110.00616.57
7.3.240.0180.00616.55
7.3.230.0090.00816.45
7.3.210.0090.01016.56
7.3.200.0120.00919.39
7.3.190.0080.00816.70
7.3.180.0120.00816.67
7.3.170.0120.00316.71
7.3.160.0080.00816.88
7.3.120.0040.01414.99
7.3.110.0060.01114.86
7.3.100.0070.00715.08
7.3.90.0030.01314.91
7.3.80.0140.00314.74
7.3.70.0140.00014.87
7.3.60.0090.00614.75
7.3.50.0070.00714.72
7.3.40.0030.00914.88
7.3.30.0090.00314.90
7.3.20.0070.00716.60
7.3.10.0040.01116.68
7.3.00.0060.00916.42
7.2.330.0200.00016.98
7.2.320.0070.01016.96
7.2.310.0090.00816.69
7.2.300.0030.01416.52
7.2.290.0100.00716.64
7.2.250.0060.01315.36
7.2.240.0060.01015.05
7.2.230.0040.01114.94
7.2.220.0030.00614.93
7.2.210.0060.01015.11
7.2.200.0030.01215.07
7.2.190.0060.00915.09
7.2.180.0090.00614.85
7.2.170.0070.01015.13
7.1.330.0100.00715.76
7.1.320.0000.00916.01
7.1.310.0080.00315.86
7.1.300.0030.01115.86
7.1.290.0100.00315.82
7.1.280.0110.00415.82
7.1.270.0030.01015.76
7.1.260.0150.00015.86
7.1.70.0030.00517.01
7.1.60.0120.01219.43
7.1.50.0160.01934.55
7.1.00.0070.03022.62
7.0.200.0000.00816.57
7.0.140.0070.07022.18
7.0.100.0070.04720.05
7.0.90.0100.06020.10
7.0.80.0030.04720.02
7.0.70.0370.07720.01
7.0.60.0300.03720.22
7.0.50.0030.08320.33
7.0.40.0070.08020.20
7.0.30.0130.07020.17
7.0.20.0130.03020.27
7.0.10.0070.07720.21
7.0.00.0070.07720.07
5.6.280.0100.06321.20
5.6.250.0000.05720.91
5.6.240.0070.08020.84
5.6.230.0100.06020.69
5.6.220.0000.04720.82
5.6.210.0070.08020.62
5.6.200.0070.08721.28
5.6.190.0070.04721.31
5.6.180.0170.07321.17
5.6.170.0000.07021.02
5.6.160.0070.07021.14
5.6.150.0070.08021.16
5.6.140.0070.06321.07
5.6.130.0030.09321.14
5.6.120.0000.08021.10
5.6.110.0100.03321.13
5.6.100.0070.08321.29
5.6.90.0070.04721.10
5.6.80.0070.07320.46
5.6.70.0130.04320.68
5.6.60.0130.07720.50
5.6.50.0230.03020.60
5.6.40.0100.05320.48
5.6.30.0170.07320.45
5.6.20.0070.04720.41
5.6.10.0170.05720.50
5.6.00.0100.07320.53
5.5.380.0130.07320.63
5.5.370.0070.07320.57
5.5.360.0130.07320.48
5.5.350.0070.04720.57
5.5.340.0070.05020.78
5.5.330.0100.05321.00
5.5.320.0070.08021.04
5.5.310.0170.07020.95
5.5.300.0070.08320.84
5.5.290.0070.05720.94
5.5.280.0030.08020.86
5.5.270.0070.06720.90
5.5.260.0130.03720.86
5.5.250.0000.07320.76
5.5.240.0130.06020.44
5.5.230.0030.08020.40
5.5.220.0070.06020.41
5.5.210.0100.03720.14
5.5.200.0170.06720.40
5.5.190.0030.08020.25
5.5.180.0030.05720.29
5.5.160.0030.06720.25
5.5.150.0000.05020.40
5.5.140.0130.07320.30
5.5.130.0070.06320.26
5.5.120.0170.06720.21
5.5.110.0100.06020.31
5.5.100.0130.05720.26
5.5.90.0030.07020.23
5.5.80.0000.04020.16
5.5.70.0130.06020.27
5.5.60.0000.05020.21
5.5.50.0170.06720.18
5.5.40.0130.07020.07
5.5.30.0070.06720.18
5.5.20.0070.07320.21
5.5.10.0070.04320.18
5.5.00.0070.08720.20
5.4.450.0130.07719.59
5.4.440.0070.08019.62
5.4.430.0100.07019.56
5.4.420.0100.07319.59
5.4.410.0130.07319.31
5.4.400.0130.07019.27
5.4.390.0100.07019.29
5.4.380.0100.06319.20
5.4.370.0170.04319.27
5.4.360.0070.07319.44
5.4.350.0100.04319.27
5.4.340.0130.06319.24
5.4.320.0030.04719.24
5.4.310.0070.07319.28
5.4.300.0100.05719.29
5.4.290.0130.02719.19
5.4.280.0070.04319.29
5.4.270.0030.06319.11
5.4.260.0100.06319.44
5.4.250.0070.04019.26
5.4.240.0030.06319.25
5.4.230.0170.06319.10
5.4.220.0100.07019.11
5.4.210.0130.06719.26
5.4.200.0070.07019.26
5.4.190.0200.03019.09
5.4.180.0130.04019.10
5.4.170.0100.06719.23
5.4.160.0130.06719.25
5.4.150.0100.07319.25
5.4.140.0030.04316.44
5.4.130.0070.03716.46
5.4.120.0100.07316.43
5.4.110.0030.05316.45
5.4.100.0130.05316.45
5.4.90.0070.06716.57
5.4.80.0070.05016.61
5.4.70.0100.07716.45
5.4.60.0030.05016.55
5.4.50.0200.05016.42
5.4.40.0100.06716.41
5.4.30.0030.07316.59
5.4.20.0130.06016.36
5.4.10.0170.05016.36
5.4.00.0100.06715.70
5.3.290.0100.07314.82
5.3.280.0100.07314.74
5.3.270.0130.03714.82
5.3.260.0070.07714.73
5.3.250.0030.08014.63
5.3.240.0130.04314.77
5.3.230.0130.06314.59
5.3.220.0070.08014.64
5.3.210.0030.07314.71
5.3.200.0030.08014.71
5.3.190.0100.05314.61
5.3.180.0030.05014.67
5.3.170.0030.07314.66
5.3.160.0070.05014.67
5.3.150.0100.06714.76
5.3.140.0170.05714.58
5.3.130.0070.07314.68
5.3.120.0070.07714.68
5.3.110.0100.06714.71
5.3.100.0070.07314.24
5.3.90.0000.05014.19
5.3.80.0130.06714.23
5.3.70.0070.05714.16
5.3.60.0130.03314.17
5.3.50.0130.05714.09
5.3.40.0030.05013.92
5.3.30.0030.07313.89
5.3.20.0130.06313.91
5.3.10.0030.05313.78
5.3.00.0070.06713.78
5.2.170.0070.06311.36
5.2.160.0000.06011.36
5.2.150.0170.04311.19
5.2.140.0070.03711.18
5.2.130.0170.04011.17
5.2.120.0070.05711.37
5.2.110.0030.06311.27
5.2.100.0070.06011.27
5.2.90.0070.06711.36
5.2.80.0100.05711.30
5.2.70.0100.06011.31
5.2.60.0030.05711.18
5.2.50.0100.06011.14
5.2.40.0030.04711.11
5.2.30.0070.03011.23
5.2.20.0000.04311.05
5.2.10.0030.03711.10
5.2.00.0000.04310.93
5.1.60.0030.04310.23
5.1.50.0030.05310.17
5.1.40.0030.05710.26
5.1.30.0100.05310.59
5.1.20.0000.05710.66
5.1.10.0000.06310.30
5.1.00.0070.05310.29
5.0.50.0030.0438.74
5.0.40.0070.0408.68
5.0.30.0030.0408.44
5.0.20.0000.0378.44
5.0.10.0030.0438.23
5.0.00.0000.0538.23
4.4.90.0000.0407.62
4.4.80.0070.0237.62
4.4.70.0000.0277.62
4.4.60.0030.0307.62
4.4.50.0030.0207.62
4.4.40.0030.0537.62
4.4.30.0000.0277.62
4.4.20.0100.0237.62
4.4.10.0000.0237.62
4.4.00.0000.0277.62
4.3.110.0000.0307.62
4.3.100.0000.0207.62
4.3.90.0030.0337.62
4.3.80.0000.0537.62
4.3.70.0030.0337.62
4.3.60.0030.0307.62
4.3.50.0000.0307.62
4.3.40.0100.0437.62
4.3.30.0030.0337.62
4.3.20.0030.0237.62
4.3.10.0000.0407.62
4.3.00.0000.0207.62

preferences:
58.09 ms | 401 KiB | 5 Q