3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ [ ['2011-11-18 00:00:00' => 'C'], ['2011-11-18 00:00:00' => 'I'], ['2011-11-18 00:00:00' => 'S'] ], [ ['2011-11-22 00:00:00' => 'C'], ['2011-11-22 00:00:00' => 'S'] ] ]; var_export(array_count_values(array_map(key(...), array_merge(...$array))));

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.130.0100.01118.61
8.4.120.0110.00824.10
8.4.110.0070.01018.84
8.4.100.0090.00818.88
8.4.90.0130.00620.69
8.4.80.0110.00918.42
8.4.70.0130.00618.73
8.4.60.0130.00918.68
8.4.50.0130.00718.38
8.4.40.0080.00017.43
8.4.30.0130.00720.48
8.4.20.0130.00721.02
8.4.10.0420.00617.52
8.3.260.0040.00316.59
8.3.250.0080.01018.49
8.3.240.0060.00216.92
8.3.230.0120.00616.36
8.3.220.0120.00718.71
8.3.210.0080.01216.70
8.3.200.0040.00516.62
8.3.190.0120.00917.04
8.3.180.0090.01019.00
8.3.170.0130.00417.27
8.3.160.0000.00818.36
8.3.150.0060.00317.16
8.3.140.0340.01116.57
8.3.130.0350.00616.25
8.3.120.0320.00916.53
8.3.110.0360.00416.34
8.3.100.0420.00416.32
8.3.90.0390.01116.55
8.3.80.0420.00316.41
8.3.70.0370.00716.59
8.3.60.0350.01016.29
8.3.50.0360.00716.64
8.3.40.0240.01217.38
8.3.30.0300.00317.47
8.3.20.0370.01217.15
8.3.10.0430.00017.15
8.3.00.0170.00317.37
8.2.290.0080.00720.53
8.2.280.0110.00718.73
8.2.270.0120.00616.75
8.2.260.0270.00916.31
8.2.250.0140.00316.44
8.2.240.0130.00316.44
8.2.230.0220.00516.45
8.2.220.0160.00216.79
8.2.210.0140.00316.52
8.2.200.0260.00516.37
8.2.190.0290.00416.36
8.2.180.0240.01016.22
8.2.170.0340.00417.39
8.2.160.0330.00717.65
8.2.150.0310.00917.42
8.2.140.0380.00317.28
8.2.130.0350.00617.33
8.2.120.0340.00617.57
8.2.110.0310.01017.40
8.2.100.0390.00017.52
8.2.90.0310.00717.30
8.2.80.0280.00617.50
8.2.70.0170.00017.37
8.2.60.0300.00717.02
8.2.50.0210.01417.47
8.2.40.0210.01017.18
8.2.30.0300.00617.39
8.2.20.0240.00017.48
8.2.10.0190.00417.47
8.2.00.0120.00517.47
8.1.320.0010.00616.04

preferences:
27.08 ms | 403 KiB | 5 Q