syntax error, unexpected '['
The syntax error you are seeing implies that you are actually running php 5.3.  I can see that /usr/bin/php56 is version 5.6.22, but does $(which php) really point to /usr/bin/php56? Double-check your $PATH.