Yii:die() , Yii:varDump()
Posted 15 October 2008 - 09:33 AM
Yii:die() - In a view since the output is buffered if you try to debug something with a die() you get an empty screen, is it possible to add a Yii::die function that does something like
Yii:varDump - Loved prado varDump , can this be added into the Yii framework ?
Posted 15 October 2008 - 10:50 AM
Ticket added for varDump.
I had encountered issues with the output not appearing in different frameworks that used a similar buffering technique. But your right it appears to work fine right now. On this page http://ca.php.net/ref.outcontrol there is a comment on the issue that suggested ob_end_flush() is the default call.
Posted 16 October 2008 - 10:48 PM