Is it a bug ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Code 1 :
-------------------------
var_dump(stream_get_contents($rr));
-------------------------
Output 1
-------------------------
string(185) "HTTP/1.1 202 Accepted
Server: Apache2
Content-Length: 24
Connection: close
Content-type: text/html
Pragma: no-cache
Cache-Control: no-cache

0: Accepted for delivery"
-------------------------


Code 2 :
-------------------------
$x = stream_get_contents($rr);
var_dump($x);
-------------------------
Output 2
-------------------------
string(0) ""
-------------------------

Am i wrong ?

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux