summaryrefslogtreecommitdiff
path: root/tests/output/ob_get_clean_basic_002.phpt
blob: 30e2adcfab11089c1809b965fd756fc7caea068e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
Test basic behaviour of ob_get_clean()
--FILE--
<?php
/*
 * Function is implemented in main/output.c
*/

ob_start();

echo "Hello World";

$out = ob_get_clean();
$out = strtolower($out);

var_dump($out);
?>
--EXPECT--
string(11) "hello world"