3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 0 => [ 'attrb1' => 'test', 'attrb2' => 'test', ], 1 => [ 'attrb1' => 'test', 'attrb2' => 'test', ], ]; array_map(function($elem) { var_dump($element); }, $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.3.60.0100.01018.56
8.3.50.0120.00318.19
8.3.40.0140.00718.71
8.3.30.0060.00918.73
8.3.20.0070.00024.18
8.3.10.0080.00024.66
8.3.00.0080.00026.16
8.2.180.0110.00325.92
8.2.170.0170.00318.84
8.2.160.0120.00622.96
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0070.00026.35
8.2.110.0030.00621.05
8.2.100.0000.01117.72
8.2.90.0080.00017.75
8.2.80.0040.00418.92
8.2.70.0030.00517.59
8.2.60.0050.00317.49
8.2.50.0040.00418.05
8.2.40.0040.00418.16
8.2.30.0000.00718.10
8.2.20.0050.00318.05
8.2.10.0040.00419.36
8.2.00.0040.00419.26
8.1.280.0070.00725.92
8.1.270.0080.00023.99
8.1.260.0070.00028.09
8.1.250.0050.00328.09
8.1.240.0200.00317.48
8.1.230.0070.00422.75
8.1.220.0030.00618.44
8.1.210.0030.00618.77
8.1.200.0000.00817.65
8.1.190.0040.00417.35
8.1.180.0050.00318.10
8.1.170.0050.00218.66
8.1.160.0040.00418.95
8.1.150.0030.00318.83
8.1.140.0000.00718.88
8.1.130.0000.00720.13
8.1.120.0030.00517.45
8.1.110.0050.00317.45
8.1.100.0000.00817.34
8.1.90.0070.00017.50
8.1.80.0050.00217.42
8.1.70.0030.00517.44
8.1.60.0040.00417.55
8.1.50.0000.00717.41
8.1.40.0040.00417.52
8.1.30.0030.00617.66
8.1.20.0070.00017.51
8.1.10.0080.00017.45
8.1.00.0040.00417.27
8.0.300.0000.00718.77
8.0.290.0050.00216.63
8.0.280.0030.00318.35
8.0.270.0030.00317.91
8.0.260.0040.00418.40
8.0.250.0000.00716.94
8.0.240.0060.00316.98
8.0.230.0080.00016.83
8.0.220.0040.00416.80
8.0.210.0000.00716.81
8.0.200.0000.00716.92
8.0.190.0000.00816.93
8.0.180.0050.00216.88
8.0.170.0040.00416.92
8.0.160.0000.00716.81
8.0.150.0000.00716.88
8.0.140.0000.00716.88
8.0.130.0000.00513.33
8.0.120.0040.00416.89
8.0.110.0040.00416.87
8.0.100.0070.00016.74
8.0.90.0070.00016.80
8.0.80.0100.00816.96
8.0.70.0050.00216.78
8.0.60.0040.00417.05
8.0.50.0070.00016.89
8.0.30.0120.00617.14
8.0.20.0100.00916.96
8.0.10.0020.00517.09
8.0.00.0190.00316.48
7.4.330.0000.00415.55
7.4.320.0000.00616.35
7.4.300.0000.00616.58
7.4.290.0080.00016.47
7.4.280.0030.00516.50
7.4.270.0030.00316.60
7.4.260.0050.00013.29
7.4.250.0050.00216.48
7.4.240.0000.00716.59
7.4.230.0000.00716.40
7.4.220.0010.00616.62
7.4.210.0050.00916.59
7.4.200.0030.00316.37
7.4.130.0120.00716.56
7.4.120.0060.01016.70
7.4.110.0090.00616.41
7.4.100.0150.00616.40
7.4.90.0120.00616.52
7.4.80.0110.01119.39
7.4.70.0000.01916.42
7.4.60.0050.01116.39
7.4.50.0070.01016.41
7.4.40.0100.00716.43
7.4.30.0120.00916.40
7.4.20.0050.01116.59
7.4.10.0100.00616.48
7.4.00.0060.01216.45
7.3.330.0030.00516.32
7.3.320.0000.00513.28
7.3.310.0000.00716.34
7.3.300.0070.00016.29
7.3.290.0080.00716.26
7.3.260.0130.00816.43
7.3.240.0090.00816.25
7.3.230.0130.00616.47
7.3.210.0100.00616.19
7.3.200.0090.00916.23
7.3.190.0090.00616.16
7.3.180.0030.01416.45
7.3.170.0040.01216.27
7.3.160.0170.00016.21
7.3.150.0080.01216.18
7.3.140.0100.00716.34
7.3.130.0080.01016.29
7.3.120.0000.01716.52
7.3.110.0110.00716.44
7.3.100.0050.01116.43
7.3.90.0060.01116.51
7.3.80.0030.01216.22
7.3.70.0040.01216.34
7.3.60.0110.00816.30
7.3.50.0080.00816.41
7.3.40.0080.00816.32
7.3.30.0090.00916.33
7.3.20.0080.00816.21
7.3.10.0150.00516.34
7.3.00.0170.00716.34
7.2.330.0060.01216.73
7.2.310.0080.00816.26
7.2.300.0120.00816.42
7.2.290.0110.01016.55
7.2.280.0110.00516.35
7.2.270.0190.00316.31
7.2.260.0060.01216.47
7.2.250.0040.01616.52
7.2.240.0080.00816.41
7.2.230.0030.01616.27
7.2.220.0100.00716.52
7.2.210.0100.00716.26
7.2.200.0070.01116.35
7.2.190.0080.00816.43
7.2.180.0080.01216.30
7.2.170.0110.00516.26
7.2.160.0060.01216.55
7.2.150.0120.00616.66
7.2.140.0130.00516.59
7.2.130.0080.01116.43
7.2.120.1000.00716.57
7.2.110.0080.00816.42
7.2.100.0100.00716.54
7.2.90.0140.00916.50
7.2.80.0110.00716.42
7.2.70.0100.00616.38
7.2.60.0110.00716.55
7.2.50.0160.00316.52
7.2.40.0030.01316.45
7.2.30.0130.00316.43
7.2.20.0090.00916.45
7.2.10.0170.00416.36
7.2.00.0060.01116.43

preferences:
41.87 ms | 401 KiB | 5 Q