|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-08-03 15:24 UTC] sniper@php.net
[2005-08-03 18:18 UTC] nlopess@php.net
[2020-02-07 06:11 UTC] phpdocbot@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 14:00:01 2025 UTC |
Description: ------------ Seems ob_list_handlers() cannot work with functions created dynamically using create_function(). "default output handler" is returned. Reproduce code: --------------- <?php ob_start(create_function('$s', 'return $s;')); $list = ob_list_handlers(); var_dump($list); ?> Expected result: ---------------- array(1) { [0]=> string(...) "name of dynamically created function" } Actual result: -------------- array(1) { [0]=> string(22) "default output handler" }