note 71225 added to reserved.variables

From: Date: Fri, 17 Nov 2006 08:17:58 +0000
Subject: note 71225 added to reserved.variables
Groups: php.notes 
Request: Send a blank email to php-notes+get-119828@lists.php.net to get a copy of this message
Another special (and underdocumented) variable in PHP is $http_response_header. This variable is automatically filled with an array of headers when you use file_get_contents() and similar functions to open a URL. This is true even when the function fails due to a 4xx or 5xx error and returns false - the headers are still available in $http_response_header. And unlike stream_get_meta_data(), this is not limited to just those functions that operate on stream references. ---- Server IP: 216.194.113.175 Probable Submitter: 68.122.11.183 ---- Manual Page -- http://www.php.net/manual/en/reserved.variables.php Edit -- https://master.php.net/note/edit/71225 Del: integrated -- https://master.php.net/note/delete/71225/integrated Del: useless -- https://master.php.net/note/delete/71225/useless Del: bad code -- https://master.php.net/note/delete/71225/bad+code Del: spam -- https://master.php.net/note/delete/71225/spam Del: non-english -- https://master.php.net/note/delete/71225/non-english Del: in docs -- https://master.php.net/note/delete/71225/in+docs Del: other reasons-- https://master.php.net/note/delete/71225 Reject -- https://master.php.net/note/reject/71225 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#119828) next »