3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1 = Array ( 'recipients' => Array ( 'signers' => Array ( '0' => Array ( 'email' => 'rm@gmail.com', 'tabs' => Array ( 'checkboxTabs' => Array ( '0' => Array ( 'tabLabel' => 'sampleCheckbox' ) ), 'textTabs' => Array ( '0' => Array ( 'tabLabel' => 'CompanyName', 'value' => 'Qwerty' ), '1' => Array ( 'tabLabel' => 'TradingName', 'value' => 'Qwerty' ), '2' => Array ( 'tabLabel' => 'ContactName', 'value' => 'RM' ) ) ) ) ) ) ); $monthlytotal = 10; // i assume $array2 = array( "tabLabel"=>"MonthlyTotal", "value"=>$monthlytotal ); $array1['recipients']['signers']['0']['tabs']['textTabs'][] = $array2; print_r($array1);

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.10.0090.00019.76
8.3.140.0080.00016.64
8.3.130.0100.00018.41
8.3.120.0030.00520.92
8.3.110.0050.00320.94
8.3.100.0000.00824.06
8.3.90.0050.00326.77
8.3.80.0090.00016.63
8.3.70.0140.00718.31
8.3.60.0140.00416.38
8.3.50.0100.00523.64
8.3.40.0090.00618.84
8.3.30.0120.00618.55
8.3.20.0070.00020.91
8.3.10.0060.00323.51
8.3.00.0030.00622.58
8.2.260.0040.01118.69
8.2.250.0060.00316.86
8.2.240.0060.00318.84
8.2.230.0090.00022.58
8.2.220.0030.00637.54
8.2.210.0080.00026.77
8.2.200.0040.00416.63
8.2.190.0070.01416.74
8.2.180.0110.00725.92
8.2.170.0070.01122.96
8.2.160.0060.01221.02
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00420.96
8.2.110.0070.00322.00
8.2.100.0110.00817.42
8.2.90.0040.00417.63
8.2.80.0050.00318.46
8.2.70.0080.00017.93
8.2.60.0040.00418.22
8.2.50.0050.00318.10
8.2.40.0040.00419.48
8.2.30.0000.00719.26
8.2.20.0040.00418.07
8.2.10.0000.00819.38
8.2.00.0040.00419.23
8.1.310.0100.00016.67
8.1.300.0060.00918.46
8.1.290.0100.00018.88
8.1.280.0150.00625.92
8.1.270.0050.00320.76
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0070.00323.91
8.1.230.0110.00021.07
8.1.220.0000.00717.79
8.1.210.0090.00018.77
8.1.200.0090.00017.22
8.1.190.0000.00817.22
8.1.180.0050.00318.88
8.1.170.0060.00318.60
8.1.160.0000.00718.93
8.1.150.0000.00818.74
8.1.140.0000.00720.74
8.1.130.0080.00020.32
8.1.120.0000.00817.39
8.1.110.0060.00317.35
8.1.100.0000.00817.28
8.1.90.0030.00617.41
8.1.80.0040.00417.29
8.1.70.0040.00417.36
8.1.60.0090.00017.48
8.1.50.0080.00017.34
8.1.40.0000.00817.45
8.1.30.0030.00617.41
8.1.20.0000.00817.54
8.1.10.0000.00717.47
8.1.00.0000.00917.48
8.0.300.0040.00418.77
8.0.290.0030.00616.58
8.0.280.0070.00018.36
8.0.270.0000.00816.71
8.0.260.0000.00720.00
8.0.250.0070.00016.86
8.0.240.0000.00816.87
8.0.230.0000.00716.80
8.0.220.0030.00316.79
8.0.210.0000.00716.81
8.0.200.0030.00316.77
8.0.190.0040.00416.91
8.0.180.0000.00816.78
8.0.170.0000.00816.76
8.0.160.0040.00416.84
8.0.150.0000.00716.88
8.0.140.0040.00716.68
8.0.130.0000.00513.25
8.0.120.0000.00716.78
8.0.110.0040.00416.72
8.0.100.0040.00416.81
8.0.90.0030.00616.70
8.0.80.0080.01116.82
8.0.70.0080.00016.89
8.0.60.0080.00016.64
8.0.50.0070.00016.64
8.0.30.0100.00716.99
8.0.20.0120.00617.16
8.0.10.0040.00416.77
8.0.00.0120.00916.67
7.4.330.0000.00516.70
7.4.320.0030.00316.58
7.4.300.0040.00416.53
7.4.290.0000.00716.57
7.4.280.0000.00716.38
7.4.270.0050.00316.50
7.4.260.0030.00313.24
7.4.250.0080.00016.41
7.4.240.0000.00716.48
7.4.230.0070.00016.54
7.4.220.0030.00316.48
7.4.210.0080.01016.47
7.4.200.0040.00416.55
7.4.130.0080.01016.34
7.4.120.0070.01416.42
7.4.110.0110.00716.57
7.4.100.0080.00816.38
7.4.90.0110.00716.50
7.4.80.0120.01019.39
7.4.70.0030.01716.48
7.4.60.0090.01316.39
7.4.50.0040.01416.10
7.4.40.0060.00916.28
7.4.20.0060.01516.29
7.4.10.0100.00616.39
7.4.00.0060.00916.27
7.3.330.0000.00716.39
7.3.320.0030.00313.24
7.3.310.0030.00316.23
7.3.300.0030.00316.28
7.3.290.0090.00816.32
7.3.260.0120.00616.33
7.3.240.0100.00916.56
7.3.230.0100.00716.40
7.3.210.0130.00316.40
7.3.200.0070.01016.46
7.3.190.0150.00016.46
7.3.180.0070.01116.59
7.3.170.0060.01016.50
7.3.160.0130.00316.64
7.3.140.0120.00616.55
7.3.130.0060.01016.47
7.3.120.0090.00616.62
7.3.110.0060.00916.29
7.3.100.0030.01216.46
7.3.90.0110.01016.55
7.3.80.0140.00716.41
7.3.70.0080.00816.51
7.3.60.0070.01016.48
7.3.50.0090.00616.42
7.3.40.0110.00516.30
7.3.30.0110.00616.48
7.3.20.0090.01216.25
7.3.10.0120.00916.23
7.3.00.0060.01016.50
7.2.330.0160.00716.46
7.2.320.0140.00316.57
7.2.310.0080.00816.57
7.2.300.0160.00616.71
7.2.290.0060.01016.46
7.2.270.0100.00616.54
7.2.260.0090.00616.69
7.2.250.0060.00916.53
7.2.240.0070.01016.59
7.2.230.0060.01316.56
7.2.220.0060.01516.61
7.2.210.0080.00816.66
7.2.200.0130.00316.34
7.2.190.0030.01316.42
7.2.180.0040.01216.33
7.2.170.0070.01016.59
7.2.160.0130.00916.63
7.2.150.0110.00716.37
7.2.140.0110.00716.40
7.2.130.0110.00716.59
7.2.120.0030.01616.43
7.2.110.0060.01216.48
7.2.100.0060.01216.48
7.2.90.0090.00916.29
7.2.80.0070.01016.66
7.2.70.0030.01316.39
7.2.60.0030.01316.35
7.2.50.0130.01016.50
7.2.40.0080.00816.41
7.2.30.0100.00716.63
7.2.20.0060.00916.52
7.2.10.0130.01016.67
7.2.00.0100.01016.57

preferences:
27.87 ms | 403 KiB | 5 Q