|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2011-11-18 07:17 UTC] stas@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. Patchesob_gzhandler.diff.txt (last revision 2011-11-19 10:09 UTC by nicolas dot grekas+php at gmail dot com)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 04:00:01 2025 UTC |
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 ?>