Browse Source

Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix test for bug #60322
pull/370/head
Stanislav Malyshev 13 years ago
parent
commit
e74776266f
  1. 5
      tests/output/bug60322.phpt

5
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)
Loading…
Cancel
Save