|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesphp_end_ob_buffer.diff (last revision 2011-10-11 14:15 UTC by jille at hexon dot cx)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-11-18 01:52 UTC] kalle@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: kalle
[2014-11-19 09:07 UTC] mike@php.net
-Status: Assigned
+Status: Wont fix
[2014-11-19 09:07 UTC] mike@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 10:00:01 2025 UTC |
Description: ------------ The patch is self-explanatory, but: php_end_ob_buffer contains: if (!OG(active_ob_buffer).status & PHP_OUTPUT_HANDLER_START) { /* our first call */ status |= PHP_OUTPUT_HANDLER_START; } But !var & flags will first evaluate !var and only after that evaluate the AND-operator. In this case it doesn't have any affect as PHP_OUTPUT_HANDLER_START is 1.