diff options
author | Stanislav Malyshev <stas@php.net> | 2011-12-26 05:01:46 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2011-12-26 05:01:46 +0000 |
commit | 87b9f7bb3a1723e783ebc2071994e74ce658e0e9 (patch) | |
tree | 2a4f5421cadbe1b2e4dcc5a1976032d1b443e628 /tests/output | |
parent | 36d45859964c120ae9f84573ca0706fdc31d678d (diff) | |
download | php-git-87b9f7bb3a1723e783ebc2071994e74ce658e0e9.tar.gz |
fix bug #60322 (ob_get_clean() now raises an E_NOTICE if no buffers exist)
Diffstat (limited to 'tests/output')
-rw-r--r-- | tests/output/bug60322.phpt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/output/bug60322.phpt b/tests/output/bug60322.phpt new file mode 100644 index 0000000000..c28ab4d617 --- /dev/null +++ b/tests/output/bug60322.phpt @@ -0,0 +1,8 @@ +--TEST-- +Bug #60322 (ob_get_clean() now raises an E_NOTICE if no buffers exist) +--FILE-- +<?php +while(ob_get_clean()) ; +var_dump(ob_get_clean()); +--EXPECT-- +bool(false) |