unexpected [ array bracket fix on PHP = 5.3.0
youshef opened this issue · comments
youshef commented
When executing against PHP 5.3.0, the array declaration using the brackets syntax [] provoke the error :
Parse error: syntax error, unexpected '[' in (...)
Replacing [] by array() in /src/DogStatsd.php
line 63 will resolve the issue.