Hi all,

Many of you know from reading the subject line whats coming next! ;)

In php, after we interact with HTTP streams (as a client), PHP conjures into local scope a variable with header information from the previous request $http_response_header. Is this behavior something we want to keep around into PHP 7? Or should we find a different/short-cut way to get the information.

Currently, the same information can be ascertained, but only if there is an open file handle and only through stream_get_meta_data($fh).

It would be nice if there were an as-easy approach to getting data without perhaps conjuring magic variables into the beloved local scope?

Thoughts?
Ralph Schindler

PS Also, do we have any other local-scope variables like this?

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

Reply via email to