JosephLenton/PHP-Error — pull request #91 by bullfrogchampion (2014-10-10 23:43:21+00:00)
Title: Add support for nested output buffers

This uses the ob_get_level command to work out how many output
buffers we need to close before we make our own output.

This enables using PHP-Error in applications such as magento.