Answers for "php clear data from past echos"

PHP
-1

php clear echo

<?php

ob_start();
echo 'a';
print 'b';

// some statement that removes all printed/echoed items
ob_end_clean();

echo 'c';

// the final output is equal to 'c', not 'abc'

?>
Posted by: Guest on July-10-2020

Code answers related to "php clear data from past echos"

Browse Popular Code Answers by Language