/** * this methode can be used for display any array from anywhere * * @param string $position - put here what you want. just title(name) of array * @param array $array - array to display * * @example dataBase::debugOC('some.php, # ' . __line__ .', my variable', $array_variable ); */ public static function debugOC($position, $array) { dataBase::debugOut("<pre> --- {$position} --<br>"); dataBase::debugOut(print_r($array, true)); dataBase::debugOut('----------------------<br /><br /></pre>', true); }