3v4l.org

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

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.20.0130.00717.83
8.4.10.0090.00919.57
8.3.150.0130.00718.97
8.3.140.0060.01217.10
8.3.130.0070.01418.63
8.3.120.0030.00518.73
8.3.110.0090.00020.94
8.3.100.0040.00416.91
8.3.90.0040.00426.77
8.3.80.0110.00018.30
8.3.70.0140.00418.43
8.3.60.0110.00716.74
8.3.50.0120.00821.98
8.3.40.0070.00718.75
8.3.30.0110.00418.59
8.3.20.0040.00418.94
8.3.10.0080.00023.45
8.3.00.0070.00722.44
8.2.260.0030.00616.72
8.2.250.0040.00416.70
8.2.240.0000.00817.34
8.2.230.0150.00422.58
8.2.220.0060.00324.06
8.2.210.0120.00626.77
8.2.200.0040.00416.63
8.2.190.0040.01116.58
8.2.180.0110.01116.88
8.2.170.0130.00622.96
8.2.160.0050.01019.41
8.2.150.0070.00024.18
8.2.140.0030.00624.66
8.2.130.0030.00522.25
8.2.120.0070.00026.35
8.2.110.0040.00422.25
8.2.100.0000.01117.72
8.2.90.0060.00317.63
8.2.80.0030.00518.95
8.2.70.0040.00417.63
8.2.60.0000.00817.75
8.2.50.0030.00517.55
8.2.40.0040.00419.91
8.2.30.0040.00418.06
8.2.20.0070.00017.80
8.2.10.0040.00417.98
8.2.00.0070.00018.19
8.1.310.0120.00618.44
8.1.300.0030.00517.63
8.1.290.0060.00330.84
8.1.280.0090.00925.92
8.1.270.0030.00622.14
8.1.260.0000.00828.09
8.1.250.0040.00428.09
8.1.240.0070.00320.41
8.1.230.0070.00417.77
8.1.220.0050.00317.75
8.1.210.0080.00018.77
8.1.200.0040.00417.35
8.1.190.0000.00817.23
8.1.180.0040.00918.10
8.1.170.0000.00818.50
8.1.160.0000.00718.85
8.1.150.0050.00518.94
8.1.140.0000.00719.63
8.1.130.0000.00817.70
8.1.120.0040.00417.48
8.1.110.0040.00417.36
8.1.100.0040.00417.50
8.1.90.0050.00217.50
8.1.80.0070.00017.45
8.1.70.0070.00017.34
8.1.60.0040.00417.60
8.1.50.0000.00817.45
8.1.40.0030.00717.51
8.1.30.0030.00617.57
8.1.20.0040.00417.59
8.1.10.0040.00417.35
8.1.00.0040.00417.29
8.0.300.0040.00418.77
8.0.290.0050.00316.75
8.0.280.0030.00318.33
8.0.270.0000.00717.10
8.0.260.0070.00316.73
8.0.250.0030.00316.94
8.0.240.0030.00316.93
8.0.230.0000.00816.88
8.0.220.0030.00316.89
8.0.210.0070.00016.86
8.0.200.0030.00617.01
8.0.190.0030.00617.01
8.0.180.0090.00016.87
8.0.170.0050.00216.99
8.0.160.0070.00016.98
8.0.150.0000.00716.78
8.0.140.0040.00416.93
8.0.130.0030.00313.39
8.0.120.0040.00416.80
8.0.110.0040.00416.92
8.0.100.0080.00016.77
8.0.90.0040.00416.97
8.0.80.0060.00917.00
8.0.70.0040.00416.85
8.0.60.0000.00816.97
8.0.50.0040.00417.01
8.0.30.0050.01217.14
8.0.20.0070.01117.40
8.0.10.0020.00517.13
8.0.00.0100.01016.77
7.4.330.0030.00315.08
7.4.320.0000.00616.45
7.4.300.0030.00316.40
7.4.290.0030.00616.51
7.4.280.0060.00316.50
7.4.270.0030.00316.45
7.4.260.0000.00716.54
7.4.250.0030.00516.57
7.4.240.0040.00416.61
7.4.230.0030.00316.39
7.4.220.0160.01316.58
7.4.210.0100.00716.62
7.4.200.0040.00416.25
7.4.160.0070.00816.44
7.4.150.0160.00817.40
7.4.140.0080.00817.86
7.4.130.0130.00516.42
7.4.120.0090.00816.43
7.4.110.0030.01516.55
7.4.100.0140.00416.33
7.4.90.0060.01216.64
7.4.80.0100.00719.39
7.4.70.0030.01316.28
7.4.60.0070.01016.37
7.4.50.0100.00716.31
7.4.40.0110.00816.44
7.4.30.0090.00616.53
7.4.00.0070.01014.93
7.3.330.0000.00613.24
7.3.320.0000.00513.23
7.3.310.0050.00216.16
7.3.300.0030.00316.29
7.3.290.0070.00716.23
7.3.280.0090.00916.22
7.3.270.0120.00417.40
7.3.260.0060.01116.33
7.3.250.0090.01016.30
7.3.240.0100.00916.34
7.3.230.0030.01616.44
7.3.210.0100.00716.50
7.3.200.0070.01016.12
7.3.190.0070.01016.43
7.3.180.0090.01016.48
7.3.170.0100.01016.46
7.3.160.0080.00816.25
7.2.330.0110.00716.70
7.2.320.0100.01116.72
7.2.310.0100.00716.61
7.2.300.0120.00816.57
7.2.290.0070.01016.73
7.2.60.0070.00716.77
7.1.200.0040.00815.85
7.1.70.0000.00716.76
7.1.60.0040.00817.05
7.1.50.0030.01816.93
7.1.00.0030.07722.54
7.0.200.0060.00614.94
7.0.100.0200.06319.97
7.0.90.0130.05719.93
7.0.80.0070.05720.13
7.0.70.0200.04720.00
7.0.60.0030.06019.98
7.0.50.0100.05320.39
7.0.40.0130.05720.40
7.0.30.0130.05720.25
7.0.20.0100.06020.44
7.0.10.0170.05020.36
7.0.00.0130.05320.25
5.6.250.0070.05720.88
5.6.240.0170.05720.73
5.6.230.0070.06020.67
5.6.220.0070.05720.49
5.6.210.0070.05720.62
5.6.200.0100.05721.03
5.6.190.0130.05021.04
5.6.180.0100.05321.07
5.6.170.0130.05321.18
5.6.160.0070.06021.08
5.6.150.0130.05321.06
5.6.140.0130.06321.09
5.6.130.0130.05721.09
5.6.120.0100.07021.07
5.6.110.0070.07021.05
5.6.100.0130.07321.07
5.6.90.0200.07321.05
5.6.80.0070.06020.49
5.6.70.0170.05720.51
5.6.60.0130.05020.53
5.6.50.0100.05320.56
5.6.40.0070.05720.44
5.6.30.0200.04320.50
5.6.20.0170.04720.43
5.6.10.0130.07020.44
5.6.00.0100.07020.45

preferences:
75.2 ms | 403 KiB | 5 Q