summaryrefslogtreecommitdiff
path: root/tests/func/008.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/func/008.phpt')
-rw-r--r--tests/func/008.phpt16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/func/008.phpt b/tests/func/008.phpt
new file mode 100644
index 0000000..48098e1
--- /dev/null
+++ b/tests/func/008.phpt
@@ -0,0 +1,16 @@
+--TEST--
+Test for buffering in core functions with implicit flush off
+--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'