whats the difference between ob_flush and ob_end_flush?

前端 未结 3 1433
名媛妹妹
名媛妹妹 2021-02-14 21:02

i am confused about the PHP functions ob_flush() and ob_end_flush(). About the function ob_flush the manual says

The buff         


        
3条回答
  •  误落风尘
    2021-02-14 21:33

    ob_end_flush() displays everything from the buffer, then destroys the buffer. ob_flush does the same, but does not destroy the buffer just clears it.

    ob_flush() =

    ob_end_flush();
    ob_start();
    

提交回复
热议问题