ccampbell / chromephp

class for logging PHP variables to Google Chrome console
http://www.chromelogger.com
1.38k stars 450 forks source link

Fatal error: Maximum function nesting level of '100' reached, aborting! #7

Closed sudo-tee closed 13 years ago

sudo-tee commented 13 years ago

When working with objects that have some sort of circular references to each other I have this issue

Sample of the stack trace

ChromePhp::log( ) ../ConsoleLogger.php:54 4 0.0420 223068 ChromePhp::_log( ) ../ChromePhp.php:183 5 0.0420 224548 ChromePhp->_convert( ) ../ChromePhp.php:272 6 0.0421 226376 ChromePhp->_convert( ) ../ChromePhp.php:311 7 0.0421 228332 ChromePhp->_convert( ) ../ChromePhp.php:311 8 0.0421 230236 ChromePhp->_convert( ) ../ChromePhp.php:311 ..... until I reach the error

ccampbell commented 13 years ago

fixed in https://github.com/ccampbell/chromephp/pull/8