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())]"); 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.00718.57
8.3.60.0110.00718.56
8.3.50.0080.00722.17
8.3.40.0040.01119.04
8.3.30.0150.00019.46
8.3.20.0050.00320.63
8.3.10.0070.00023.86
8.3.00.0080.00020.69
8.2.190.0110.01116.75
8.2.180.0120.00316.75
8.2.170.0090.00622.96
8.2.160.0070.00722.46
8.2.150.0060.00324.18
8.2.140.0140.00724.66
8.2.130.0070.00026.16
8.2.120.0090.00621.41
8.2.110.0030.00622.70
8.2.100.0030.00818.03
8.2.90.0000.00919.42
8.2.80.0050.00318.29
8.2.70.0030.00517.63
8.2.60.0000.00818.28
8.2.50.0030.00518.07
8.2.40.0000.00818.41
8.2.30.0040.00418.29
8.2.20.0040.00417.84
8.2.10.0000.00819.89
8.2.00.0040.00417.83
8.1.280.0040.01525.92
8.1.270.0050.00324.17
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0060.00324.04
8.1.230.0040.00719.48
8.1.220.0000.00817.80
8.1.210.0040.00418.77
8.1.200.0050.00417.50
8.1.190.0040.00417.78
8.1.180.0080.00018.10
8.1.170.0050.00318.77
8.1.160.0040.00422.13
8.1.150.0020.00518.95
8.1.140.0040.00417.71
8.1.130.0000.00818.20
8.1.120.0040.00417.85
8.1.110.0050.00217.61
8.1.100.0050.00217.64
8.1.90.0070.00017.66
8.1.80.0000.00717.79
8.1.70.0030.00317.63
8.1.60.0040.00417.73
8.1.50.0060.00317.83
8.1.40.0040.00417.68
8.1.30.0080.00017.92
8.1.20.0040.00417.80
8.1.10.0000.00817.62
8.1.00.0060.00317.64
8.0.300.0040.00418.77
8.0.290.0040.00417.30
8.0.280.0070.00018.72
8.0.270.0000.00717.41
8.0.260.0000.00717.19
8.0.250.0030.00317.40
8.0.240.0020.00517.37
8.0.230.0040.00417.34
8.0.220.0000.00717.09
8.0.210.0000.00717.12
8.0.200.0000.00717.40
8.0.190.0040.00417.08
8.0.180.0070.00017.35
8.0.170.0060.00317.15
8.0.160.0000.00817.32
8.0.150.0050.00217.21
8.0.140.0050.00317.21
8.0.130.0030.00313.72
8.0.120.0040.00417.22
8.0.110.0000.00717.34
8.0.100.0070.00017.08
8.0.90.0070.00017.19
8.0.80.0080.00817.36
8.0.70.0040.00417.02
8.0.60.0030.00517.28
8.0.50.0040.00417.12
8.0.30.0080.01117.27
8.0.20.0090.00917.44
8.0.10.0050.00317.28
8.0.00.0130.00817.04
7.4.330.0000.00515.28
7.4.320.0000.00616.78
7.4.300.0000.00616.86
7.4.290.0030.00316.83
7.4.280.0000.00916.61
7.4.270.0030.00316.73
7.4.260.0040.00416.80
7.4.250.0000.00816.74
7.4.240.0030.00316.94
7.4.230.0080.00016.88
7.4.220.0070.01416.84
7.4.210.0110.00616.84
7.4.200.0000.00716.90
7.4.190.0040.00317.02
7.4.160.0120.00916.66
7.4.150.0070.01717.40
7.4.140.0130.00817.86
7.4.130.0090.00916.65
7.4.120.0100.00716.81
7.4.110.0100.00716.79
7.4.100.0070.01416.81
7.4.90.0060.01116.80
7.4.80.0120.00616.72
7.4.70.0080.01216.77
7.4.60.0060.01116.84
7.4.50.0000.00916.88
7.4.40.0110.00322.77
7.4.30.0110.00616.86
7.4.00.0070.01014.99
7.3.330.0000.00613.37
7.3.320.0000.00513.17
7.3.310.0070.00016.64
7.3.300.0030.00416.56
7.3.290.0030.01416.46
7.3.280.0070.01116.56
7.3.270.0100.00717.40
7.3.260.0150.00816.92
7.3.250.0110.00516.70
7.3.240.0120.00416.45
7.3.230.0060.01216.72
7.3.210.0100.01016.55
7.3.200.0140.00419.39
7.3.190.0110.00816.79
7.3.180.0060.00916.80
7.3.170.0120.00416.47
7.3.160.0080.01316.78
7.3.120.0050.01414.76
7.3.110.0040.01514.77
7.3.100.0070.01315.13
7.3.90.0090.00614.82
7.3.80.0030.00514.91
7.3.70.0050.00815.02
7.3.60.0000.01214.98
7.3.50.0090.00314.80
7.3.40.0000.01314.62
7.3.30.0000.01014.68
7.3.20.0040.01116.85
7.3.10.0030.00916.71
7.3.00.0070.01116.80
7.2.330.0060.01217.05
7.2.320.0120.00916.87
7.2.310.0060.01117.02
7.2.300.0100.00716.66
7.2.290.0110.00516.88
7.2.250.0070.01014.89
7.2.240.0040.01815.23
7.2.230.0030.00715.19
7.2.220.0090.00314.95
7.2.210.0100.00314.96
7.2.200.0060.01114.88
7.2.190.0080.00815.25
7.2.180.0000.01115.02
7.2.170.0030.00715.07
7.2.160.0080.00414.89
7.2.150.0080.00416.79
7.2.140.0060.00916.95
7.2.130.0070.00716.96
7.2.120.0070.00717.02
7.2.110.0100.00716.95
7.2.100.0100.00017.04
7.2.90.0030.01016.98
7.2.80.0000.01016.82
7.2.70.0120.00016.84
7.2.60.0120.00917.03
7.2.50.0000.01217.05
7.2.40.0030.01017.12
7.2.30.0030.01016.74
7.2.20.0030.00616.96
7.2.10.0070.00416.76
7.2.00.0060.00718.19
7.1.330.0090.00915.99
7.1.320.0070.00715.91
7.1.310.0030.00615.56
7.1.300.0030.00915.87
7.1.290.0070.00715.68
7.1.280.0070.00715.86
7.1.270.0110.00415.83
7.1.260.0070.01015.95
7.1.250.0100.00315.90
7.1.240.0110.00415.64
7.1.230.0060.00615.71
7.1.220.0060.00315.75
7.1.210.0070.00715.89
7.1.200.0050.00515.83
7.1.190.0000.01115.71
7.1.180.0030.01315.97
7.1.170.0040.00715.78
7.1.160.0040.00815.79
7.1.150.0090.00315.96
7.1.140.0000.01215.89
7.1.130.0040.00415.94
7.1.120.0000.01115.96
7.1.110.0030.01015.75
7.1.100.0080.00317.06
7.1.90.0060.00315.66
7.1.80.0080.00815.82
7.1.70.0020.00816.66
7.1.60.0070.00917.53
7.1.50.0080.01116.31
7.1.40.0080.00415.95
7.1.30.0070.00715.62
7.1.20.0000.01516.04
7.1.10.0030.01315.98
7.1.00.0070.03919.12
7.0.330.0000.01315.61
7.0.320.0040.00815.48
7.0.310.0000.00915.70
7.0.300.0050.00515.23
7.0.290.0040.01115.54
7.0.280.0040.00915.45
7.0.270.0040.00415.62
7.0.260.0030.00915.57
7.0.250.0080.00815.63
7.0.240.0080.00315.72
7.0.230.0040.00715.71
7.0.220.0040.00415.60
7.0.210.0040.00815.74
7.0.200.0050.00516.17
7.0.190.0000.00815.56
7.0.180.0070.00715.27
7.0.170.0040.00415.53
7.0.160.0040.00415.49
7.0.150.0040.01115.63
7.0.140.0020.04319.01
7.0.130.0080.00515.61
7.0.120.0000.01215.56
7.0.110.0030.01015.71
7.0.100.0000.01215.31
7.0.90.0000.01015.74
7.0.80.0160.02817.99
7.0.70.0100.02017.81
7.0.60.0070.02317.87
7.0.50.0140.02718.09
7.0.40.0030.02516.97
7.0.30.0030.04817.08
7.0.20.0110.04316.90
7.0.10.0120.03516.88
7.0.00.0050.03616.91
5.6.400.0070.00714.18
5.6.390.0000.01414.29
5.6.380.0060.00614.61
5.6.370.0040.00814.40
5.6.360.0000.01114.54
5.6.350.0070.00714.51
5.6.340.0060.00314.78
5.6.330.0030.01014.27
5.6.320.0050.00514.38
5.6.310.0000.01614.48
5.6.300.0000.01514.46
5.6.290.0090.00614.58
5.6.280.0090.03517.71
5.6.270.0000.01314.61
5.6.260.0060.00914.26
5.6.250.0090.00614.54
5.6.240.0000.01014.33
5.6.230.0030.02917.70
5.6.220.0020.02617.46
5.6.210.0060.02317.76
5.6.200.0130.03217.81
5.6.190.0060.03617.80
5.6.180.0130.04017.80
5.6.170.0130.03517.93
5.6.160.0080.02217.74
5.6.150.0130.03317.95
5.6.140.0080.04417.88
5.6.130.0050.03017.75
5.6.120.0170.01717.83
5.6.110.0080.04517.77
5.6.100.0060.04217.84
5.6.90.0070.05018.00
5.6.80.0050.03617.63
5.6.70.0110.03617.33
5.6.60.0080.04117.46
5.6.50.0100.03517.35
5.6.40.0070.04517.37
5.6.30.0050.02717.55
5.6.20.0050.04317.47
5.6.10.0080.02817.39
5.6.00.0030.04617.44
5.5.380.0040.00414.15
5.5.370.0020.02717.36
5.5.360.0090.02317.39
5.5.350.0070.02717.54
5.5.340.0060.02317.71
5.5.330.0060.01917.66
5.5.320.0070.03817.69
5.5.310.0110.04117.69
5.5.300.0020.02717.78
5.5.290.0080.04417.74
5.5.280.0030.02517.84
5.5.270.0060.04317.58
5.5.260.0050.05117.54
5.5.250.0100.04117.54
5.5.240.0090.03217.33
5.5.230.0080.03317.40
5.5.220.0060.04117.37
5.5.210.0110.03617.33
5.5.200.0090.02617.35
5.5.190.0080.03017.26
5.5.180.0060.04417.37
5.5.170.0070.00714.22
5.5.160.0050.05017.36
5.5.150.0050.03917.31
5.5.140.0020.02817.16
5.5.130.0100.04017.32
5.5.120.0050.03817.46
5.5.110.0080.04417.21
5.5.100.0050.02917.19
5.5.90.0060.04417.33
5.5.80.0070.04017.24
5.5.70.0070.04217.31
5.5.60.0050.04017.22
5.5.50.0040.03217.25
5.5.40.0080.03817.09
5.5.30.0060.04317.29
5.5.20.0070.03417.27
5.5.10.0030.03217.24
5.5.00.0000.02717.14
5.4.450.0120.03015.79
5.4.440.0050.03215.77
5.4.430.0050.02215.77
5.4.420.0080.02115.77
5.4.410.0060.03815.58
5.4.400.0050.02515.69
5.4.390.0070.04215.61
5.4.380.0040.02415.60
5.4.370.0060.03515.61
5.4.360.0070.04015.60
5.4.350.0020.03315.47
5.4.340.0110.03815.47
5.4.330.0080.00011.94
5.4.320.0000.03215.59
5.4.310.0070.04515.53
5.4.300.0050.03115.48
5.4.290.0050.03415.54
5.4.280.0060.03015.61
5.4.270.0080.03715.62
5.4.260.0100.03015.59
5.4.250.0090.03815.55
5.4.240.0030.04215.56
5.4.230.0050.04115.56
5.4.220.0080.03715.51
5.4.210.0000.02615.56
5.4.200.0070.03315.59
5.4.190.0000.04615.52
5.4.180.0130.03515.46
5.4.170.0050.03715.48
5.4.160.0070.03515.59
5.4.150.0100.02015.60
5.4.140.0070.01814.22
5.4.130.0080.03314.28
5.4.120.0030.02114.24
5.4.110.0030.02814.20
5.4.100.0040.02214.17
5.4.90.0030.03114.28
5.4.80.0020.02214.17
5.4.70.0050.03314.19
5.4.60.0020.02414.14
5.4.50.0030.02314.21
5.4.40.0030.03714.18
5.4.30.0030.04014.16
5.4.20.0110.03014.24
5.4.10.0060.03614.24
5.4.00.0050.02313.95
5.3.290.0070.03813.38
5.3.280.0050.04213.27
5.3.270.0050.03813.33
5.3.260.0070.02013.32
5.3.250.0070.02013.31
5.3.240.0050.02313.34
5.3.230.0030.02313.33
5.3.220.0050.02013.27
5.3.210.0030.02213.30
5.3.200.0030.02113.27
5.3.190.0090.03513.29
5.3.180.0030.02313.25
5.3.170.0080.03813.29
5.3.160.0060.03013.35
5.3.150.0030.02313.27
5.3.140.0050.03813.30
5.3.130.0050.04013.31
5.3.120.0060.03413.25
5.3.110.0030.04013.35
5.3.100.0030.03713.07
5.3.90.0070.02413.00
5.3.80.0070.03812.98
5.3.70.0090.01813.08
5.3.60.0080.04213.03
5.3.50.0090.02612.95
5.3.40.0030.04213.05
5.3.30.0080.03013.00
5.3.20.0030.03912.81
5.3.10.0060.03612.87
5.3.00.0090.03312.83
5.2.170.0000.03711.61
5.2.160.0070.06011.61
5.2.150.0070.06011.61
5.2.140.0000.06711.61
5.2.130.0030.06011.61
5.2.120.0030.06311.61
5.2.110.0030.04311.61
5.2.100.0070.05311.61
5.2.90.0170.05011.61
5.2.80.0070.04311.61
5.2.70.0000.03711.61
5.2.60.0000.07011.61
5.2.50.0070.05311.61
5.2.40.0000.06011.61
5.2.30.0070.05011.61
5.2.20.0000.03711.61
5.2.10.0070.06011.61
5.2.00.0030.05711.61
5.1.60.0030.05711.61
5.1.50.0030.04311.61
5.1.40.0100.04311.61
5.1.30.0070.05311.61
5.1.20.0070.04711.61
5.1.10.0070.06011.61
5.1.00.0100.06011.61
5.0.50.0070.04311.61
5.0.40.0000.04711.61
5.0.30.0030.03711.61
5.0.20.0030.04311.61
5.0.10.0100.03311.61
5.0.00.0100.06311.61
4.4.90.0030.03311.61
4.4.80.0000.02711.61
4.4.70.0030.03711.61
4.4.60.0030.03711.61
4.4.50.0130.02711.61
4.4.40.0000.05311.61
4.4.30.0030.03311.61
4.4.20.0070.03711.61
4.4.10.0030.03011.61
4.4.00.0030.04311.61
4.3.110.0030.02711.61
4.3.100.0000.03711.61
4.3.90.0030.03311.61
4.3.80.0070.04711.61
4.3.70.0000.03711.61
4.3.60.0030.03711.61
4.3.50.0030.03311.61
4.3.40.0000.05711.61
4.3.30.0000.03711.61
4.3.20.0030.03011.61
4.3.10.0000.03711.61
4.3.00.0000.02711.61

preferences:
60.95 ms | 401 KiB | 5 Q