summaryrefslogtreecommitdiff
path: root/tests/output/ob_004.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/output/ob_004.phpt')
-rw-r--r--tests/output/ob_004.phpt11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/output/ob_004.phpt b/tests/output/ob_004.phpt
new file mode 100644
index 0000000..a089a8c
--- /dev/null
+++ b/tests/output/ob_004.phpt
@@ -0,0 +1,11 @@
+--TEST--
+output buffering - ob_clean
+--FILE--
+<?php
+ob_start();
+echo "foo\n";
+ob_clean();
+echo "bar\n";
+?>
+--EXPECT--
+bar