summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2002-10-02 05:29:06 +0000
committerYasuo Ohgaki <yohgaki@php.net>2002-10-02 05:29:06 +0000
commitd4c7e8bbaf83905b8e83295c5546d0bf328182a5 (patch)
tree2e6c2944dec949546296311119921d5f1d179a73 /tests
parent69957c56b3df50e132ddcd5a494f5830ff9af36c (diff)
downloadphp-git-d4c7e8bbaf83905b8e83295c5546d0bf328182a5.tar.gz
Improve test to show output bufferring bypass bug clearly.
Diffstat (limited to 'tests')
-rw-r--r--tests/func/006.phpt8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/func/006.phpt b/tests/func/006.phpt
index 1687cac3f0..157e75bc94 100644
--- a/tests/func/006.phpt
+++ b/tests/func/006.phpt
@@ -14,8 +14,10 @@ echo 'A';
ob_end_clean();
$a = ob_get_contents();
ob_end_clean();
-echo $b;
-echo $a;
+
+var_dump( $b ); // 2B
+var_dump( $a ); // 1A
?>
--EXPECT--
-2B1A
+string(2) "2B"
+string(2) "1A"