source: branches/version-2_5-dev/data/module/Compat/tests/function/ob_clean.phpt @ 19792

Revision 19792, 282 bytes checked in by Seasoft, 13 years ago (diff)

#744(PHP4 互換用途ソースを将来的に切り捨てやすい仕組みづくり)

Line 
1--TEST--
2Function -- ob_clean
3--SKIPIF--
4<?php if (function_exists('ob_clean')) { echo 'skip'; } ?>
5--FILE--
6<?php
7require_once 'PHP/Compat.php';
8PHP_Compat::loadFunction('ob_clean');
9
10ob_start();
11echo 'foo';
12ob_clean();
13echo 'foo';
14ob_end_flush();
15?>
16--EXPECT--
17foo
Note: See TracBrowser for help on using the repository browser.