cvs: php4 /tests/func 006.phpt
| From: | Jan Lehnardt | Date: | Sun, 24 Mar 2002 23:16:43 +0000 |
| Subject: | cvs: php4 /tests/func 006.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10668@lists.php.net to get a copy of this message | ||
jan Sun Mar 24 18:16:43 2002 EDT
Added files:
/php4/tests/func 006.phpt
Log:
- added basic output buffering tests
Index: php4/tests/func/006.phpt
+++ php4/tests/func/006.phpt
--TEST--
Output buffering tests
--POST--
--GET--
--FILE--
<?php
ob_start();
echo ob_get_level();
echo 'A';
ob_start();
echo ob_get_level();
echo 'B';
$b = ob_get_contents();
ob_end_clean();
$a = ob_get_contents();
ob_end_clean();
echo $b;
echo $a;
?>
--EXPECT--
3B2A