This PR adds support for older PHP 5 versions (<5.3.0). Older versions threw the following error when including the main Soundcloud.php library file.
syntax error, unexpected T_FUNCTION, expecting ')' in /path/to/Soundcloud.php
This is also described in this StackOverflow question.
The root cause is that array_map only supports lambda functions as of PHP 5.0.3. This PR replaces this method with a simple foreach.
Use a simple foreach here because array_map only supports lambda func…
…tion as of PHP 5.3.0