summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/func/008.phpt18
-rw-r--r--tests/func/009.phpt18
2 files changed, 36 insertions, 0 deletions
diff --git a/tests/func/008.phpt b/tests/func/008.phpt
new file mode 100644
index 0000000000..b16798ac89
--- /dev/null
+++ b/tests/func/008.phpt
@@ -0,0 +1,18 @@
+--TEST--
+Output buffering tests / Implicit flush off
+--POST--
+--GET--
+--INI--
+implicit_flush=0
+--FILE--
+<?php
+$res = var_export("foo1");
+echo "\n";
+$res = var_export("foo2", TRUE);
+echo "\n";
+echo $res."\n";
+?>
+--EXPECT--
+'foo1'
+
+'foo2'
diff --git a/tests/func/009.phpt b/tests/func/009.phpt
new file mode 100644
index 0000000000..7f69186fd8
--- /dev/null
+++ b/tests/func/009.phpt
@@ -0,0 +1,18 @@
+--TEST--
+Output buffering tests / Implicit flush off
+--POST--
+--GET--
+--INI--
+implicit_flush=1
+--FILE--
+<?php
+$res = var_export("foo1");
+echo "\n";
+$res = var_export("foo2", TRUE);
+echo "\n";
+echo $res."\n";
+?>
+--EXPECT--
+'foo1'
+
+'foo2'