Lines Matching refs:trace
2 mysqli_debug() - append to trace file
24 …if (true !== ($tmp = mysqli_debug(sprintf('d:t:O,%s/mysqli_debug_phpt.trace', sys_get_temp_dir()))…
32 $trace_file = sprintf('%s/mysqli_debug_phpt.trace', sys_get_temp_dir());
40 // will mysqli_debug() mind if the trace file gets removed?
45 printf("[004] Cannot create trace file to test append mode\n");
49 printf("[005] Cannot write to trace file.\n");
60 $trace = file_get_contents($trace_file);
61 if (!strstr($trace, 'mysqli_debug.phpt test line'))
62 …printf("[008] Cannot find original file content any more. Seems that the trace file got overwritte…
72 if (!strstr(file_get_contents($trace_file), $trace))
73 …printf("[011] Cannot find original file content any more. Seems that the trace file got overwritte…
76 // what will happen if we create new trace entries...?
80 printf("[012] Could not remove trace file '%s'.\n", $trace_file);