What are the vulnerabilities of output buffer functions in PHP? 

* Not saying it has vulnerabilities, merely wondering if there were any

Why is it considered ugly php code?

* <http://symfony.com/doc/2.0/book/from_flat_php_to_symfony2.html> Under isolating the layout