diff options
author | Yasuo Ohgaki <yohgaki@php.net> | 2002-10-02 05:29:06 +0000 |
---|---|---|
committer | Yasuo Ohgaki <yohgaki@php.net> | 2002-10-02 05:29:06 +0000 |
commit | d4c7e8bbaf83905b8e83295c5546d0bf328182a5 (patch) | |
tree | 2e6c2944dec949546296311119921d5f1d179a73 /tests/func | |
parent | 69957c56b3df50e132ddcd5a494f5830ff9af36c (diff) | |
download | php-git-d4c7e8bbaf83905b8e83295c5546d0bf328182a5.tar.gz |
Improve test to show output bufferring bypass bug clearly.
Diffstat (limited to 'tests/func')
-rw-r--r-- | tests/func/006.phpt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/func/006.phpt b/tests/func/006.phpt index 1687cac3f0..157e75bc94 100644 --- a/tests/func/006.phpt +++ b/tests/func/006.phpt @@ -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" |