answered Jan 22 '18 20:17
ob_start() and ob_end_clean() used for buffering . it buffer output
ob_start() is the function which start the buffering.
ob_end_clean() is the end of buffering.and clean all stored output so before it one need to store it some where like
ob_get_contents() function return all buffered output