Bug #10657: settype() with larger than 32bit values
| From: | tf at tfromm dot com | Date: | Fri, 04 May 2001 06:50:32 +0000 |
| Subject: | Bug #10657: settype() with larger than 32bit values | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-53771@lists.php.net to get a copy of this message | ||
From: tf@tfromm.com
Operating system: linux
PHP version: 4.0.4
PHP Bug Type: Feature/Change Request
Bug description: settype() with larger than 32bit values
if i use settype($foo, "integer") with an value for $foo
alike '11111111112'
settype() returns successfull type setting and changes the
value to something like that '2147483647'
could it be possible that settype produces a warning, if
an value larger that the supported bitvalue of the current
system is and/or changes the value to 0 alike settype() on
a striong like this 'fjsfjsdh'...
--
Edit Bug report at: http://bugs.php.net/?id=10657&edit=1