Stas Malyshev | 1 Jul 18:51 2011

Re: [PHP-DEV] Improvements to HTTP stream metadata

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

--

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php


Gmane