On Heroku I'm getting a "Parse error: syntax error, unexpected '[' in /app/www/Embed/UrlResolver.php on line 35" at this file: https://github.com/oscarotero/Embed/blob/master/Embed/UrlResolver.php
The strange thing is it works fine on my local environment,(MAMP). One difference is Heroku is using PHP 5.3.27 and my MAMP version is 5.4.10, but it seems unlikely that that's the problem (the script calls for 'PHP 5.3+'). I'd love to test it but I haven't found a 5.4 buildpack that doesn't make everything go kablooey.
Does anything in this terminal output explain the error?
-----> Removing .DS_Store files
-----> PHP app detected
-----> Bundling mcrypt version 2.5.8
-----> Bundling Apache version 2.2.25
-----> Bundling PHP version 5.3.27
-----> Discovering process types
Procfile declares types -> (none)
Default types for PHP -> web
Does anybody know why this is happening?