3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = new ArrayObject(); $array->setIteratorClass(FilterIterator::class); foreach($array as $_){ }

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.0120.00918.68
8.3.50.0070.01318.11
8.3.40.0160.00318.76
8.3.30.0070.00718.67
8.3.20.0000.00724.18
8.3.10.0000.00824.66
8.3.00.0050.00326.16
8.2.180.0140.00725.92
8.2.170.0110.00418.95
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00421.11
8.2.110.0060.00322.30
8.2.100.0090.00319.51
8.2.90.0040.00419.09
8.2.80.0030.00517.97
8.2.70.0050.00317.38
8.2.60.0080.00017.93
8.2.50.0030.00618.07
8.2.40.0000.00817.82
8.2.30.0000.00717.98
8.2.20.0000.00718.05
8.2.10.0000.00819.23
8.2.00.0030.00619.05
8.1.280.0140.00425.92
8.1.270.0040.00423.99
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0040.00422.07
8.1.230.0000.01122.25
8.1.220.0030.00717.74
8.1.210.0000.00918.77
8.1.200.0090.00017.35
8.1.190.0050.00217.23
8.1.180.0000.00718.10
8.1.170.0080.00018.50
8.1.160.0040.00418.82
8.1.150.0030.00518.83
8.1.140.0000.00818.85
8.1.130.0030.00320.03
8.1.120.0000.00717.41
8.1.110.0070.00017.38
8.1.100.0040.00417.29
8.1.90.0000.00717.29
8.1.80.0040.00317.41
8.1.70.0000.00717.41
8.1.60.0040.00417.45
8.1.50.0050.00317.41
8.1.40.0000.00817.53
8.1.30.0040.00417.54
8.1.20.0020.00517.53
8.1.10.0050.00317.55
8.1.00.0080.00017.39
8.0.300.0050.00218.77
8.0.290.0060.00316.75
8.0.280.0030.00318.39
8.0.270.0000.00817.95
8.0.260.0030.00318.34
8.0.250.0000.00716.82
8.0.240.0040.00416.95
8.0.230.0000.00716.84
8.0.220.0050.00216.89
8.0.210.0030.00316.88
8.0.200.0070.00016.95
8.0.190.0060.00316.93
8.0.180.0040.00416.98
8.0.170.0000.00816.92
8.0.160.0080.00016.87
8.0.150.0030.00616.79
8.0.140.0000.00716.75
8.0.130.0000.00613.31
8.0.120.0040.00416.89
8.0.110.0000.00716.96
8.0.100.0050.00316.92
8.0.90.0040.00416.86
8.0.80.0080.01016.91
8.0.70.0040.00416.79
8.0.60.0030.00316.80
8.0.50.0000.00816.93
8.0.30.0080.00816.91
8.0.20.0130.00417.40
8.0.10.0210.01217.40
8.0.00.0240.01117.40
7.4.330.0050.00016.65
7.4.320.0070.00016.51
7.4.300.0060.00016.63
7.4.290.0000.00716.52
7.4.280.0040.00416.57
7.4.270.0000.00716.52
7.4.260.0030.00313.38
7.4.250.0040.00416.37
7.4.240.0030.00316.58
7.4.230.0000.00816.41
7.4.220.0030.00616.34
7.4.210.0050.00916.48
7.4.200.0030.00316.68
7.4.150.0130.00719.26
7.4.140.0220.01117.40
7.4.130.0250.00817.40
7.4.120.0200.01217.40
7.4.110.0170.01417.40
7.4.100.0290.01117.40
7.4.90.0270.00817.40
7.4.80.0320.00017.40
7.4.70.0190.01017.40
7.4.60.0270.00317.40
7.4.50.0290.00917.40
7.4.40.0210.00817.40
7.4.30.0200.01217.40
7.4.20.0200.01217.40
7.4.10.0250.00817.40
7.4.00.0170.01117.40
7.3.330.0000.00715.98
7.3.320.0040.00413.18
7.3.310.0070.00016.10
7.3.300.0000.00716.13
7.3.290.0110.00516.16
7.3.270.0030.01317.40
7.3.260.0210.01317.40
7.3.250.0150.01917.40
7.3.240.0250.00617.40
7.3.230.0330.00017.40
7.3.220.0230.01117.40
7.3.210.0200.01317.40
7.3.200.0310.00017.40
7.3.190.0210.00917.40
7.3.180.0210.01217.40
7.3.170.0330.00017.40
7.3.160.0320.00317.40
7.3.150.0310.00417.40
7.3.140.0320.00417.40
7.3.130.0270.00617.40
7.3.120.0210.01017.40
7.3.110.0300.00617.40
7.3.100.0360.01217.40
7.3.90.0140.01717.40
7.3.80.0190.01317.40
7.3.70.0220.00917.40
7.3.60.0240.00917.40
7.3.50.0320.00317.40
7.3.40.0210.01117.40
7.3.30.0300.00317.40
7.3.20.0250.01317.40
7.3.10.0240.00717.40
7.3.00.0290.00617.40

preferences:
58.88 ms | 400 KiB | 5 Q