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"
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php