Esempio n. 1
0
Variant f_ob_get_flush() {
  String output = g_context->obCopyContents();
  if (!f_ob_end_flush()) {
    return false;
  }
  return output;
}
Esempio n. 2
0
bool TestExtOutput::test_ob_end_flush() {
  f_ob_start();
  f_ob_start("strtolower");
  g_context->write("TEst");
  f_ob_end_flush();
  VS(f_ob_get_clean(), "test");
  return Count(true);
}