|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-04-28 16:21 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 07:00:01 2025 UTC |
Description: ------------ If you throw an exception inside an output_callback function as a result of using ob_start() and ob_end_clean(), a Segmentation fault occurs. Reproduce code: --------------- <?php function output_handler($buffer) { throw new Exception; } ob_start('output_handler'); ob_end_clean(); ?> Expected result: ---------------- Exception is thrown. Actual result: -------------- Segmentation fault