|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-02-05 07:57 UTC] zeev
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 21:00:01 2025 UTC |
if (!$z) { $z = 0; } if (($z != 1) && ($z != 2) && ($z != 4) && ($z != 8) && ($z != 16) && ($z !=32)) { $z = 0; } if ($z == ($z & $thiscookie)) { $z = 0; } $thiscookie += $z; Tracing the value of $z through the above results in strange errors on the third line, where the following has occurred: (a) $z=4, $thiscookie=59, if statement evaluated true and reset $z to 0. (b) $z=1, $thiscookie=58, if statement evaluated true and reset $z to 0.