=0;$i--) { $backtraceItem = $backtrace[$i]; fwrite($GLOBALS["nikolaevevgeLogFp"],"${backtraceItem["file"]}[LINE:${backtraceItem["line"]}]function ${backtraceItem["function"]}("); if ($args) { $argsText = ""; foreach($backtraceItem["args"] as $argsKey => $arg) { if ($argsKey != 0) {$argsText .= ",";} if (gettype($arg) == "string") {$arg = "'$arg'";} if (gettype($arg) == "object") {$arg = "Object";} $argsText .= ($arg.""); } fwrite($GLOBALS["nikolaevevgeLogFp"],$argsText); } fwrite($GLOBALS["nikolaevevgeLogFp"],")\n"); } fwrite($GLOBALS["nikolaevevgeLogFp"],myvar_dump($element)."\n\n"); } } } return true; } //[КОНЕЦ]Функция для записи информации в Debugging log