Re: Math functions (new parameter parsing)

From: Date: Wed, 13 Feb 2008 10:05:18 +0000
Subject: Re: Math functions (new parameter parsing)
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-35438@lists.php.net to get a copy of this message
Em Qua, 2008-02-13 às 09:47 +0100, Pierre Joye escreveu: > I can't test the patch right now but does it change the result or only raises > a notice? It changes the result when a string is given, and issue notice when the string starts with numeric. var_dump(acos("nonsense")); Warning: acos() expects parameter 1 to be double, string given ... NULL var_dump(acos("1000ABC")); Notice: A non well formed numeric value encountered ... float(NAN)

« previous php.internals (#35438) next »