08-01-2017, 12:26 PM
I do a test and the sintaxe below is the same:
$master_account [] = 1;
The result with print_r is:
Array ( [0] => 1 )
In both sintaxes below:
$master_account = [1];
$master_account [] = 1;
The result is the same.
$master_account [] = 1;
The result with print_r is:
Array ( [0] => 1 )
In both sintaxes below:
$master_account = [1];
$master_account [] = 1;
The result is the same.