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)

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to