Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/kernel/utility/debugger.php
Show First 20 Lines • Show All 715 Lines • ▼ Show 20 Line(s) | |||||
case 'NULL': | case 'NULL': | ||||
return 'NULL' . "\n"; | return 'NULL' . "\n"; | ||||
break; | break; | ||||
case 'object': | case 'object': | ||||
return $this->processObject($array, $tab_count); | return $this->processObject($array, $tab_count); | ||||
break; | break; | ||||
case 'resource': | |||||
return (string)$array . "\n"; | |||||
break; | |||||
default: | default: | ||||
// number or string | // number or string | ||||
if ( strlen($array) > 200 ) { | if ( strlen($array) > 200 ) { | ||||
$array = substr($array, 0, 50) . ' ...'; | $array = substr($array, 0, 50) . ' ...'; | ||||
} | } | ||||
return $array . "\n"; | return $array . "\n"; | ||||
break; | break; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 1292 Lines • Show Last 20 Lines |