<html>
<body>
ob_start();
echo "Hello World!";
$contents = ob_get_contents();
ob_end_clean();
echo "The contents of the buffer are: ";
echo $contents;
</body>
<!-- Mirrored from www.w3schools.com/php/phptryit.asp?filename=tryphp_oc_ob_get_contents by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 05 Sep 2022 15:02:07 GMT -->
</html>