View gist:d01d7678b19bedc41455
array(10) {
'wrapper_data' =>
array(14) {
[0] =>
string(15) "HTTP/1.1 200 OK"
[1] =>
string(21) "Content-Length: 57251"
[2] =>
string(30) "Content-Type: application/json"
[3] =>
View gist:dc6ba67b71db0e452780
array(10) {
'wrapper_data' =>
array(9) {
[0] =>
string(15) "HTTP/1.1 200 OK"
[1] =>
string(13) "Server: nginx"
[2] =>
string(35) "Date: Wed, 24 Jun 2015 11:03:10 GMT"
[3] =>
View gist:1d1e3b781821231f9daf
<?php
$url = 'https://packagist.org/p/symfony/finder$d376d819fde50de85ad17bb8ec9e1296899e51197cb48d7047cac6bf22a9b813.json';
$headers = array(
'User-Agent: Composer/source (Windows NT; 6.2; PHP 5.6.5)',
'Accept-Encoding: gzip',
'Connection: close',
);