Re: Re: cvs: php4(PHP_4_2_0) /ext/standard math.c

From: Date: Mon, 24 Jun 2002 09:40:05 +0000
Subject: Re: Re: cvs: php4(PHP_4_2_0) /ext/standard math.c
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-85514@lists.php.net to get a copy of this message
> > + /* Don't try to convert +/- infinity */ > > + if (fvalue == HUGE_VAL || fvalue == -HUGE_VAL) { > > + php_error(E_WARNING, "Number too large in %s() call", > > + get_active_function_name(TSRMLS_C)); > > Isn't E_WARNING is better to be E_NOTICE? To get this warning you need to try base convert of a *very* large number ( > 1500 digits). This would indicate to me that something went wrong so an E_WARNING is in order. Edin

« previous php.dev (#85514) next »