On Sun, 2005-02-20 at 09:44 -0500, Wez Furlong wrote: > On Sun, 20 Feb 2005 12:36:01 +0100, Timm Friebe <[EMAIL PROTECTED]> wrote: > > * If the number does not fit, I will try to convert it into a double > > (PHP datatype float). This is the case for e.g. numeric(10) - values > > might not fit. This is the same what PHP does when adding 1 to > > LONG_MAX, for instance. If - in the procedure of doing so, strtod() > > gives an ERANGE or if the length overflows EG(precision), I will > > return a string. > > This is exactly what I wanted to avoid.
Why is that so? I think this a good idea - it saves memory in the usual case (most numbers will probably fit into a long). > Please don't make this change. How could I? I only have CVS karma for ext/sybase_ct, not for anything else, not Zend, not PDO:) -- Timm If it ain't broken, it doesn't have enough features yet -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php