3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ [ ['plan' => 'basic'], ['plan' => 'small'], ['plan' => 'novice'], ['plan' => 'professional'], ['plan' => 'master'], ['plan' => 'promo'], ['plan' => 'newplan'] ] ]; var_export(array_merge(...$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.5.00.0080.01319.92
8.4.150.0020.00014.05
8.4.140.0130.00717.43
8.4.130.0140.00617.60
8.4.120.0100.01020.47
8.4.110.0130.00818.67
8.4.100.0150.00417.57
8.4.90.0120.00720.41
8.4.80.0090.00919.11
8.4.70.0130.00518.96
8.4.60.0090.00920.56
8.4.50.0110.00920.30
8.4.40.0040.00417.84
8.4.30.0060.01320.67
8.4.20.0030.00619.52
8.4.10.0060.00323.52
8.3.280.0100.00918.14
8.3.270.0100.01016.54
8.3.260.0120.00716.39
8.3.250.0130.00618.95
8.3.240.0120.00616.48
8.3.230.0140.00616.57
8.3.220.0100.00818.70
8.3.210.0060.00316.66
8.3.200.0050.00416.55
8.3.190.0120.00817.09
8.3.180.0110.00816.35
8.3.170.0110.00317.16
8.3.160.0080.01220.68
8.3.150.0080.00018.74
8.3.140.0070.01116.90
8.3.130.0060.00316.54
8.3.120.0030.00620.64
8.3.110.0040.00416.66
8.3.100.0150.00016.36
8.3.90.0030.00526.77
8.3.80.0030.00616.63
8.3.70.0170.00318.30
8.3.60.0090.00918.43
8.3.50.0100.01019.88
8.3.40.0140.00020.21
8.3.30.0120.00318.51
8.3.20.0080.00024.18
8.3.10.0080.00024.66
8.3.00.0040.00426.16
8.2.290.0090.00917.21
8.2.280.0050.00318.14
8.2.270.0080.00017.05
8.2.260.0060.00316.59
8.2.250.0080.00018.43
8.2.240.0030.00617.13
8.2.230.0090.00020.94
8.2.220.0150.00324.06
8.2.210.0000.00826.77
8.2.200.0030.00616.50
8.2.190.0100.01016.58
8.2.180.0110.00325.92
8.2.170.0150.00422.96
8.2.160.0030.01522.96
8.2.150.0040.00425.66
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0080.00021.00
8.2.110.0060.00322.23
8.2.100.0090.00319.42
8.2.90.0040.00417.50
8.2.80.0080.00018.73
8.2.70.0030.00517.50
8.2.60.0000.00817.93
8.2.50.0030.00618.07
8.2.40.0000.00718.03
8.2.30.0040.00417.88
8.2.20.0040.00422.43
8.2.10.0020.00518.07
8.2.00.0070.00019.32
8.1.330.0110.00916.21
8.1.320.0070.01316.36
8.1.310.0060.00318.59
8.1.300.0090.00316.53
8.1.290.0060.00330.84
8.1.280.0070.00725.92
8.1.270.0070.00024.66
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00723.83
8.1.230.0030.00717.77
8.1.220.0090.00017.74
8.1.210.0040.00418.77
8.1.200.0060.00717.22
8.1.190.0080.00017.22
8.1.180.0040.00418.10
8.1.170.0030.00618.66
8.1.160.0000.00718.80
8.1.150.0050.00218.57
8.1.140.0050.00217.32
8.1.130.0040.00419.10
8.1.120.0180.00017.29
8.1.110.0150.00317.28
8.1.100.0120.00417.32
8.1.90.0110.00617.35
8.1.80.0120.00417.33
8.1.70.0170.00017.33
8.1.60.0120.00617.41
8.1.50.0150.00317.28
8.1.40.0130.00617.39
8.1.30.0050.01517.41
8.1.20.0160.00317.38
8.1.10.0150.00417.38
8.1.00.0190.00017.36
8.0.300.0030.00618.77
8.0.290.0000.00816.63
8.0.280.0000.00718.26
8.0.270.0000.00717.19
8.0.260.0030.00318.55
8.0.250.0110.00416.86
8.0.240.0110.00416.81
8.0.230.0080.00816.79
8.0.220.0150.00216.78
8.0.210.0110.00716.75
8.0.200.0120.00716.68
8.0.190.0110.00616.73
8.0.180.0120.00516.81
8.0.170.0130.00316.67
8.0.160.0090.00616.76
8.0.150.0120.00316.60
8.0.140.0110.00416.66
8.0.130.0100.00516.80
8.0.120.0100.00516.67
8.0.110.0150.00016.82
8.0.100.0160.00016.82
8.0.90.0140.00316.74
8.0.80.0160.00016.69
8.0.70.0120.00416.60
8.0.60.0150.00016.71
8.0.50.0120.00416.85
8.0.30.0090.00716.78
8.0.20.0130.00316.73
8.0.10.0110.00516.84
7.4.330.0030.00315.55
7.4.320.0060.01116.42
7.4.300.0140.00316.27
7.4.290.0130.00416.31
7.4.280.0130.00416.29
7.4.270.0170.00016.54
7.4.260.0130.00316.48
7.4.250.0170.00016.26
7.4.240.0170.00016.38
7.4.230.0110.00016.25
7.4.220.0070.00316.02
7.4.210.0050.00516.25
7.4.200.0080.00016.11
7.4.190.0050.00516.12
7.4.180.0090.00016.07
7.4.160.0050.00516.50
7.4.150.0070.00216.36
7.4.140.0040.00816.14
7.4.130.0100.00016.29
7.4.120.0060.00316.01
7.4.110.0040.00416.16
7.4.100.0090.00016.03
7.4.90.0090.00016.01
7.4.80.0050.00516.32
7.4.70.0040.00716.08
7.4.60.0100.00216.26
7.4.50.0060.00215.76
7.4.40.0080.00416.14
7.4.30.0070.00716.34
7.4.20.0140.00216.34
7.4.10.0110.00516.31
7.4.00.0100.00316.30

preferences:
30.34 ms | 403 KiB | 5 Q