jayarsee Posted August 28, 2010 Share Posted August 28, 2010 Say a script has ignore_user_abort(true); set. If the user aborts the connection and print is called, the buffer doesn't get written anywhere. So shouldn't print() return false in this case? To clarify, I know it doesn't, but shouldn't it? If not, why not? Quote Link to comment https://forums.phpfreaks.com/topic/211965-shouldnt-print-return-false-if-its-executed-after-a-connection-is-aborted/ Share on other sites More sharing options...
trq Posted August 28, 2010 Share Posted August 28, 2010 I'm not sure it has the ability to return false. The manual states, returns 1 always. Quote Link to comment https://forums.phpfreaks.com/topic/211965-shouldnt-print-return-false-if-its-executed-after-a-connection-is-aborted/#findComment-1104703 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.