php doesn't execute after dompdf stream I'm trying to print echo Hello after $dompdf->stream("ABC.pdf") but it doen't work
include_once("../assets/converter/dompdf/dompdf_config.inc.php");
$dompdf = new DOMPDF();
$dompdf->load_html("<html><body>Hello</body></html>");
$dompdf->render();
$dompdf->stream("ABC.pdf");
echo "Hello"
even after error_reporting(E_ALL); i don't see any error
I think it's normal as $dompdf->stream("ABC.pdf");
creates and sends the PDF with the headers directly to the browser. So, after this point you can't execute other instructions on the script