Closed xubmuajkub closed 4 years ago
Since we cannot update the outside variable in array_map we should map the sources outside of the functions.
array_map
Not sure if it working on PHP 5 or not, but it's not working on PHP 7.
We can also refactor the code to be more simple. Now the curl code that get the content is kind of redundant.
curl
Thanks for contribution!
Since we cannot update the outside variable in
array_map
we should map the sources outside of the functions.Not sure if it working on PHP 5 or not, but it's not working on PHP 7.