Explain the purpose of output buffering in php.
Answer / Shubhi Agarwal
Output buffering in PHP is used to control and manipulate the output that gets sent to a browser or another destination. It helps you capture, modify, and send output as a whole, rather than sending it piece by piece. This can improve the performance of scripts that generate large amounts of output by reducing the number of times they have to interact with the web server.
| Is This Answer Correct ? | 0 Yes | 0 No |
What do you mean range() in php?
How cookies are transported from browsers to servers?
What is the correct syntax of mail() function in php?
What is faster in php?
What type of headers have to add in the mail function in which file a attached?
How stop the execution of a php scrip?
How can we encrypt the username and password using PHP?
13 Answers Avaria, HCL, TCS, Xpert,
Which is best framework for php?
Inside a php function, what param needs to be set in order to access a global variable?
Why is PHP-MySQL frequently used for web (Portal) Development?
5 Answers T3 Softwares, Wipro,
How to replace a text in a string with another text in php?
How many data types are used by php?