Skip to content

Commit

Permalink
Improve test to show output bufferring bypass bug clearly.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yasuo Ohgaki committed Oct 2, 2002
1 parent 69957c5 commit d4c7e8b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/func/006.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit d4c7e8b

Please sign in to comment.