mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
c1eb079594
commit
f653adafd6
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue