3v4l.org

run code in 300+ PHP versions simultaneously
<?php $items = array( 'main' => array( 'label' => ('MENU'), 'entries'=> array('dash1'=> array('label'=>'Dashboard 1', 'icon' => 'fas fa-wallet'), 'dash2'=> array('label'=> 'Dashboard 2', 'icon' => 'fas fa-tachometer-alt'), 'dash3'=> array('label'=> 'Dashboard 3', 'icon' => 'fas fa-tachometer-alt') ) ) ); $new_items=array('newdash'=>array('label'=>'New Dashboard', 'icon' => 'fas fa-wallet' ) ) ; $items['main']['entries']['newdash'] = $new_items['newdash']; print_r($items);

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.130.0140.00717.70
8.4.120.0110.00820.51
8.4.110.0090.01018.58
8.4.100.0140.00718.80
8.4.90.0050.00320.69
8.4.80.0080.00818.79
8.4.70.0080.01118.70
8.4.60.0070.00118.93
8.4.50.0050.00518.68
8.4.40.0100.01017.46
8.4.30.0100.01020.40
8.4.20.0100.01017.53
8.4.10.0060.01325.89
8.3.260.0090.01016.58
8.3.250.0060.00219.00
8.3.240.0130.00616.54
8.3.230.0110.00916.65
8.3.220.0050.00419.16
8.3.210.0100.00718.60
8.3.200.0060.00416.62
8.3.190.0130.00516.50
8.3.180.0050.00320.75
8.3.170.0140.00320.56
8.3.160.0080.00018.38
8.3.150.0170.00316.59
8.3.140.0050.00317.30
8.3.130.0060.00318.62
8.3.120.0120.00620.52
8.3.110.0030.00720.94
8.3.100.0030.00624.06
8.3.90.0120.00626.77
8.3.80.0000.00919.36
8.3.70.0140.00716.75
8.3.60.0130.00316.63
8.3.50.0130.00424.43
8.3.40.0130.00718.46
8.3.30.0110.00318.71
8.3.20.0060.00324.18
8.3.10.0080.00024.66
8.3.00.0080.00026.16
8.2.290.0110.00920.11
8.2.280.0140.00618.40
8.2.270.0080.01119.25
8.2.260.0100.00016.39
8.2.250.0040.01116.64
8.2.240.0030.00616.95
8.2.230.0030.01322.58
8.2.220.0060.00337.54
8.2.210.0040.00426.77
8.2.200.0090.00018.88
8.2.190.0070.00718.16
8.2.180.0100.00725.92
8.2.170.0100.01318.96
8.2.160.0030.01022.96
8.2.150.0090.00025.66
8.2.140.0030.00524.66
8.2.130.0060.00326.16
8.2.120.0080.00026.35
8.2.110.0070.00322.30
8.2.100.0090.00317.78
8.2.90.0050.00317.91
8.2.80.0030.00519.02
8.2.70.0040.00417.35
8.2.60.0090.00017.68
8.2.50.0000.00818.05
8.2.40.0040.00418.28
8.2.30.0050.00318.08
8.2.20.0080.00017.93
8.2.10.0040.00419.37
8.2.00.0040.00419.35
8.1.330.0130.00517.74
8.1.320.0080.00116.02
8.1.310.0000.00718.33
8.1.300.0100.00615.96
8.1.290.0060.00330.84
8.1.280.0110.00425.92
8.1.270.0030.01320.56
8.1.260.0100.01028.09
8.1.250.0040.00428.09
8.1.240.0060.00322.57
8.1.230.0060.00622.68
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0090.00017.35
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0030.00520.38
8.1.160.0050.00218.82
8.1.150.0000.00718.88
8.1.140.0040.00418.84
8.1.130.0040.00420.03
8.1.120.0030.00617.43
8.1.110.0000.00917.39
8.1.100.0040.00417.28
8.1.90.0000.00717.31
8.1.80.0040.00417.32
8.1.70.0000.00817.27
8.1.60.0050.00317.50
8.1.50.0000.00717.36
8.1.40.0070.00017.45
8.1.30.0040.00417.45
8.1.20.0020.00517.48
8.1.10.0040.00417.54
8.1.00.0070.00317.30
8.0.300.0030.00320.11
8.0.290.0060.00316.75
8.0.280.0030.00318.25
8.0.270.0040.00417.86
8.0.260.0030.00318.30
8.0.250.0050.00316.80
8.0.240.0040.00416.93
8.0.230.0040.00416.92
8.0.220.0070.00016.87
8.0.210.0040.00416.71
8.0.200.0070.00016.88
8.0.190.0070.00016.80
8.0.180.0000.00716.75
8.0.170.0080.00016.81
8.0.160.0000.00716.84
8.0.150.0000.00716.73
8.0.140.0040.00416.79
8.0.130.0030.00313.21
8.0.120.0040.00416.90
8.0.110.0040.00416.86
8.0.100.0050.00316.65
8.0.90.0030.00316.79
8.0.80.0080.01216.81
8.0.70.0040.00416.70
8.0.60.0040.00416.70
8.0.50.0030.00316.71
8.0.30.0110.00517.06
8.0.20.0140.00616.86
8.0.10.0150.00316.79
8.0.00.0120.00617.05
7.4.330.0020.00215.55
7.4.320.0070.00016.44
7.4.300.0030.00316.46
7.4.290.0090.00016.39
7.4.280.0000.00816.50
7.4.270.0060.00016.54
7.4.260.0050.00013.20
7.4.250.0030.00316.47
7.4.240.0040.00416.54
7.4.230.0030.00316.35
7.4.220.0020.00516.34
7.4.210.0080.00616.59
7.4.200.0070.00016.25
7.4.140.0060.01016.25
7.4.130.0030.01416.23
7.4.120.0200.00616.57
7.4.110.0130.00716.64
7.4.100.0060.01216.38
7.4.90.0150.00316.28
7.4.80.0090.01216.49
7.4.70.0030.01416.43
7.4.60.0110.00716.34
7.4.50.0110.01116.45
7.4.40.0130.00616.45
7.4.30.0120.00616.41
7.4.20.0080.00816.46
7.4.10.0070.01016.57
7.4.00.0090.00916.43
7.3.330.0000.00716.14
7.3.320.0030.00313.08
7.3.310.0000.00716.02
7.3.300.0040.00416.18
7.3.290.0050.01016.22
7.3.260.0120.00616.42
7.3.250.0130.01316.30
7.3.240.0060.01316.25
7.3.230.0110.00716.25
7.3.220.0140.00416.36
7.3.210.0060.01216.16
7.3.200.0080.00816.10
7.3.190.0000.01916.40
7.3.180.0140.00716.20
7.3.170.0190.00316.23
7.3.160.0060.01216.52
7.3.150.0060.01016.19
7.3.140.0100.00716.40
7.3.130.0070.01016.57
7.3.120.0090.00916.46
7.3.110.0080.00816.32
7.3.100.0090.00916.43
7.3.90.0060.01216.20
7.3.80.0070.01816.22
7.3.70.0130.01016.37
7.3.60.0170.00716.19
7.3.50.0160.00716.43
7.3.40.0100.01316.15
7.3.30.0090.00916.24
7.3.20.0130.01016.24
7.3.10.0100.01316.40
7.3.00.0130.01016.23

preferences:
35.59 ms | 403 KiB | 5 Q