|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sun Jun 14 09:00:02 2026 UTC |
The user told me that the following was adequate too: function is_odd ($n) { return (($n%2)!=0); } function is_even ($n) { return (($n%2)==0); }