ob_start(); echo '<pre>';var_dump($arDebug);echo "</pre>\n"; $body = ob_get_contents(); ob_end_clean();
$f=@fopen('fail_'.md5('ololo_').".txt","a+"); fputs($f,"$body"); fclose($f);