note 45252 rejected from function.bindec by betz
| From: | betz@php.net | Date: | Tue, 31 Aug 2004 14:34:22 +0000 |
| Subject: | note 45252 rejected from function.bindec by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-75741@lists.php.net to get a copy of this message | ||
Note Submitter: flavio dot ventura at logika dot com
----
try this:
echo gettype(bindec("0100"));
I obtain "double" instead of "integer"!
I had to use casting (int).
Why?