summaryrefslogtreecommitdiff
path: root/tests/output
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2013-06-13 10:23:23 -0700
committerStanislav Malyshev <stas@php.net>2013-06-13 10:30:00 -0700
commit10b9579395641d96baf267bd880366aee690c1e0 (patch)
tree049b692bac70bd3950f66134988b69dea2498a0b /tests/output
parented2690477c29bfea640e00697070fca62b4d8b09 (diff)
downloadphp-git-10b9579395641d96baf267bd880366aee690c1e0.tar.gz
fix test for bug #60322
Diffstat (limited to 'tests/output')
-rw-r--r--tests/output/bug60322.phpt5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/output/bug60322.phpt b/tests/output/bug60322.phpt
index c28ab4d617..f4d7139458 100644
--- a/tests/output/bug60322.phpt
+++ b/tests/output/bug60322.phpt
@@ -1,8 +1,11 @@
--TEST--
Bug #60322 (ob_get_clean() now raises an E_NOTICE if no buffers exist)
+--INI--
+output_buffering=128
--FILE--
<?php
-while(ob_get_clean()) ;
+ob_start();
+while(@ob_end_clean());
var_dump(ob_get_clean());
--EXPECT--
bool(false)