|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-02-20 17:09 UTC] felipe@php.net
[2011-02-20 17:10 UTC] felipe@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: felipe
[2011-02-20 17:10 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 07 19:00:02 2025 UTC |
Description: ------------ The HP/UX compiler reports the following: "/home/users/cjones/php-5.3.5/ext/spl/spl_iterators.c", line 2742: warning #4277-D: logical AND with a constant, do you mean to use '&'? if ((flags && CIT_FULL_CACHE) != 0 && (intern->u.caching.flags & CIT_FULL_CACHE) == 0) { ^ Similar nearby code uses '&' so the warning is probably accurate. Can this code be reviewed and fixed if the test is incorrect?