/hphp/test/zend/good/tests/output/ob_get_clean_basic_002.php
PHP | 15 lines | 8 code | 3 blank | 4 comment | 0 complexity | 65f80a023d00bfb0ba46699b6e6ddbe5 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?hh
- /*
- * proto bool ob_get_clean(void)
- * Function is implemented in main/output.c
- */
- <<__EntryPoint>> function main(): void {
- ob_start();
- echo "Hello World";
- $out = ob_get_clean();
- $out = strtolower($out);
- var_dump($out);
- }