JosephLenton / PHP-Error

Better error reporting for PHP, and prettier too!
1.35k stars 151 forks source link

Add support for nested output buffers #91

Open bullfrogchampion opened 9 years ago

bullfrogchampion commented 9 years ago

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.

This fixes #76