summaryrefslogtreecommitdiff
path: root/tests/output/ob_get_clean_basic_001.phpt
blob: 7e1c475c631153c18627789d2ad064dd5623081d (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());
?>
--EXPECT--
bool(false)
string(11) "Hello World"