Hi Visman,
I'm currently testing PunBB on PHP 8.5.2. Today I received this message in my error log: PHP Deprecated: The predefined locally scoped $http_response_header variable is deprecated, call http_get_last_response_headers() instead in C:\xampp\htdocs\punbb\include\functions.php on line 384 (line numbering adjusted to your script).
"This variable is deprecated since PHP 8.5, and will disappear in PHP 9.0."
What's puzzling me a bit is this on lines 380 to 382:
if (function_exists('http_get_last_response_headers')) {
$http_response_header = http_get_last_response_headers();
}
I don't have this statement in my script at all. I may have removed it several months ago, when the script was still running on PHP 8.4.8, due to a different related error. But that's just one thought of mine.
Hi Visman,
I'm currently testing PunBB on PHP 8.5.2. Today I received this message in my error log:
PHP Deprecated: The predefined locally scoped $http_response_header variable is deprecated, call http_get_last_response_headers() instead in C:\xampp\htdocs\punbb\include\functions.php on line 384(line numbering adjusted to your script).What's puzzling me a bit is this on lines 380 to 382:
if (function_exists('http_get_last_response_headers')) {$http_response_header = http_get_last_response_headers();}I don't have this statement in my script at all. I may have removed it several months ago, when the script was still running on PHP 8.4.8, due to a different related error. But that's just one thought of mine.