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($elem); }, $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.0080.01218.43
8.3.50.0110.00418.05
8.3.40.0100.01018.73
8.3.30.0090.00618.35
8.3.20.0000.00824.18
8.3.10.0050.00324.66
8.3.00.0030.00526.16
8.2.180.0060.01225.92
8.2.170.0100.01018.96
8.2.160.0110.00422.96
8.2.150.0050.00225.66
8.2.140.0080.00024.66
8.2.130.0090.00026.16
8.2.120.0050.00326.35
8.2.110.0090.00319.45
8.2.100.0080.00419.45
8.2.90.0040.00417.63
8.2.80.0040.00418.84
8.2.70.0050.00317.63
8.2.60.0050.00317.38
8.2.50.0060.00318.05
8.2.40.0090.00018.28
8.2.30.0040.00418.16
8.2.20.0050.00218.12
8.2.10.0040.00419.36
8.2.00.0040.00419.33
8.1.270.0050.00323.99
8.1.260.0040.00428.09
8.1.250.0000.00728.09
8.1.240.0070.00319.13
8.1.230.0040.00922.71
8.1.220.0040.00418.64
8.1.210.0040.00418.77
8.1.200.0060.00317.64
8.1.190.0030.00617.35
8.1.180.0040.00418.10
8.1.170.0040.00418.53
8.1.160.0050.00218.92
8.1.150.0070.00018.88
8.1.140.0000.00718.87
8.1.130.0070.00020.13
8.1.120.0040.00417.45
8.1.110.0040.00417.34
8.1.100.0000.00817.46
8.1.90.0070.00017.33
8.1.80.0040.00417.49
8.1.70.0030.00317.45
8.1.60.0040.00417.58
8.1.50.0080.00017.48
8.1.40.0000.00817.51
8.1.30.0050.00517.64
8.1.20.0000.00817.70
8.1.10.0040.00417.48
8.1.00.0000.00817.44
8.0.300.0080.00018.77
8.0.290.0050.00216.63
8.0.280.0030.00318.41
8.0.270.0030.00317.97
8.0.260.0000.00718.27
8.0.250.0030.00316.82
8.0.240.0040.00416.75
8.0.230.0030.00316.75
8.0.220.0070.00016.71
8.0.210.0000.00716.77
8.0.200.0040.00416.87
8.0.190.0050.00316.94
8.0.180.0000.00816.92
8.0.170.0030.00616.91
8.0.160.0020.00516.83
8.0.150.0040.00416.76
8.0.140.0040.00416.87
8.0.130.0000.00513.37
8.0.120.0000.00716.73
8.0.110.0050.00316.77
8.0.100.0080.00016.93
8.0.90.0040.00416.92
8.0.80.0070.00916.80
8.0.70.0080.00016.90
8.0.60.0070.00016.85
8.0.50.0040.00416.73
8.0.30.0090.00917.05
8.0.20.0110.00716.99
8.0.10.0030.00516.95
8.0.00.0070.01816.51
7.4.330.0040.00015.55
7.4.320.0000.00616.59
7.4.300.0000.00616.48
7.4.290.0070.00016.57
7.4.280.0040.00416.53
7.4.270.0070.00016.47
7.4.260.0000.00513.26
7.4.250.0000.00816.38
7.4.240.0070.00016.60
7.4.230.0030.00616.67
7.4.220.0040.00316.55
7.4.210.0020.01416.47
7.4.200.0040.00416.61
7.4.130.0140.00616.49
7.4.120.0100.01316.47
7.4.110.0110.01116.53
7.4.100.0080.00816.45
7.4.90.0110.00716.62
7.4.80.0120.01219.39
7.4.70.0110.01116.63
7.4.60.0140.00616.50
7.4.50.0170.00616.37
7.4.40.0060.01816.52
7.4.30.0090.01316.44
7.4.20.0100.01316.47
7.4.10.0110.00716.48
7.4.00.0130.00816.49
7.3.330.0070.00016.26
7.3.320.0030.00313.01
7.3.310.0030.00316.28
7.3.300.0040.00416.11
7.3.290.0050.01016.20
7.3.260.0110.01116.46
7.3.240.0110.00916.27
7.3.230.0040.01816.27
7.3.210.0090.01416.55
7.3.200.0190.00316.52
7.3.190.0120.01016.45
7.3.180.0130.00916.29
7.3.170.0070.01316.45
7.3.160.0130.00816.13
7.3.150.0080.01416.55
7.3.140.0070.01916.54
7.3.130.0160.00816.29
7.3.120.0120.00616.36
7.3.110.0120.00616.23
7.3.100.0120.01216.56
7.3.90.0120.00816.34
7.3.80.0070.01016.29
7.3.70.0140.00716.25
7.3.60.0050.01516.39
7.3.50.0040.01116.49
7.3.40.0080.00816.15
7.3.30.0110.00516.18
7.3.20.0100.01016.33
7.3.10.0060.01216.52
7.3.00.0120.00616.28
7.2.330.0100.00716.45
7.2.310.0110.00816.38
7.2.300.0050.01916.59
7.2.290.0130.01316.46
7.2.280.0100.01216.40
7.2.270.0120.00616.54
7.2.260.0190.00016.58
7.2.250.0110.00816.51
7.2.240.0130.00416.59
7.2.230.0170.00316.49
7.2.220.0110.00816.53
7.2.210.0120.00616.58
7.2.200.0060.01516.46
7.2.190.0100.00716.32
7.2.180.0090.00916.49
7.2.170.0070.01016.17
7.2.160.0080.00816.43
7.2.150.0120.00516.43
7.2.140.0110.01116.51
7.2.130.0090.00916.54
7.2.120.0130.00616.56
7.2.110.0030.01516.48
7.2.100.0140.00316.60
7.2.90.0140.00516.39
7.2.80.0170.00716.45
7.2.70.0100.00916.46
7.2.60.0090.00916.56
7.2.50.0070.01016.49
7.2.40.0130.00516.48
7.2.30.0110.01116.48
7.2.20.0090.01616.48
7.2.10.0160.00316.48
7.2.00.0060.01216.38

preferences:
54.91 ms | 400 KiB | 5 Q