summaryrefslogtreecommitdiff
path: root/tests/output/ob_get_clean_basic_001.phpt
blob: 07673dfac4401e58eca171e6a2d84c6fcb956c86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--TEST--
Test return type and value, as well as basic behaviour, of ob_get_clean()
--FILE--
<?php
/* 
 * proto bool ob_get_clean(void)
 * Function is implemented in main/output.c
*/ 

var_dump(ob_get_clean());

ob_start();
echo "Hello World";
var_dump(ob_get_clean());
?>
--EXPECTF--
bool(false)
string(11) "Hello World"