Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: php-5.4.2
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (16 sloc) 0.286 kB
--TEST--
Test basic behaviour of ob_get_clean()
--FILE--
<?php
/*
* proto bool ob_get_clean(void)
* 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"
Jump to Line
Something went wrong with that request. Please try again.