Clarified example as per bug #53265.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305207 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Justin Martin 2010-11-08 18:06:30 +00:00
parent c1eb079594
commit f653adafd6

View file

@ -80,11 +80,13 @@
<?php
function odd($var)
{
// returns whether the input integer is odd
return($var & 1);
}
function even($var)
{
// returns whether the input integer is even
return(!($var & 1));
}