3v4l.org

run code in 300+ PHP versions simultaneously
<?php $iterator = new \SimpleXmlIterator('<xml><fotoshow><image>http://bild.gottes-platz-an-der-sonne.himmel.1/avater.png</image><image/><image/></fotoshow></xml>'); $images = $iterator->images->image; foreach ($iterator as $value) { var_dump($value); }

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.0140.00718.68
8.3.50.0140.00821.33
8.3.40.0070.00718.84
8.3.30.0030.01020.59
8.3.20.0000.00820.59
8.3.10.0050.00321.26
8.3.00.0000.00823.73
8.2.180.0150.00316.88
8.2.170.0090.00922.96
8.2.160.0040.01120.69
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00021.26
8.2.110.0060.00322.51
8.2.100.0100.00017.97
8.2.90.0040.00419.34
8.2.80.0040.00419.41
8.2.70.0000.00817.75
8.2.60.0040.00417.93
8.2.50.0050.00318.07
8.2.40.0040.00418.47
8.2.30.0080.00019.53
8.2.20.0040.00417.74
8.2.10.0000.00818.02
8.2.00.0040.00417.81
8.1.280.0120.00325.92
8.1.270.0080.00023.99
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0040.00422.67
8.1.230.0040.00721.03
8.1.220.0040.00418.77
8.1.210.0060.00319.01
8.1.200.0030.00717.35
8.1.190.0000.00717.65
8.1.180.0110.00218.10
8.1.170.0030.00518.70
8.1.160.0040.00419.03
8.1.150.0040.00418.84
8.1.140.0000.00717.62
8.1.130.0000.00718.08
8.1.120.0070.00017.63
8.1.110.0040.00417.67
8.1.100.0040.00417.66
8.1.90.0050.00317.57
8.1.80.0000.00817.56
8.1.70.0000.00717.51
8.1.60.0040.00417.87
8.1.50.0000.00817.57
8.1.40.0090.00317.60
8.1.30.0030.00517.67
8.1.20.0040.00417.80
8.1.10.0050.00317.78
8.1.00.0040.00417.66
8.0.300.0040.00420.13
8.0.290.0070.00017.41
8.0.280.0070.00018.52
8.0.270.0030.00317.46
8.0.260.0000.00716.97
8.0.250.0040.00417.13
8.0.240.0030.00317.16
8.0.230.0040.00417.10
8.0.220.0040.00417.05
8.0.210.0070.00017.06
8.0.200.0000.00617.13
8.0.190.0030.00517.01
8.0.180.0050.00217.12
8.0.170.0000.00816.94
8.0.160.0070.00017.13
8.0.150.0080.00017.12
8.0.140.0040.00416.94
8.0.130.0070.00013.39
8.0.120.0040.00417.11
8.0.110.0000.00817.01
8.0.100.0000.00717.06
8.0.90.0050.00317.09
8.0.80.0060.00917.05
8.0.70.0040.00417.07
8.0.60.0050.00216.96
8.0.50.0040.00416.89
8.0.30.0130.00617.15
8.0.20.0110.01117.40
8.0.10.0000.00717.10
8.0.00.0100.00917.00
7.4.330.0070.00015.23
7.4.320.0060.00016.67
7.4.300.0040.00416.63
7.4.290.0040.00416.81
7.4.280.0000.00716.71
7.4.270.0030.00316.67
7.4.260.0000.00513.52
7.4.250.0000.00816.61
7.4.240.0040.00416.84
7.4.230.0000.00716.62
7.4.220.0030.01716.72
7.4.210.0070.00816.80
7.4.200.0000.00716.79
7.4.190.0030.00316.70
7.4.160.0000.01816.71
7.4.150.0100.00717.40
7.4.140.0060.01117.86
7.4.130.0100.00916.47
7.4.120.0060.01016.71
7.4.110.0100.00716.70
7.4.100.0100.00716.66
7.4.90.0060.01216.75
7.4.80.0000.01719.39
7.4.70.0140.00316.41
7.4.60.0150.00616.70
7.4.50.0000.00716.86
7.4.40.0120.00322.77
7.4.30.0090.00916.48
7.4.00.0030.01015.04
7.3.330.0050.00013.39
7.3.320.0030.00313.36
7.3.310.0000.00716.31
7.3.300.0000.00716.41
7.3.290.0120.00316.39
7.3.280.0120.00416.43
7.3.270.0070.01117.40
7.3.260.0090.01118.24
7.3.250.0090.00916.61
7.3.240.0110.00716.64
7.3.230.0100.00616.49
7.3.210.0040.01516.42
7.3.200.0110.00719.39
7.3.190.0160.00616.50
7.3.180.0120.00916.42
7.3.170.0110.00516.61
7.3.160.0030.01716.64
7.3.120.0060.01214.91
7.2.330.0080.00816.95
7.2.320.0000.01816.71
7.2.310.0130.00616.89
7.2.300.0100.00616.79
7.2.290.0100.00717.03
7.1.70.0040.00417.25
7.1.60.0130.01319.17
7.1.50.0100.01017.10
7.1.00.0030.03322.64
7.0.200.0080.00017.00
7.0.140.0000.07322.13
7.0.100.0030.06322.00
7.0.90.0170.07719.90
7.0.80.0100.07020.00
7.0.70.0070.04319.96
7.0.60.0070.04020.02
7.0.50.0030.04320.48
7.0.40.0030.04020.14
7.0.30.0000.04020.04
7.0.20.0030.04320.21
7.0.10.0000.04320.25
7.0.00.0030.04320.18
5.6.280.0000.10021.09
5.6.250.0100.08020.57
5.6.240.0070.08020.67
5.6.230.0000.07720.66
5.6.220.0070.04020.63
5.6.210.0100.07020.68
5.6.200.0070.04021.10
5.6.190.0000.04721.00
5.6.180.0000.04321.11
5.6.170.0000.04021.23
5.6.160.0030.04021.14
5.6.150.0000.04721.27
5.6.140.0030.04321.14
5.6.130.0030.04321.23
5.6.120.0100.03721.27
5.6.110.0000.04321.11
5.6.100.0030.04720.96
5.6.90.0030.04321.05
5.6.80.0000.04320.63
5.6.70.0030.03720.64
5.6.60.0100.03320.45
5.6.50.0100.03320.38
5.6.40.0030.04020.40
5.6.30.0070.03320.51
5.6.20.0030.04020.61
5.6.10.0030.04020.58
5.6.00.0130.03020.44
5.5.380.0070.05320.61
5.5.370.0070.04020.39
5.5.360.0000.05720.38
5.5.350.0100.03720.44
5.5.340.0070.04021.02
5.5.330.0030.04020.90
5.5.320.0030.05020.81
5.5.310.0030.04020.77
5.5.300.0070.04020.90
5.5.290.0000.04020.83
5.5.280.0000.05020.99
5.5.270.0030.04020.86
5.5.260.0000.04321.01
5.5.250.0030.04320.73
5.5.240.0070.03720.38
5.5.230.0000.04320.14
5.5.220.0130.03020.23
5.5.210.0030.03720.25
5.5.200.0100.03320.27
5.5.190.0000.04320.34
5.5.180.0070.03720.38
5.5.160.0030.03020.14
5.5.150.0030.03720.14
5.5.140.0030.03320.37
5.5.130.0100.07020.20
5.5.120.0100.06320.33
5.5.110.0070.05020.34
5.5.100.0000.05320.11
5.5.90.0000.05320.00
5.5.80.0000.08020.01
5.5.70.0100.07320.10
5.5.60.0100.04320.02
5.5.50.0100.05320.13
5.5.40.0030.08020.19
5.5.30.0030.07320.18
5.5.20.0100.04020.21
5.5.10.0070.04020.03
5.5.00.0070.07020.07
5.4.450.0030.05719.54
5.4.440.0030.03719.36
5.4.430.0070.03719.50
5.4.420.0070.03719.36
5.4.410.0000.04319.41
5.4.400.0030.03319.12
5.4.390.0100.03019.17
5.4.380.0030.03319.11
5.4.370.0030.03719.15
5.4.360.0070.03319.19
5.4.350.0000.04019.18
5.4.340.0030.03319.19
5.4.320.0100.02319.17
5.4.310.0070.03319.34
5.4.300.0000.04719.17
5.4.290.0030.07319.09
5.4.280.0070.07019.01
5.4.270.0070.08019.20
5.4.260.0100.04719.17
5.4.250.0170.07319.36
5.4.240.0000.05318.84
5.4.230.0070.08019.01
5.4.220.0130.07319.09
5.4.210.0170.04319.17
5.4.200.0070.05318.85
5.4.190.0130.07319.35
5.4.180.0070.03719.10
5.4.170.0100.07019.20
5.4.160.0100.06319.10
5.4.150.0130.06719.15
5.4.140.0130.05016.48
5.4.130.0100.05316.43
5.4.120.0100.07016.34
5.4.110.0100.06016.50
5.4.100.0000.04316.41
5.4.90.0070.04316.51
5.4.80.0100.05716.51
5.4.70.0070.05016.50
5.4.60.0100.05016.44
5.4.50.0000.07016.49
5.4.40.0070.04716.34
5.4.30.0070.05716.48
5.4.20.0030.07316.53
5.4.10.0130.06316.51
5.4.00.0030.05015.84
5.3.290.0030.03014.59
5.3.280.0030.07314.50
5.3.270.0030.07314.66
5.3.260.0100.04014.73
5.3.250.0130.06314.49
5.3.240.0070.07314.63
5.3.230.0130.06714.71
5.3.220.0030.08014.71
5.3.210.0030.07314.56
5.3.200.0000.04714.63
5.3.190.0070.05714.50
5.3.180.0100.03714.47
5.3.170.0130.07014.62
5.3.160.0030.08014.47
5.3.150.0070.06714.63
5.3.140.0100.07014.65
5.3.130.0030.06314.58
5.3.120.0100.07014.67
5.3.110.0030.06314.58
5.3.100.0170.06314.16
5.3.90.0070.04314.07
5.3.80.0100.07014.09
5.3.70.0100.06014.01
5.3.60.0100.06314.06
5.3.50.0030.05014.05
5.3.40.0030.06714.01
5.3.30.0200.06013.98
5.3.20.0030.05013.62
5.3.10.0000.06713.76
5.3.00.0100.05713.46
5.2.170.0070.05311.50
5.2.160.0030.05011.50
5.2.150.0070.04711.50
5.2.140.0070.05311.50
5.2.130.0070.05311.50
5.2.120.0000.07011.50
5.2.110.0000.04011.50
5.2.100.0100.05711.50
5.2.90.0000.05311.50
5.2.80.0070.06711.50
5.2.70.0070.06011.50
5.2.60.0030.03311.50
5.2.50.0030.05011.50
5.2.40.0030.03311.50
5.2.30.0070.04711.50
5.2.20.0030.05311.50
5.2.10.0000.06311.50
5.2.00.0030.04011.50
5.1.60.0130.03311.50
5.1.50.0070.02711.50
5.1.40.0000.05711.50
5.1.30.0070.02711.50
5.1.20.0030.04311.50
5.1.10.0070.05311.50
5.1.00.0030.05711.50
5.0.50.0000.04711.50
5.0.40.0070.03311.50
5.0.30.0030.05711.50
5.0.20.0030.04311.50
5.0.10.0000.03011.50
5.0.00.0030.04011.50
4.4.90.0070.02011.50
4.4.80.0000.03311.50
4.4.70.0030.01711.50
4.4.60.0000.01711.50
4.4.50.0000.01711.50
4.4.40.0070.03311.50
4.4.30.0000.03311.50
4.4.20.0000.02711.50
4.4.10.0030.02311.50
4.4.00.0030.05011.50
4.3.110.0030.03011.50
4.3.100.0070.03011.50
4.3.90.0030.02711.50
4.3.80.0030.04311.50
4.3.70.0070.03011.50
4.3.60.0030.03011.50
4.3.50.0000.02011.50
4.3.40.0000.04011.50
4.3.30.0000.02711.50
4.3.20.0030.02711.50
4.3.10.0000.03711.50
4.3.00.0000.02011.50

preferences:
40.3 ms | 401 KiB | 5 Q