3v4l.org

run code in 300+ PHP versions simultaneously
<?php function map(?callable $transformer, iterable ... $inputs): iterable { // for now I just care how named parameters work var_dump($inputs); return \array_map($transformer, ...$inputs); } map(transformer: null, inputs: [[1, 2], [3, 4]]);

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.5.10.0090.01016.77
8.5.00.0130.01220.07
8.4.150.0020.00014.05
8.4.140.0100.01217.68
8.4.130.0070.00818.96
8.4.120.0130.00624.00
8.4.110.0090.00717.81
8.4.100.0090.00718.73
8.4.90.0090.01220.41
8.4.80.0100.01018.39
8.4.70.0130.00717.89
8.4.60.0030.00618.85
8.4.50.0080.01218.75
8.4.40.0090.01118.63
8.4.30.0110.00720.27
8.4.20.0090.00922.59
8.4.10.0080.00022.60
8.3.280.0130.00918.47
8.3.270.0110.00916.31
8.3.260.0060.00416.76
8.3.250.0120.00719.06
8.3.240.0110.00817.29
8.3.230.0050.00416.56
8.3.220.0100.00818.84
8.3.210.0120.00718.54
8.3.200.0080.00716.77
8.3.190.0070.00717.02
8.3.180.0100.00916.95
8.3.170.0100.00020.58
8.3.160.0100.01018.40
8.3.150.0060.00317.11
8.3.140.0070.01116.59
8.3.130.0170.00018.27
8.3.120.0030.00620.83
8.3.110.0060.00916.53
8.3.100.0090.00016.63
8.3.90.0120.00316.73
8.3.80.0050.00519.36
8.3.70.0190.00316.58
8.3.60.0110.00716.75
8.3.50.0150.00224.46
8.3.40.0090.00618.79
8.3.30.0040.01118.79
8.3.20.0000.00824.18
8.3.10.0090.00024.66
8.3.00.0040.00426.16
8.2.290.0150.00320.36
8.2.280.0080.01118.42
8.2.270.0060.00317.16
8.2.260.0120.00616.65
8.2.250.0040.00416.46
8.2.240.0080.00016.70
8.2.230.0060.00320.94
8.2.220.0070.00024.06
8.2.210.0040.00426.77
8.2.200.0060.00316.50
8.2.190.0000.01516.62
8.2.180.0080.00825.92
8.2.170.0090.00918.91
8.2.160.0000.01422.96
8.2.150.0060.00325.66
8.2.140.0070.00024.66
8.2.130.0030.00526.16
8.2.120.0000.00826.16
8.2.110.0120.00020.51
8.2.100.0060.00319.05
8.1.330.0130.00621.75
8.1.320.0110.00916.01
8.1.310.0040.00416.28
8.1.300.0040.00716.28
8.1.290.0030.00618.88
8.1.280.0090.00625.92
8.1.270.0060.00323.99
8.1.260.0060.00326.35
8.1.250.0070.00028.09
8.1.240.0110.00018.68
8.1.230.0030.00620.33
7.4.90.0070.01116.25
7.4.80.0070.01116.46
7.4.70.0140.00516.48
7.4.60.0120.01516.20
7.4.50.0110.00816.47
7.4.40.0080.01216.46
7.4.30.0120.00616.18
7.4.20.0100.00716.25
7.4.10.0120.01216.43
7.4.00.0120.00616.15
7.3.210.0090.01116.28
7.3.200.0080.00916.08
7.3.190.0150.00916.23
7.3.180.0210.00416.40
7.3.170.0120.00616.29
7.3.160.0120.00816.40
7.3.150.0100.00716.13
7.3.140.0150.00916.38
7.3.130.0080.01416.43
7.3.120.0160.00316.13
7.3.110.0110.01316.12
7.3.100.0030.01616.07
7.3.90.0060.01416.10
7.3.80.0120.00916.45
7.3.70.0120.01116.28
7.3.60.0120.01316.25
7.3.50.0040.01916.17
7.3.40.0100.01416.21
7.3.30.0100.01316.20
7.3.20.0070.01816.40
7.3.10.0080.01316.19
7.3.00.0170.00816.20
7.2.330.0090.00916.41
7.2.320.0100.00916.49
7.2.310.0100.01316.36
7.2.300.0150.00316.29
7.2.290.0000.01716.36
7.2.280.0070.01116.02
7.2.270.0110.00616.34
7.2.260.0140.00616.21
7.2.250.0120.01216.25
7.2.240.0030.02016.23
7.2.230.0120.01116.24
7.2.220.0100.01416.29
7.2.210.0130.01016.42
7.2.200.0100.01316.45
7.2.190.0160.00616.49
7.2.180.0180.00616.48
7.2.170.0200.00616.36
7.2.160.0070.01816.27
7.2.150.0180.00916.50
7.2.140.0080.01116.43
7.2.130.0140.00816.41
7.2.120.0130.00816.40
7.2.110.0130.01216.34
7.2.100.0090.01316.34
7.2.90.0090.01316.24
7.2.80.0140.01116.35
7.2.70.0190.00516.38
7.2.60.0070.01416.18
7.2.50.0130.00916.18
7.2.40.0150.01116.35
7.2.30.0110.01316.59
7.2.20.0510.01316.46
7.2.10.0170.00616.27
7.2.00.0090.01516.61

preferences:
38.19 ms | 403 KiB | 5 Q