I am assuming the semicolon at the end of the function headers is a typing mistake. If you didn't get a parse error, perhaps your errors are turned off?
Did you initialise $seats as a data other than an array? You cannot re-initialise a variable as an array after previously initialising as a different data type. In otherwords, an array variable must always be an array variable
For examlpe:
//example 1)
$x = 1;
...
$x[0] = "SADSAD";
echo $x[0]; //outputs nothing
//example 2)
$y = "hello";
...
$y[0] = "AAAAA";
echo $y[0]; //outputs A
echo $y //outputs Aello
Hope this helps Tore 🙂