3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(array_filter([1,2,3], function(&$v) {$v = 17;return true;}));

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.4.10.0090.00019.57
8.3.140.0070.00716.67
8.3.130.0040.00716.85
8.3.120.0080.00020.65
8.3.110.0080.00018.34
8.3.100.0060.01316.64
8.3.90.0040.01126.77
8.3.80.0000.00918.43
8.3.70.0120.00616.75
8.3.60.0030.01018.30
8.3.50.0100.01321.98
8.3.40.0070.00718.65
8.3.30.0070.00718.47
8.3.20.0080.00019.08
8.3.10.0040.00421.78
8.3.00.0040.00419.25
8.2.260.0080.00016.63
8.2.250.0080.00516.56
8.2.240.0090.00916.85
8.2.230.0110.00020.94
8.2.220.0030.00624.06
8.2.210.0040.00426.77
8.2.200.0090.00016.63
8.2.190.0110.00416.63
8.2.180.0140.00416.38
8.2.170.0090.00922.96
8.2.160.0070.00719.21
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00019.21
8.2.120.0000.00726.35
8.2.110.0090.00021.09
8.2.100.0110.00019.57
8.2.90.0080.00018.03
8.2.80.0000.00819.14
8.2.70.0050.00317.93
8.2.60.0040.00417.92
8.2.50.0040.00418.22
8.2.40.0100.00320.55
8.2.30.0020.00519.30
8.2.20.0070.00017.98
8.2.10.0040.00418.03
8.2.00.0070.00017.73
8.1.300.0100.01018.50
8.1.290.0090.00030.84
8.1.280.0070.01425.92
8.1.270.0040.00422.20
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0060.00322.67
8.1.230.0110.00320.85
8.1.220.0040.00418.61
8.1.210.0030.00618.77
8.1.200.0060.00317.38
8.1.190.0060.00317.23
8.1.180.0000.00818.10
8.1.170.0040.00418.64
8.1.160.0000.00820.58
8.1.150.0000.00820.26
8.1.140.0040.00419.57
8.1.130.0070.00019.04
8.1.120.0000.00717.49
8.1.110.0000.00817.46
8.1.100.0020.00517.51
8.1.90.0070.00017.44
8.1.80.0050.00517.49
8.1.70.0070.00017.45
8.1.60.0000.01017.62
8.1.50.0000.00817.50
8.1.40.0000.00817.56
8.1.30.0040.00417.49
8.1.20.0080.00017.59
8.1.10.0070.00017.51
8.1.00.0060.00317.38
8.0.300.0070.00018.77
8.0.290.0030.00516.63
8.0.280.0040.00418.35
8.0.270.0000.00717.19
8.0.260.0060.00017.11
8.0.250.0070.00016.89
8.0.240.0070.00016.92
8.0.230.0000.00616.83
8.0.220.0000.00716.91
8.0.210.0000.00716.93
8.0.200.0000.00917.00
8.0.190.0000.00717.04
8.0.180.0000.00817.01
8.0.170.0050.00316.93
8.0.160.0040.00416.86
8.0.150.0000.00816.88
8.0.140.0000.00816.96
8.0.130.0030.00313.34
8.0.120.0000.00716.90
8.0.110.0040.00416.84
8.0.100.0030.00516.85
8.0.90.0040.00416.98
8.0.80.0070.00716.94
8.0.70.0000.00716.82
8.0.60.0000.00716.99
8.0.50.0040.00316.80
8.0.30.0110.01017.22
8.0.20.0100.00817.40
8.0.10.0000.00717.10
8.0.00.0150.00316.70
7.4.330.0000.00515.55
7.4.320.0030.00316.59
7.4.300.0070.00016.60
7.4.290.0040.00416.45
7.4.280.0070.00016.60
7.4.270.0060.00016.39
7.4.260.0050.00316.39
7.4.250.0070.00016.54
7.4.240.0030.00316.61
7.4.230.0080.00016.43
7.4.220.0030.00516.39
7.4.210.0110.00516.53
7.4.200.0000.00716.40
7.4.160.0080.00816.45
7.4.150.0060.01217.40
7.4.140.0120.00517.86
7.4.130.0090.00716.43
7.4.120.0110.00616.49
7.4.110.0120.00616.29
7.4.100.0130.00316.32
7.4.90.0090.00916.43
7.4.80.0070.01419.39
7.4.70.0120.00316.51
7.4.60.0020.02016.46
7.4.50.0070.00716.57
7.4.40.0060.01216.59
7.4.30.0030.01316.37
7.4.00.0070.00714.85
7.3.330.0000.00513.24
7.3.320.0000.00513.10
7.3.310.0000.00716.14
7.3.300.0040.00416.24
7.3.290.0070.00016.24
7.3.280.0090.00716.18
7.3.270.0030.02017.40
7.3.260.0120.00616.35
7.3.250.0080.00916.30
7.3.240.0060.01316.22
7.3.230.0100.00716.46
7.3.210.0110.00716.19
7.3.200.0030.02016.50
7.3.190.0130.00316.47
7.3.180.0090.00616.23
7.3.170.0030.01516.47
7.3.160.0070.01216.18
7.2.330.0060.01316.57
7.2.320.0100.01416.49
7.2.310.0090.00816.73
7.2.300.0150.00316.43
7.2.290.0030.01316.52
7.2.60.0090.00616.54
7.2.00.0030.01219.40
7.1.200.0060.01015.44
7.1.100.0070.01017.79
7.1.70.0000.00916.97
7.1.60.0030.00717.10
7.1.50.0040.01816.87
7.1.00.0100.06722.45
7.0.200.0000.01416.69
7.0.140.0000.06322.11
7.0.130.0100.05322.06
7.0.120.0100.06722.10
7.0.110.0100.05321.94
7.0.100.0100.05022.16
7.0.90.0100.06022.11
7.0.80.0130.05722.07
7.0.70.0070.06721.96
7.0.60.0070.05722.07
7.0.50.0030.06322.18
7.0.40.0200.07021.98
7.0.30.0200.06721.99
7.0.20.0070.06022.10
7.0.10.0130.07022.10
7.0.00.0170.05022.03
5.6.290.0130.06320.91
5.6.280.0100.05020.91
5.6.270.0130.06021.10
5.6.260.0200.05721.13
5.6.250.0030.06321.09
5.6.240.0230.05021.12
5.6.230.0030.06021.10
5.6.220.0170.07020.75
5.6.210.0070.06720.93
5.6.200.0170.05721.06
5.6.190.0100.08321.07
5.6.180.0100.07021.03
5.6.170.0130.05320.99
5.6.160.0130.06321.03
5.6.150.0130.06320.81
5.6.140.0100.05721.02
5.6.130.0070.05321.02
5.6.120.0130.05021.04
5.6.110.0130.06020.98
5.6.100.0100.05720.75
5.6.90.0100.05321.05
5.6.80.0200.08320.25
5.6.70.0070.05720.42
5.6.60.0030.06320.11
5.6.50.0170.04320.42
5.6.40.0100.07020.39
5.6.30.0070.05720.38
5.6.20.0130.05020.37
5.6.10.0030.06320.40
5.6.00.0130.05720.36

preferences:
14.18 ms | 403 KiB | 5 Q