note 104017 deleted from function.is-int by danbrown
| From: | danbrown@php.net | Date: | Tue, 17 May 2011 15:38:34 +0000 |
| Subject: | note 104017 deleted from function.is-int by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-179817@lists.php.net to get a copy of this message | ||
Note Submitter: matthew at encke dot us
----
I have learned that you can really reduce the code written here to make it only one line function.
function is_really_int( $val ) {
return ( $val == (int)$val );
}