3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ [ "Some key here" => 26542973, "generated key" => "John", "who knows what key" => 10 ], [ "Some key here" => "", "generated key" => "", "who knows what key" => "" ], ]; $arr = array_filter($arr, function($val){ return implode("", $val); }); print_r($arr);

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.0040.01418.43
8.3.50.0120.00317.95
8.3.40.0110.00718.71
8.3.30.0110.00418.51
8.3.20.0050.00319.21
8.3.10.0030.00621.86
8.3.00.0040.00420.75
8.2.180.0090.00918.54
8.2.170.0100.01022.96
8.2.160.0110.00422.12
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0040.00426.16
8.2.120.0050.00319.48
8.2.110.0090.00921.04
8.2.100.0110.00017.78
8.2.90.0000.00817.75
8.2.80.0000.00817.97
8.2.70.0000.00817.93
8.2.60.0040.00418.22
8.2.50.0090.00018.10
8.2.40.0070.00019.33
8.2.30.0080.00019.26
8.2.20.0090.00018.12
8.2.10.0020.00518.18
8.2.00.0030.00617.61
8.1.280.0130.00925.92
8.1.270.0040.00418.83
8.1.260.0080.00026.35
8.1.250.0030.00628.09
8.1.240.0090.00023.83
8.1.230.0070.00318.75
8.1.220.0040.00417.78
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0000.00917.23
8.1.180.0040.00418.10
8.1.170.0000.00818.57
8.1.160.0030.00618.91
8.1.150.0080.00018.89
8.1.140.0000.00722.20
8.1.130.0030.00322.04
8.1.120.0040.00417.50
8.1.110.0050.00317.34
8.1.100.0040.00417.49
8.1.90.0060.00317.50
8.1.80.0060.00317.47
8.1.70.0030.00317.30
8.1.60.0000.00817.50
8.1.50.0040.00417.48
8.1.40.0060.00317.51
8.1.30.0000.00817.70
8.1.20.0000.00817.66
8.1.10.0000.00717.43
8.1.00.0080.00317.28
8.0.300.0050.00218.77
8.0.290.0000.00716.60
8.0.280.0030.00318.38
8.0.270.0030.00317.20
8.0.260.0000.00618.31
8.0.250.0030.00316.89
8.0.240.0030.00316.83
8.0.230.0030.00316.80
8.0.220.0030.00316.72
8.0.210.0000.00716.87
8.0.200.0000.00716.89
8.0.190.0030.00616.97
8.0.180.0050.00216.81
8.0.170.0040.00416.94
8.0.160.0000.00716.85
8.0.150.0000.00716.82
8.0.140.0040.00416.88
8.0.130.0000.00513.36
8.0.120.0020.00516.77
8.0.110.0000.00716.83
8.0.100.0030.00516.79
8.0.90.0000.00716.71
8.0.80.0080.00716.86
8.0.70.0040.00416.84
8.0.60.0000.00716.93
8.0.50.0040.00416.85
8.0.30.0120.00616.72
8.0.20.0080.01117.40
8.0.10.0050.00217.01
8.0.00.0140.00716.69
7.4.330.0000.00515.55
7.4.320.0000.00616.59
7.4.300.0000.00616.57
7.4.290.0030.00316.51
7.4.280.0080.00016.61
7.4.270.0030.00716.61
7.4.260.0000.00716.43
7.4.250.0000.00816.51
7.4.240.0040.00416.41
7.4.230.0040.00416.48
7.4.220.0040.00416.67
7.4.210.0110.00616.57
7.4.200.0030.00316.61
7.4.160.0080.01216.43
7.4.140.0100.00817.86
7.4.130.0100.00816.52
7.4.120.0110.00716.55
7.4.110.0080.01516.34
7.4.100.0140.01016.41
7.4.90.0090.00916.53
7.4.80.0080.00919.39
7.4.70.0030.01216.52
7.4.60.0090.00916.46
7.4.50.0110.00716.48
7.4.40.0170.00716.34
7.4.00.0110.00614.74
7.3.330.0060.00013.02
7.3.320.0000.00513.10
7.3.310.0060.00316.27
7.3.300.0030.00316.13
7.3.290.0030.00316.18
7.3.280.0070.00716.19
7.3.260.0120.00616.44
7.3.240.0090.00916.27
7.3.230.0040.01316.29
7.3.210.0130.00716.45
7.3.200.0000.01816.52
7.3.190.0100.01316.46
7.3.180.0150.00616.50
7.3.170.0150.00716.56
7.3.160.0150.00016.51
7.3.120.0030.01314.68
7.3.110.0070.01014.88
7.3.100.0090.00614.43
7.3.90.0060.00614.71
7.3.80.0070.00314.82
7.3.70.0070.00314.90
7.3.60.0070.01114.55
7.3.50.0000.01014.33
7.3.40.0100.00314.49
7.3.30.0070.01014.73
7.3.20.0090.00016.52
7.3.10.0000.01216.64
7.3.00.0040.01116.68
7.2.330.0070.01116.80
7.2.320.0150.00416.64
7.2.310.0130.01016.71
7.2.300.0130.00316.68
7.2.290.0120.01316.66
7.2.250.0110.00714.93
7.2.240.0070.01314.69
7.2.230.0100.00715.00
7.2.220.0070.00414.97
7.2.210.0080.00814.60
7.2.200.0040.00814.99
7.2.190.0100.00714.77
7.2.180.0030.01215.02
7.2.170.0060.00915.12
7.2.110.0540.01014.62
7.2.100.0780.01014.65
7.2.90.0680.00314.67
7.2.80.0950.00014.71
7.2.70.0780.00314.75
7.2.60.0690.00615.16
7.2.50.0550.00614.99
7.2.40.0570.00714.99
7.2.30.0840.01014.92
7.2.20.0780.00914.55
7.2.10.0730.00314.36
7.2.00.0830.01014.57
7.1.330.0060.00715.84
7.1.320.0070.00715.56
7.1.310.0100.00316.04
7.1.300.0100.00315.65
7.1.290.0030.00615.68
7.1.280.0040.00415.61
7.1.270.0040.00415.45
7.1.260.0070.00715.59
7.1.230.0700.00913.74
7.1.220.0870.00613.63
7.1.210.0700.00713.69
7.1.200.0790.01013.80
7.1.190.0600.00313.74
7.1.180.0560.00713.76
7.1.170.0690.00613.83
7.1.160.0470.00913.96
7.1.150.0820.00613.98
7.1.140.0620.00713.35
7.1.130.0540.00313.63
7.1.120.0890.00613.77
7.1.110.0760.00313.96
7.1.100.0780.01013.89
7.1.90.0590.00713.56
7.1.80.0600.00313.73
7.1.70.0880.01313.84
7.1.60.0790.00731.84
7.1.50.0880.01331.77
7.1.40.1170.01031.39
7.1.30.0920.01031.81
7.1.20.1120.01031.63
7.1.10.1050.01013.96
7.1.00.0710.00414.02
5.6.380.0080.00513.94

preferences:
69.62 ms | 400 KiB | 5 Q