using ob_flush() will work as well, e.g. in your test
var_dump($foo); ob_flush(); but note that this will also flush any output generated by PHPUnit so far as well.
using ob_flush() will work as well, e.g. in your test
var_dump($foo); ob_flush(); but note that this will also flush any output generated by PHPUnit so far as well.