]> granicus.if.org Git - php/commitdiff
This commit was manufactured by cvs2svn to create branch 'PHP_4_2_0'.
authorSVN Migration <svn@php.net>
Sun, 24 Mar 2002 23:16:43 +0000 (23:16 +0000)
committerSVN Migration <svn@php.net>
Sun, 24 Mar 2002 23:16:43 +0000 (23:16 +0000)
tests/func/006.phpt [new file with mode: 0644]

diff --git a/tests/func/006.phpt b/tests/func/006.phpt
new file mode 100644 (file)
index 0000000..85a435b
--- /dev/null
@@ -0,0 +1,21 @@
+--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