Explain the purpose of output buffering in php.



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

Post New Answer

More PHP Interview Questions

What do you mean range() in php?

1 Answers  


How cookies are transported from browsers to servers?

1 Answers  


What is the correct syntax of mail() function in php?

1 Answers  


What is faster in php?

1 Answers  


What type of headers have to add in the mail function in which file a attached?

2 Answers  


How stop the execution of a php scrip?

1 Answers  


How can we encrypt the username and password using PHP?

13 Answers   Avaria, HCL, TCS, Xpert,


Which is best framework for php?

1 Answers  


Inside a php function, what param needs to be set in order to access a global variable?

1 Answers  


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?

1 Answers  


How many data types are used by php?

1 Answers  


Categories