As others pointed out, there are places where things can get hung up besides PHP (e.g., the web server or the client's browser). If you really want to ensure that information is displayed as it becomes available, you'll probably need some AJAX-based solution. You would have one PHP script that handles display and another that does calculations, and have the display script make AJAX requests to the other. jQuery has some pretty simple AJAX functions that might help you there.
You'd also want to have a fallback in case the browser doesn't support/has disabled JavaScript that would just be the standard page that may not display content until the end.