Re: Improvements to HTTP stream metadata

From: Date: Fri, 01 Jul 2011 16:51:24 +0000
Subject: Re: Improvements to HTTP stream metadata
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-53718@lists.php.net to get a copy of this message
Hi! On 7/1/11 3:08 AM, Hannes Magnusson wrote:
I use it extensively. Its nearly the only way to get the headers from file_get_contents() for example.
We could have a function, like stream_get_last_headers() or something like that (like all DBs do, for example, which have exactly the same issue with no handle on error). Injecting random variables in scope is not usually the best way... -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#53718) next »