So I just spent 30 minutes trying to debug my code, when I finally understood that:
$words = array("word", "word", "word"); // doesn't compile
$words =array("word", "word", "word"); // Does compile
I just tried deleting the space between "=" and "array" as a sort of desperate random try and it worked. Is it a normal behaviour from PHP, considering usually the "=" instruction is totally fine with spaces?
=. See here: 3v4l.org/0CBtX. You have something else going on.