Been quite some time since I did PHP; but, something that I believe used to work doesn't seem to be working PHP 7
$list = array ();
while ( ($data = fgetcsv($handle) ) !== FALSE ) {
$row = array ();
$row[0] = 1;
array_push(&$list,$row);
}
This seems to fail due to "Parse error: syntax error, unexpected '&'" however if I take the & off the $list array won't have the $row array inside of it due to scope. Has this changed in PHP 7 on how to handle this?
&. Once you create a reference variable you just use it normally.