private static function get_pretty_resource($resource, $short = false) { $output = '<span style="color: #666666;">'; if (true !== $short) { $output .= '<b><i>resource</i></b> : '; } $output .= $resource; if (true !== $short) { $output .= ' ( = <i>RESOURCE</i> )'; } $output .= '</span><br />'; return $output; }