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_merge( ...array_map( fn($set) => [key($set[0]) => count($set, COUNT_RECURSIVE) - count($set)], $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.0110.00918.00
8.4.120.0050.00220.64
8.4.110.0140.00722.22
8.4.100.0120.00817.64
8.4.90.0110.00217.66
8.4.80.0140.00717.53
8.4.70.0120.00919.31
8.4.60.0130.00618.79
8.4.50.0040.00418.51
8.4.40.0040.00417.62
8.4.30.0060.01019.03
8.4.20.0100.01020.95
8.4.10.0450.00317.33
8.3.260.0100.01016.55
8.3.250.0130.00518.95
8.3.240.0110.00916.64
8.3.230.0130.00716.36
8.3.220.0130.00617.41
8.3.210.0070.00116.67
8.3.200.0060.00216.27
8.3.190.0080.00217.29
8.3.180.0110.00716.44
8.3.170.0090.00617.18
8.3.160.0140.00317.09
8.3.150.0100.01017.22
8.3.140.0410.01116.23
8.3.130.0350.00616.54
8.3.120.0360.00416.29
8.3.110.0340.00716.57
8.3.100.0310.00716.63
8.3.90.0280.01216.49
8.3.80.0330.01316.25
8.3.70.0330.01216.16
8.3.60.0380.00716.25
8.3.50.0290.01616.48
8.3.40.0270.00917.24
8.3.30.0230.00917.29
8.3.20.0320.00717.00
8.3.10.0300.00317.52
8.3.00.0240.00616.81
8.2.290.0120.00620.45
8.2.280.0100.00920.24
8.2.270.0110.00717.20
8.2.260.0320.00616.62
8.2.250.0310.00616.55
8.2.240.0280.00616.36
8.2.230.0280.01016.38
8.2.220.0220.01516.33
8.2.210.0330.00616.21
8.2.200.0310.01216.59
8.2.190.0250.00916.32
8.2.180.0290.00616.44
8.2.170.0250.00917.73
8.2.160.0340.00717.61
8.2.150.0290.01317.55
8.2.140.0370.00617.34
8.2.130.0410.00017.52
8.2.120.0340.00917.36
8.2.110.0460.00417.33
8.2.100.0330.00717.33
8.2.90.0330.00717.55
8.2.80.0350.00017.57
8.2.70.0280.00417.52
8.2.60.0200.01317.49
8.2.50.0320.00717.59
8.2.40.0230.01317.33
8.2.30.0240.01317.50
8.2.20.0300.00917.34
8.2.10.0380.00217.36
8.2.00.0130.00417.59
8.1.320.0120.00716.03

preferences:
25.91 ms | 403 KiB | 5 Q