Doc #68106 [Asn]: Typo in ArrayIterator::setFlags

From: Date: Tue, 08 Sep 2015 20:31:32 +0000
Subject: Doc #68106 [Asn]: Typo in ArrayIterator::setFlags
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12737@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68106&edit=1 ID: 68106 Updated by: cmb@php.net Reported by: log dot kot at gmail dot com Summary: Typo in ArrayIterator::setFlags Status: Assigned Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Assigned To: salathe Block user comment: N Private report: N New Comment: > Documentation says that flags must be bitmask of 0 and 1. Where does it say so? The English manual lists the constants with their values (1 and 2) from the beginning. Is this perhaps a translation issue? Previous Comments: ------------------------------------------------------------------------ [2014-09-26 09:43:34] log dot kot at gmail dot com Description: ------------ --- From manual page: http://www.php.net/arrayiterator.setflags --- Documentation says that flags must be bitmask of 0 and 1. But real values are: 1 = ArrayObject::STD_PROP_LIST 2 = ArrayObject::ARRAY_AS_PROPS See http://php.net/manual/en/arrayobject.setflags.php ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68106&edit=1

« previous php.doc.bugs (#12737) next »