Edit report at https://bugs.php.net/bug.php?id=60326&edit=1
ID: 60326 Comment by: nicolas dot grekas+php at gmail dot com Reported by: s...@php.net Summary: ob_gzhander() removed Status: Assigned Type: Bug Package: Output Control Operating System: * PHP Version: 5.4.0RC1 Assigned To: mike Block user comment: N Private report: N New Comment: Same for ob_tidyhandler and ob_iconv_handler. Found doing a grep php_output_handler_alias_register on source. If that is considered correct behavior, which I'm personally fine with (but theoretically breaks backward compat), then there is one inconsistency with current implementation : ob aliases have higher precedence than userland function. That is edge case of course. Consider: <?php function ob_iconv_handler($b) { return $b . 'def'; } ob_start('ob_iconv_handler'); // as I tested: this register the internal alias, not the above function ?> Previous Comments: ------------------------------------------------------------------------ [2011-11-19 10:10:15] nicolas dot grekas+php at gmail dot com The attached patch is by mike. ------------------------------------------------------------------------ [2011-11-18 07:17:48] s...@php.net Description: ------------ ob_gzhandler() function was removed by new output buffering code, but some scripts still use it. It would be nice to restore it back if possible. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=60326&edit=1