For example, if I have an echo statement, there\'s no guarantee that the browser might display it right away, might display a few dozen echo statements at once, and might wa
function printnow($str, $bbreak=true){ print "$str"; if($bbreak){ print ""; } ob_flush(); flush(); }
Obviously this isn't going to behave if you pass it complicated objects (or at least those that don't implement __toString) but, you get the idea.