- ob_start: documentation ( source)
- ob_get_contents: documentation ( source)
- ob_end_clean: documentation ( source)
- header: documentation ( source)
<?php
header('d');
echo "lalalaal";
ob_start();
header('e');
echo "heretoo";
$html = ob_get_contents();
ob_end_clean();
echo $html;