3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "-- Two empty iterators attached with infos that are different but same array key --\n"; $mit = new MultipleIterator(MultipleIterator::MIT_KEYS_ASSOC); $mit ->attachIterator(new EmptyIterator(), "2"); $mit ->attachIterator(new EmptyIterator(), 2); var_dump($mit->countIterators()); $mit->rewind(); var_dump($mit->current());

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.1.100.0000.00817.41
8.1.90.0040.00417.45
8.1.80.0030.00417.45
8.1.70.0030.00317.36
8.1.60.0000.00817.52
8.1.50.0070.00017.35
8.1.40.0000.00817.52
8.1.30.0040.00417.55
8.1.20.0050.00317.61
8.1.10.0000.00817.57
8.1.00.0050.00317.52
8.0.230.0000.00716.91
8.0.220.0000.00716.80
8.0.210.0060.00016.85
8.0.200.0070.00016.77
8.0.190.0110.00016.95
8.0.180.0070.00016.80
8.0.170.0050.00316.78
8.0.160.0000.00716.76
8.0.150.0070.00016.82
8.0.140.0040.00416.66
8.0.130.0000.00613.35
8.0.120.0000.00816.84
8.0.110.0030.00516.82
8.0.100.0040.00416.82
8.0.90.0030.00316.85
8.0.80.0030.01316.81
8.0.70.0040.00416.79
8.0.60.0040.00416.96
8.0.50.0050.00216.66
8.0.30.0110.00917.15
8.0.20.0090.00917.40
8.0.10.0040.00416.92
8.0.00.0140.00616.85
7.4.300.0030.00316.52
7.4.290.0000.00716.34
7.4.280.0080.00316.42
7.4.270.0030.00316.57
7.4.260.0000.00716.33
7.4.250.0040.00416.40
7.4.240.0020.00616.50
7.4.230.0000.00716.55
7.4.220.0060.00916.43
7.4.210.0070.00716.45
7.4.200.0070.00016.35
7.4.160.0090.00616.33
7.4.150.0110.00617.40
7.4.140.0140.00417.86
7.4.130.0110.00716.27
7.4.120.0140.00616.51
7.4.110.0080.01116.28
7.4.100.0160.00616.45
7.4.90.0090.00916.47
7.4.80.0140.00919.39
7.4.70.0030.01216.32
7.4.60.0030.01316.55
7.4.50.0030.00516.52
7.4.40.0110.00416.48
7.4.30.0100.00716.66
7.4.00.0120.00414.98
7.3.330.0000.00613.06
7.3.320.0050.00012.91
7.3.310.0040.00416.28
7.3.300.0030.00316.14
7.3.290.0030.00316.00
7.3.280.0100.00816.15
7.3.270.0120.00617.40
7.3.260.0000.01816.53
7.3.240.0100.00716.20
7.3.230.0070.01016.41
7.3.210.0100.00616.58
7.3.200.0070.01719.39
7.3.190.0070.00716.25
7.3.180.0040.01216.32
7.3.170.0080.00816.49
7.3.160.0120.00616.54
7.3.00.0110.00416.59
7.2.330.0170.00316.69
7.2.320.0090.00816.52
7.2.310.0030.01416.59
7.2.300.0060.01016.70
7.2.290.0160.00716.56
7.2.130.0060.00916.62
7.2.120.0090.00316.76
7.2.110.0120.00316.58
7.2.100.0040.01116.56
7.2.90.0000.01516.68
7.2.80.0120.00416.64
7.2.70.0030.01316.56
7.2.60.0070.00716.64
7.2.50.0070.00716.52
7.2.40.0040.01216.73
7.2.30.0120.00616.86
7.2.20.0130.00316.84
7.2.10.0090.00616.88
7.2.00.0110.00816.70
7.1.250.0060.00615.78
7.1.240.0060.00615.24
7.1.230.0090.00015.60
7.1.220.0060.00615.23
7.1.210.0070.00415.32
7.1.200.0100.00315.76
7.1.190.0030.01315.64
7.1.180.0000.01515.59
7.1.170.0030.00915.70
7.1.160.0040.00715.61
7.1.150.0000.01415.58
7.1.140.0060.00615.74
7.1.130.0080.00515.66
7.1.120.0130.00315.81
7.1.110.0120.01215.60
7.1.100.0070.00715.43
7.1.90.0030.01015.68
7.1.80.0080.00015.31
7.1.70.0080.00216.32
7.1.60.0020.01016.43
7.1.50.0100.01016.09
7.1.40.0100.00315.63
7.1.30.0100.00715.45
7.1.20.0130.00015.60
7.1.10.0070.00715.66
7.1.00.0050.04018.99
7.0.330.0030.00915.25
7.0.320.0030.00615.24
7.0.310.0120.00314.99
7.0.300.0050.00515.28
7.0.290.0090.00615.20
7.0.280.0070.00315.27
7.0.270.0230.00015.49
7.0.260.0090.00615.16
7.0.250.0040.00715.36
7.0.240.0060.00315.02
7.0.230.0080.00615.12
7.0.220.0060.00615.22
7.0.210.0100.00615.14
7.0.200.0050.00815.99
7.0.190.0030.01015.39
7.0.180.0110.00415.40
7.0.170.0040.00415.15
7.0.160.0080.00515.16
7.0.150.0120.00315.20
7.0.140.0000.01415.27
7.0.130.0040.00915.23
7.0.120.0120.00015.31
7.0.110.0100.00315.15
7.0.100.0050.04417.66
7.0.90.0100.03217.66
7.0.80.0120.03817.64
7.0.70.0050.02817.57
7.0.60.0120.04217.49
7.0.50.0070.04317.79
7.0.40.0100.03216.55
7.0.30.0020.02916.54
7.0.20.0080.02016.67
7.0.10.0080.03616.71
7.0.00.0030.02916.72
5.6.380.0000.01514.30
5.6.370.0040.01114.57
5.6.360.0100.01014.38
5.6.350.0030.01313.96
5.6.340.0060.01214.25
5.6.330.0050.01014.02
5.6.320.0040.01114.07
5.6.310.0000.01614.41
5.6.300.0070.00713.97
5.6.290.0050.00514.30
5.6.280.0020.04417.53
5.6.270.0050.00513.87
5.6.260.0070.00714.11
5.6.250.0100.03217.54
5.6.240.0050.02417.21
5.6.230.0050.02517.25
5.6.220.0170.03017.51
5.6.210.0050.05017.35
5.6.200.0070.02317.60
5.6.190.0060.02717.60
5.6.180.0020.02617.60
5.6.170.0060.04117.67
5.6.160.0070.02417.73
5.6.150.0080.04317.80
5.6.140.0100.04317.61
5.6.130.0150.04117.61
5.6.120.0070.03817.76
5.6.110.0080.02517.62
5.6.100.0030.02717.40
5.6.90.0100.03817.59
5.6.80.0050.03717.26
5.6.70.0060.02117.30
5.6.60.0120.02917.28
5.6.50.0090.03517.35
5.6.40.0040.02417.26
5.6.30.0090.03517.19
5.6.20.0080.03117.18
5.6.10.0060.02017.43
5.6.00.0040.03717.19
5.5.380.0080.02115.53
5.5.370.0030.02715.72
5.5.360.0030.03615.52
5.5.350.0030.04315.71
5.5.340.0070.02515.85
5.5.330.0000.03015.96
5.5.320.0080.04115.77
5.5.310.0050.03215.93
5.5.300.0090.04015.96
5.5.290.0080.02116.04
5.5.280.0020.04116.07
5.5.270.0050.04315.88
5.5.260.0030.03516.02
5.5.250.0050.04515.79
5.5.240.0030.02015.44
5.5.230.0010.02615.65
5.5.220.0020.04315.57
5.5.210.0070.03515.58
5.5.200.0030.03815.52
5.5.190.0110.02015.50
5.5.180.0050.03715.47
5.5.170.0030.00510.70
5.5.160.0060.04315.62
5.5.150.0030.04515.44
5.5.140.0050.04315.48
5.5.130.0070.02915.35
5.5.120.0080.03215.54
5.5.110.0060.03815.64
5.5.100.0000.03415.42
5.5.90.0030.03915.40
5.5.80.0040.02015.45
5.5.70.0050.02815.46
5.5.60.0060.03515.40
5.5.50.0060.03915.38
5.5.40.0050.04215.44
5.5.30.0030.03215.64
5.5.20.0100.02315.55
5.5.10.0020.02715.42
5.5.00.0010.02515.31
5.4.450.0030.02814.87
5.4.440.0060.04315.03
5.4.430.0000.04215.07
5.4.420.0070.04015.08
5.4.410.0080.02815.08
5.4.400.0030.02115.08
5.4.390.0060.04114.97
5.4.380.0020.04414.96
5.4.370.0100.03414.90
5.4.360.0000.03714.90
5.4.350.0080.03314.75
5.4.340.0000.03615.09
5.4.330.0070.00311.00
5.4.320.0030.03014.82
5.4.310.0060.03814.94
5.4.300.0050.04115.14
5.4.290.0030.02514.95
5.4.280.0020.02215.01
5.4.270.0040.04014.87
5.4.260.0050.03514.94
5.4.250.0030.02714.99
5.4.240.0040.03315.05
5.4.230.0060.02014.87
5.4.220.0030.02314.92
5.4.210.0070.04214.81
5.4.200.0020.02414.80
5.4.190.0070.03414.83
5.4.180.0070.03814.96
5.4.170.0060.04114.86
5.4.160.0070.02514.76
5.4.150.0040.04014.90
5.4.140.0090.03513.47
5.4.130.0060.02913.54
5.4.120.0070.03713.57
5.4.110.0050.01813.59
5.4.100.0070.03513.51
5.4.90.0060.01813.48
5.4.80.0070.01713.52
5.4.70.0020.02013.59
5.4.60.0030.04113.62
5.4.50.0070.03713.54
5.4.40.0000.04213.58
5.4.30.0070.03713.51
5.4.20.0040.02013.53
5.4.10.0080.03213.61
5.4.00.0000.04513.30
5.3.290.0010.04412.51
5.3.280.0030.03812.53
5.3.270.0050.03712.53
5.3.260.0050.01812.55
5.3.250.0030.02312.50
5.3.240.0030.04112.40
5.3.230.0040.03912.48
5.3.220.0070.03812.33
5.3.210.0050.04312.29
5.3.200.0100.01312.41
5.3.190.0040.02012.38
5.3.180.0050.03812.47
5.3.170.0040.02112.43
5.3.160.0030.02412.50
5.3.150.0040.03912.56
5.3.140.0030.02412.35
5.3.130.0030.04112.41
5.3.120.0070.02712.48
5.3.110.0080.03512.45
5.3.100.0040.02912.19
5.3.90.0030.02112.12
5.3.80.0020.02312.19
5.3.70.0030.03812.21
5.3.60.0020.03812.14
5.3.50.0030.03212.05
5.3.40.0050.04012.09
5.3.30.0050.01912.20
5.3.20.0080.03311.99
5.3.10.0030.03011.91
5.3.00.0030.02711.85
5.2.170.0020.02510.67
5.2.160.0060.02810.67
5.2.150.0090.02110.61
5.2.140.0040.03010.61
5.2.130.0020.01710.65
5.2.120.0030.03110.63
5.2.110.0000.03010.61
5.2.100.0020.01810.63
5.2.90.0060.01210.67
5.2.80.0030.03210.58
5.2.70.0020.02010.46
5.2.60.0030.03010.58
5.2.50.0020.03310.64
5.2.40.0020.02110.63
5.2.30.0020.01810.49
5.2.20.0050.01510.50
5.2.10.0030.01610.52
5.2.00.0030.02610.46
5.1.60.0020.01510.15
5.1.50.0000.02510.09
5.1.40.0090.01710.24
5.1.30.0040.02310.18
5.1.20.0030.01710.22
5.1.10.0000.03610.10
5.1.00.0030.02410.14
5.0.50.0030.02310.09
5.0.40.0020.01110.09
5.0.30.0020.01810.09
5.0.20.0030.01810.09
5.0.10.0020.02410.09
5.0.00.0000.03710.09
4.4.90.0000.01910.09
4.4.80.0000.01510.09
4.4.70.0000.01210.09
4.4.60.0020.02210.09
4.4.50.0030.01310.09
4.4.40.0030.02710.09
4.4.30.0010.00910.09
4.4.20.0000.01510.09
4.4.10.0000.01310.09
4.4.00.0030.02010.09
4.3.110.0020.02010.09
4.3.100.0000.01010.09
4.3.90.0020.01810.09
4.3.80.0030.02010.09
4.3.70.0020.02010.09
4.3.60.0040.00510.09
4.3.50.0030.01810.09
4.3.40.0010.01310.09
4.3.30.0020.01810.09
4.3.20.0020.01110.09
4.3.10.0000.01410.09
4.3.00.0000.01310.09

preferences:
59.24 ms | 406 KiB | 5 Q