[TYPO3-ect] lib div feature request - debug for php5
Steve Ryan
stever at syntithenai.com
Wed Sep 26 02:00:00 CEST 2007
Hi Elmar,
any chance to include the following function in tx_lib_object. Since
php5, using debug on an array containing a tx_lib_object subclass causes
and exception because it cannot be converted to string.
function __toString() {
ob_start();
$this->dump();
$content=ob_get_contents();
ob_end_clean();
return $content;
}
thanks
Steve Ryan
More information about the TYPO3-team-extension-coordination
mailing list