This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] => |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] => |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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', | |
); |