cvs: php4 /tests/func 006.phpt
| From: | Yasuo Ohgaki | Date: | Wed, 02 Oct 2002 05:29:06 +0000 |
| Subject: | cvs: php4 /tests/func 006.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-14394@lists.php.net to get a copy of this message | ||
yohgaki Wed Oct 2 01:29:06 2002 EDT
Modified files:
/php4/tests/func 006.phpt
Log:
Improve test to show output bufferring bypass bug clearly.
Index: php4/tests/func/006.phpt
diff -u php4/tests/func/006.phpt:1.2 php4/tests/func/006.phpt:1.3
--- php4/tests/func/006.phpt:1.2 Thu Aug 1 08:02:22 2002
+++ php4/tests/func/006.phpt Wed Oct 2 01:29:06 2002
@@ -14,8 +14,10 @@
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"