3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = '<?xml version="1.0" encoding="utf-8" standalone="yes" ?>'. '<request><body test2="321" test3="987">'. '<rows><my-row test4="564">'. '<types>'. '<custom>this is the example of the text</custom>'. '<Generic arch="simple">this is the example of the text</Generic>'. '<bold/><italic/><underlined/>'. '</types>'. '</my-row><my-row test5="565"/><test hidden="false" ready="true"/></rows>'. '</body></request>'; $obj = new SimpleXmlIterator($s);

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.0060.00916.62
8.3.50.0110.00522.04
8.3.40.0120.00618.91
8.3.30.0100.00319.21
8.3.20.0060.00320.33
8.3.10.0030.00523.65
8.3.00.0070.00417.59
8.2.180.0110.01116.75
8.2.170.0120.00322.96
8.2.160.0100.00720.57
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0000.00722.37
8.2.110.0030.00622.36
8.2.100.0090.00317.97
8.2.90.0080.00019.34
8.2.80.0000.00818.05
8.2.70.0050.00317.75
8.2.60.0040.00418.05
8.2.50.0080.00018.07
8.2.40.0030.00618.34
8.2.30.0040.00418.25
8.2.20.0040.00417.85
8.2.10.0000.00717.96
8.2.00.0030.00517.87
8.1.280.0110.00325.92
8.1.270.0040.00422.31
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0000.00824.14
8.1.230.0110.00419.33
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00617.47
8.1.190.0040.00417.58
8.1.180.0040.00418.10
8.1.170.0050.00318.73
8.1.160.0000.00822.20
8.1.150.0060.00318.66
8.1.140.0040.00417.70
8.1.130.0000.00817.94
8.1.120.0040.00417.71
8.1.110.0030.00517.51
8.1.100.0040.00417.48
8.1.90.0070.00017.56
8.1.80.0000.00817.66
8.1.70.0000.00717.56
8.1.60.0060.00617.65
8.1.50.0050.00317.51
8.1.40.0040.00417.71
8.1.30.0030.00617.69
8.1.20.0000.00717.88
8.1.10.0040.00417.75
8.1.00.0050.00217.73
8.0.300.0030.00618.77
8.0.290.0000.00817.30
8.0.280.0040.00418.61
8.0.270.0070.00017.41
8.0.260.0040.00416.91
8.0.250.0000.00617.01
8.0.240.0040.00417.17
8.0.230.0000.00717.19
8.0.220.0030.00317.12
8.0.210.0070.00017.05
8.0.200.0060.00017.18
8.0.190.0030.00317.16
8.0.180.0030.00517.11
8.0.170.0000.00717.13
8.0.160.0000.00717.05
8.0.150.0000.00716.96
8.0.140.0030.00317.04
8.0.130.0000.00913.43
8.0.120.0040.00416.91
8.0.110.0030.00416.88
8.0.100.0040.00416.93
8.0.90.0000.00716.87
8.0.80.0060.00917.12
8.0.70.0030.00516.96
8.0.60.0030.00516.92
8.0.50.0070.00016.92
8.0.30.0100.00817.16
8.0.20.0070.01417.40
8.0.10.0030.00517.05
8.0.00.0140.00416.80
7.4.330.0020.00215.18
7.4.320.0030.00316.57
7.4.300.0030.00316.85
7.4.290.0000.00716.57
7.4.280.0000.00816.68
7.4.270.0030.00316.68
7.4.260.0030.00316.64
7.4.250.0000.00716.63
7.4.240.0020.00516.73
7.4.230.0030.00316.86
7.4.220.0100.01416.83
7.4.210.0100.00516.81
7.4.200.0040.00416.67
7.4.190.0080.00016.60
7.4.160.0120.00316.53
7.4.150.0110.00717.40
7.4.140.0160.00817.86
7.4.130.0070.01216.52
7.4.120.0090.00916.51
7.4.110.0070.01016.66
7.4.100.0150.00616.48
7.4.90.0070.01316.72
7.4.80.0070.01019.39
7.4.70.0100.00716.53
7.4.60.0100.00716.48
7.4.50.0000.00516.62
7.4.40.0120.00622.77
7.4.30.0070.01016.70
7.4.10.0140.00315.13
7.4.00.0080.00814.93
7.3.330.0050.00013.21
7.3.320.0050.00013.07
7.3.310.0070.00016.45
7.3.300.0030.00316.32
7.3.290.0030.01116.40
7.3.280.0100.01016.40
7.3.270.0120.00617.40
7.3.260.0030.01416.26
7.3.250.0080.01216.49
7.3.240.0130.00316.70
7.3.230.0070.01116.39
7.3.210.0120.01016.66
7.3.200.0100.00719.39
7.3.190.0090.01316.31
7.3.180.0130.00616.64
7.3.170.0090.00616.71
7.3.160.0070.01016.50
7.3.130.0070.01315.00
7.3.120.0060.01114.73
7.3.110.0140.00014.56
7.3.100.0000.01214.94
7.3.90.0030.00914.71
7.3.80.0060.00614.77
7.3.70.0090.00614.73
7.3.60.0070.00714.58
7.3.50.0000.01414.73
7.3.40.0000.01114.82
7.3.30.0140.00314.85
7.3.20.0000.00916.62
7.3.10.0090.00616.84
7.3.00.0000.01016.54
7.2.330.0150.00616.63
7.2.320.0070.01516.54
7.2.310.0070.01116.79
7.2.300.0040.01416.51
7.2.290.0040.01216.68
7.2.260.0110.00714.97
7.2.250.0100.01015.14
7.2.240.0000.01614.71
7.2.230.0070.01014.88
7.2.220.0000.01615.12
7.2.210.0060.01214.86
7.2.200.0030.01015.16
7.2.190.0040.01215.12
7.2.180.0040.00715.09
7.2.170.0120.00315.11
7.2.160.0060.01014.86
7.2.150.0030.01016.87
7.2.140.0040.00816.83
7.2.130.0000.00916.89
7.2.120.0030.01216.83
7.2.110.0030.01017.02
7.2.100.0080.00817.05
7.2.90.0060.00317.04
7.2.80.0060.00317.04
7.2.70.0060.00916.86
7.2.60.0050.00817.04
7.2.50.0070.00716.67
7.2.40.0080.00416.76
7.2.30.0060.00917.10
7.2.20.0030.01316.87
7.2.10.0090.00616.82
7.2.00.0070.00416.95
7.1.330.0070.00715.50
7.1.320.0060.00915.67
7.1.310.0080.00415.89
7.1.300.0040.00715.70
7.1.290.0060.00315.71
7.1.280.0100.00615.49
7.1.270.0090.00315.79
7.1.260.0000.01115.80
7.1.250.0040.00715.65
7.1.240.0100.00015.73
7.1.230.0070.00715.76
7.1.220.0070.01015.61
7.1.210.0040.01415.74
7.1.200.0070.00615.58
7.1.190.0040.00715.75
7.1.180.0000.01215.85
7.1.170.0030.01015.88
7.1.160.0110.00015.82
7.1.150.0030.00715.72
7.1.140.0070.00315.79
7.1.130.0000.01115.89
7.1.120.0090.00515.69
7.1.110.0070.00715.67
7.1.100.0000.00815.80
7.1.90.0000.00915.77
7.1.80.0000.01415.85
7.1.70.0080.00816.55
7.1.60.0090.00817.61
7.1.50.0140.01225.12
7.1.40.0040.00715.78
7.1.30.0060.00315.88
7.1.20.0070.00715.74
7.1.10.0100.00715.61
7.1.00.0050.04119.01
7.0.330.0000.01215.53
7.0.320.0040.01415.61
7.0.310.0090.00615.33
7.0.300.0050.00315.28
7.0.290.0000.01415.27
7.0.280.0030.00915.43
7.0.270.0070.00315.52
7.0.260.0080.00415.42
7.0.250.0040.00415.52
7.0.240.0030.00615.74
7.0.230.0100.00315.30
7.0.220.0000.01415.34
7.0.210.0070.00715.41
7.0.200.0060.00515.98
7.0.190.0040.00815.15
7.0.180.0030.00615.38
7.0.170.0090.00615.50
7.0.160.0030.01315.75
7.0.150.0070.01015.46
7.0.140.0040.04018.76
7.0.130.0030.01015.63
7.0.120.0100.00615.57
7.0.110.0000.01415.68
7.0.100.0080.02717.87
7.0.90.0080.03317.61
7.0.80.0050.02317.74
7.0.70.0080.02317.77
7.0.60.0050.02217.69
7.0.50.0050.03718.00
7.0.40.0110.03816.78
7.0.30.0030.03916.76
7.0.20.0050.03016.78
7.0.10.0130.03816.74
7.0.00.0080.02116.78
5.6.400.0090.00614.18
5.6.390.0000.01414.49
5.6.380.0140.00314.63
5.6.370.0120.00414.57
5.6.360.0110.00014.57
5.6.350.0030.01014.18
5.6.340.0030.00914.74
5.6.330.0060.00314.33
5.6.320.0100.00714.05
5.6.310.0100.00714.65
5.6.300.0060.01114.62
5.6.290.0030.00914.24
5.6.280.0050.03817.70
5.6.270.0090.00614.17
5.6.260.0060.01214.46
5.6.250.0060.04317.64
5.6.240.0060.04517.54
5.6.230.0040.03717.66
5.6.220.0060.02517.57
5.6.210.0050.02617.47
5.6.200.0070.04217.68
5.6.190.0050.02717.70
5.6.180.0060.03517.74
5.6.170.0050.04417.68
5.6.160.0040.04117.65
5.6.150.0070.02417.79
5.6.140.0040.04817.76
5.6.130.0000.03517.74
5.6.120.0020.04117.73
5.6.110.0050.04517.72
5.6.100.0050.02417.60
5.6.90.0030.04217.56
5.6.80.0020.02617.48
5.6.70.0080.03017.46
5.6.60.0070.04417.34
5.6.50.0020.05117.42
5.6.40.0030.04017.39
5.6.30.0050.02617.30
5.6.20.0090.03917.44
5.6.10.0060.02817.29
5.6.00.0050.03917.34
5.5.380.0130.03917.22
5.5.370.0050.02517.29
5.5.360.0050.02517.39
5.5.350.0100.02817.36
5.5.340.0060.02517.62
5.5.330.0040.04417.61
5.5.320.0110.02117.53
5.5.310.0100.02817.58
5.5.300.0060.04517.50
5.5.290.0080.03517.68
5.5.280.0070.02617.45
5.5.270.0110.03817.61
5.5.260.0070.04017.50
5.5.250.0050.04817.30
5.5.240.0050.03917.37
5.5.230.0080.04217.17
5.5.220.0060.02117.19
5.5.210.0050.04117.21
5.5.200.0070.02517.26
5.5.190.0080.03717.21
5.5.180.0030.04017.28
5.5.170.0080.00614.34
5.5.160.0110.03817.19
5.5.150.0070.04417.20
5.5.140.0050.03717.21
5.5.130.0070.04317.08
5.5.120.0140.02217.35
5.5.110.0100.03717.15
5.5.100.0070.03317.15
5.5.90.0100.03817.17
5.5.80.0070.04017.23
5.5.70.0030.04117.15
5.5.60.0030.04017.11
5.5.50.0130.03317.07
5.5.40.0060.03417.11
5.5.30.0080.03717.13
5.5.20.0050.04217.18
5.5.10.0070.04217.18
5.5.00.0020.03817.19
5.4.450.0030.04415.68
5.4.440.0030.04615.59
5.4.430.0020.03915.74
5.4.420.0080.03515.76
5.4.410.0020.04315.63
5.4.400.0050.04015.50
5.4.390.0070.03815.67
5.4.380.0060.02215.55
5.4.370.0110.03615.42
5.4.360.0060.04115.55
5.4.350.0070.03815.56
5.4.340.0060.02115.67
5.4.330.0070.00011.98
5.4.320.0000.04015.41
5.4.310.0040.04215.42
5.4.300.0020.02815.50
5.4.290.0070.03615.43
5.4.280.0110.03515.43
5.4.270.0080.03815.55
5.4.260.0050.03815.54
5.4.250.0030.03215.57
5.4.240.0000.04115.58
5.4.230.0070.04015.57
5.4.220.0060.02915.41
5.4.210.0050.02315.54
5.4.200.0030.03415.58
5.4.190.0080.03815.66
5.4.180.0080.03815.56
5.4.170.0050.04215.58
5.4.160.0110.03815.56
5.4.150.0020.02715.42
5.4.140.0060.04214.20
5.4.130.0060.03414.27
5.4.120.0090.03714.26
5.4.110.0030.04414.25
5.4.100.0030.02714.25
5.4.90.0050.03714.29
5.4.80.0060.03314.23
5.4.70.0030.02514.20
5.4.60.0020.04814.24
5.4.50.0050.03214.17
5.4.40.0100.03314.28
5.4.30.0060.02214.19
5.4.20.0070.01814.19
5.4.10.0050.03814.24
5.4.00.0030.02213.94
5.3.290.0080.03913.33
5.3.280.0050.03813.36
5.3.270.0030.03513.36
5.3.260.0050.04013.33
5.3.250.0060.04113.32
5.3.240.0060.02613.36
5.3.230.0020.03113.31
5.3.220.0090.03713.31
5.3.210.0010.04313.32
5.3.200.0050.04113.34
5.3.190.0020.04313.27
5.3.180.0030.03713.22
5.3.170.0040.02413.30
5.3.160.0030.02513.32
5.3.150.0040.03513.29
5.3.140.0050.02313.23
5.3.130.0030.02513.26
5.3.120.0030.03513.22
5.3.110.0070.02413.21
5.3.100.0050.02513.04
5.3.90.0030.02513.02
5.3.80.0020.03813.05
5.3.70.0030.03012.92
5.3.60.0050.02713.01
5.3.50.0040.02212.98
5.3.40.0000.02812.93
5.3.30.0100.01813.00
5.3.20.0020.02212.80
5.3.10.0050.02012.81
5.3.00.0050.03612.83
5.2.170.0030.05711.32
5.2.160.0070.04711.33
5.2.150.0000.06711.04
5.2.140.0030.03311.20
5.2.130.0070.02710.98
5.2.120.0000.03011.29
5.2.110.0030.05311.01
5.2.100.0070.06011.02
5.2.90.0070.05711.16
5.2.80.0070.06011.18
5.2.70.0070.06011.24
5.2.60.0130.05311.11
5.2.50.0030.06311.01
5.2.40.0030.06310.93
5.2.30.0100.02711.06
5.2.20.0200.04011.02
5.2.10.0130.02710.97
5.2.00.0100.05010.92
5.1.60.0070.03310.11
5.1.50.0030.05010.09
5.1.40.0030.02310.09
5.1.30.0030.05710.46
5.1.20.0030.04010.34
5.1.10.0000.04010.12
5.1.00.0100.02310.13
5.0.50.0100.0338.71
5.0.40.0130.0378.37
5.0.30.0070.0308.35
5.0.20.0070.0408.29
5.0.10.0070.0378.22
5.0.00.0000.0708.33
4.4.90.0070.0307.86
4.4.80.0000.0377.86
4.4.70.0070.0337.86
4.4.60.0030.0177.86
4.4.50.0000.0377.86
4.4.40.0030.0537.86
4.4.30.0000.0377.86
4.4.20.0030.0237.86
4.4.10.0000.0237.86
4.4.00.0030.0577.86
4.3.110.0030.0177.86
4.3.100.0100.0207.86
4.3.90.0000.0137.86
4.3.80.0000.0437.86
4.3.70.0030.0307.86
4.3.60.0030.0107.86
4.3.50.0030.0177.86
4.3.40.0030.0407.86
4.3.30.0030.0307.86
4.3.20.0030.0177.86
4.3.10.0030.0337.86
4.3.00.0000.0307.86

preferences:
42.05 ms | 401 KiB | 5 Q