mirror of
https://github.com/php/php-src.git
synced 2025-01-02 08:54:04 +08:00
21 lines
285 B
PHP
21 lines
285 B
PHP
--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"
|