Req #60040 [Asn->Wfx]: "!var & flags" used
| From: | mike@php.net | Date: | Wed, 19 Nov 2014 09:07:42 +0000 |
| Subject: | Req #60040 [Asn->Wfx]: "!var & flags" used | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-188672@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60040&edit=1
ID: 60040
Updated by: mike@php.net
Reported by: jille at hexon dot cx
Summary: "!var & flags" used
-Status: Assigned
+Status: Wont fix
Type: Feature/Change Request
Package: Output Control
Operating System: n/a
PHP Version: 5.3.8
Assigned To: kalle
Block user comment: N
Private report: N
New Comment:
5.3 is dead.
Previous Comments:
------------------------------------------------------------------------
[2011-10-11 14:14:35] jille at hexon dot cx
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.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60040&edit=1