php - When exactly is apache_request_headers() available, and when does it fail? -


this follow-up this question related apache_request_headers() function. this question not go bottom of problem, , suspect accepted answer not right, i've commented there.

question 1: on platforms apache_request_headers() available?

the doc says 5.4.0:

this function became available under fastcgi. previously, supported when php installed apache module.

by understand it's still not available, , therefore undefined, under iis. true?

question 2: when can apache_request_headers() return false?

the same doc says can "return false on failure", not define failure is. if understanding of first question correct, cannot return false when function unsupported on current platform, because in case function purely undefined.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -