svn: /phpdoc/en/trunk/reference/array/functions/ array-filter.xml

From: Date: Mon, 08 Nov 2010 18:06:30 +0000
Subject: svn: /phpdoc/en/trunk/reference/array/functions/ array-filter.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7394@lists.php.net to get a copy of this message
frozenfire Mon, 08 Nov 2010 18:06:30 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=305207 Log: Clarified example as per bug #53265. Bug: http://bugs.php.net/53265 (Open) Example too complicated Changed paths: U phpdoc/en/trunk/reference/array/functions/array-filter.xml Modified: phpdoc/en/trunk/reference/array/functions/array-filter.xml =================================================================== --- phpdoc/en/trunk/reference/array/functions/array-filter.xml 2010-11-08 17:06:35 UTC (rev 305206) +++ phpdoc/en/trunk/reference/array/functions/array-filter.xml 2010-11-08 18:06:30 UTC (rev 305207) @@ -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)); }

« previous php.doc.cvs (#7394) next »