|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-07-01 00:35 UTC] degeberg@php.net
-Status: Open
+Status: Bogus
[2010-07-01 00:35 UTC] degeberg@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 09 03:00:01 2025 UTC |
Description: ------------ It appears that an example in the documentation for array_filter() is performing modulus with an ampersand (&) not percent (%) as it should. function odd($arg){ return($arg & 1); // should be return ($arg % 1); }