Sr. PHP Programmer Question: Download Senior PHP Programmer PDF

What does ob_start do?

Tweet Share WhatsApp

Answer:

Makes it so PHP does not output anything. Companies ask this because many large frameworks wrap a bunch of code in ob_start() and ob_get_clean(). So understanding how that function works is pretty important.

Download Senior PHP Programmer PDF Read All 202 Senior PHP Programmer Questions
Previous QuestionNext Question
Distinguish between urlencode and urldecode?What is the use of rand() in php?