3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array(array('data1','data1'), array('data2','data2'), array('',''), array('data4','data4')); $array = array_filter(array_map('array_filter', $array)); print_r($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.10.0130.00317.52
8.3.140.0060.01216.54
8.3.130.0050.00318.20
8.3.120.0110.00718.53
8.3.110.0060.00320.94
8.3.100.0060.00316.36
8.3.90.0040.00426.77
8.3.80.0070.00316.25
8.3.70.0090.00616.58
8.3.60.0130.01018.55
8.3.50.0120.00518.28
8.3.40.0070.00718.71
8.3.30.0070.00718.46
8.3.20.0000.00718.95
8.3.10.0040.00423.62
8.3.00.0000.00720.51
8.2.250.0090.00918.20
8.2.240.0030.00616.95
8.2.230.0030.00722.58
8.2.220.0080.00024.06
8.2.210.0060.00326.77
8.2.200.0030.00616.75
8.2.190.0170.00016.58
8.2.180.0070.01116.50
8.2.170.0080.00618.69
8.2.160.0110.00422.96
8.2.150.0040.00425.66
8.2.140.0060.00324.66
8.2.130.0050.00218.09
8.2.120.0030.00526.35
8.2.110.0100.00020.35
8.2.100.0090.00317.72
8.2.90.0040.00417.63
8.2.80.0040.00418.64
8.2.70.0040.00417.50
8.2.60.0040.00417.91
8.2.50.0040.00418.07
8.2.40.0000.00818.00
8.2.30.0070.00018.04
8.2.20.0030.00617.91
8.2.10.0030.00318.08
8.2.00.0030.00517.63
8.1.300.0090.00017.60
8.1.290.0000.00930.84
8.1.280.0070.01425.92
8.1.270.0060.00322.05
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0040.00823.79
8.1.230.0040.00722.77
8.1.220.0040.00417.76
8.1.210.0050.00318.77
8.1.200.0080.00417.23
8.1.190.0000.00917.22
8.1.180.0080.00018.10
8.1.170.0030.00518.30
8.1.160.0040.00418.73
8.1.150.0000.00718.82
8.1.140.0040.00422.06
8.1.130.0030.00320.21
8.1.120.0030.00517.40
8.1.110.0030.00717.39
8.1.100.0000.00717.34
8.1.90.0040.00417.39
8.1.80.0040.00417.34
8.1.70.0070.00017.41
8.1.60.0000.00817.51
8.1.50.0030.00717.46
8.1.40.0080.00017.41
8.1.30.0080.00317.55
8.1.20.0040.00417.49
8.1.10.0000.00717.46
8.1.00.0030.00717.34
8.0.300.0040.00418.77
8.0.290.0090.00016.58
8.0.280.0030.00518.39
8.0.270.0060.00017.24
8.0.260.0070.00018.28
8.0.250.0090.00016.89
8.0.240.0030.00316.86
8.0.230.0030.00316.77
8.0.220.0070.00016.89
8.0.210.0040.00416.69
8.0.200.0000.00816.87
8.0.190.0040.00816.86
8.0.180.0000.00716.84
8.0.170.0000.00916.75
8.0.160.0000.00716.91
8.0.150.0000.00816.64
8.0.140.0000.00716.86
8.0.130.0030.00313.28
8.0.120.0040.00416.68
8.0.110.0060.00316.79
8.0.100.0000.00716.85
8.0.90.0000.00816.79
8.0.80.0070.01416.87
8.0.70.0000.00816.61
8.0.60.0040.00416.78
8.0.50.0050.00216.92
8.0.30.0080.01016.79
8.0.20.0140.00417.40
8.0.10.0000.00816.77
8.0.00.0160.01216.76
7.4.330.0040.00015.55
7.4.320.0000.00616.44
7.4.300.0000.00816.46
7.4.290.0000.00716.50
7.4.280.0040.00416.35
7.4.270.0000.00816.55
7.4.260.0000.00716.46
7.4.250.0040.00416.39
7.4.240.0040.00316.38
7.4.230.0030.00316.52
7.4.220.0050.00316.36
7.4.210.0120.00716.48
7.4.200.0070.00016.46
7.4.160.0110.00516.40
7.4.140.0140.00617.86
7.4.130.0120.00816.43
7.4.120.0070.01116.35
7.4.110.0070.01316.39
7.4.100.0120.00916.39
7.4.90.0160.00516.15
7.4.80.0070.01019.39
7.4.70.0120.00316.35
7.4.60.0090.00616.44
7.4.50.0130.00016.31
7.4.40.0070.01416.36
7.4.00.0120.00414.91
7.3.330.0000.00512.89
7.3.320.0050.00012.87
7.3.310.0000.00816.28
7.3.300.0000.00616.04
7.3.290.0030.00316.12
7.3.280.0080.01116.07
7.3.260.0110.00816.16
7.3.240.0120.00816.16
7.3.230.0150.00416.13
7.3.210.0150.00816.16
7.3.200.0060.00916.18
7.3.190.0190.00316.16
7.3.180.0030.01316.13
7.3.170.0140.00316.17
7.3.160.0040.01216.10
7.3.10.0080.00616.22
7.3.00.0080.00616.49
7.2.330.0070.01016.35
7.2.320.0120.00616.59
7.2.310.0070.01016.58
7.2.300.0070.01116.13
7.2.290.0040.01316.31
7.2.130.0030.01316.59
7.2.120.0040.00716.75
7.2.110.0260.01015.49
7.2.100.0110.00515.60
7.2.90.0150.01215.54
7.2.80.0360.00915.69
7.2.70.0310.00615.49
7.2.60.0340.00715.74
7.2.50.0370.00615.72
7.2.40.0190.00815.99
7.2.30.0410.00515.68
7.2.20.0440.00815.81
7.2.10.0530.00715.83
7.2.00.0440.00815.75
7.1.250.0110.00415.64
7.1.230.0530.00913.95
7.1.220.0070.01313.94
7.1.210.0290.00413.55
7.1.200.0640.00313.85
7.1.190.0620.00713.89
7.1.180.0280.00613.64
7.1.170.0750.00013.59
7.1.160.0170.01113.99
7.1.150.0690.00313.77
7.1.140.1190.00313.85
7.1.130.0890.00313.48
7.1.120.0680.00713.63
7.1.110.1170.00413.80
7.1.100.0130.00013.73
7.1.90.0070.00713.98
7.1.80.0250.01113.84
7.1.70.0040.01113.90
7.1.60.0420.00631.46
7.1.50.0250.00631.60
7.1.40.0430.01031.63
7.1.30.0410.00931.29
7.1.20.0280.01231.47
7.1.10.0070.00713.63
7.1.00.0140.00413.38
5.6.380.0000.01714.42

preferences:
38.24 ms | 403 KiB | 5 Q