/hphp/test/zend/bad/tests/output/ob_013.php
PHP | 24 lines | 19 code | 5 blank | 0 comment | 0 complexity | 2d4209db28ec86b2f5f45bfebed28e95 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
- <?php
- function a($s){return $s;}
- function b($s){return $s;}
- function c($s){return $s;}
- function d($s){return $s;}
- ob_start();
- ob_start('a');
- ob_start('b');
- ob_start('c');
- ob_start('d');
- ob_start();
- echo "foo\n";
- ob_flush();
- ob_end_clean();
- ob_flush();
- print_r(ob_list_handlers());
- print_r(ob_get_status());
- print_r(ob_get_status(true));
- ?>