1

I have a doubt between these two functions. According to my understanding,there are four buffers when we use PHP via web. PHP buffer,SAPI(FAST-CGI) buffer,nginx buffer and exploer buffer. So could anyone tell me how these buffers work and where flush() and ob_flush() are supposed to be used?

Red fx
  • 1,071
  • 2
  • 12
  • 26
Summer Su
  • 273
  • 4
  • 12
  • 1
    flush() is more internal to php where as ob_flush() which is more userspace/your application layer. – Scuzzy Nov 13 '17 at 07:42

0 Answers0