What is php ob_start for?

Asked

Viewed 27 times

2

I saw that it puts all the processed data in buffer, and releases when complete.

What exactly is buffer? I only saw this name on players, which is the size of the file that will be allocated in memory from the current video/audio point.

What I understood, is that the page is only released when the data is all processed, like, goes all at once to the client. That’s right?

  • 2

    The doubt is good, so I gave +1 in the question, but it is basically what was answered in the indicated link, so the closure indicating the solution. Note that theob_ prefix is just "output buffer"

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.