Page 1 of 1

Call to undefined function asinh()

Posted: Wed Apr 22, 2009 6:49 pm
by hyder_m29
Fatal error: Call to undefined function asinh() in C:\xampp\htdocs\tay\MapUtility.php on line 22

Do I need to include a math library to get it working?

Re: Call to undefined function asinh()

Posted: Wed Apr 22, 2009 7:14 pm
by jazz090
whats ur php version?

Re: Call to undefined function asinh()

Posted: Wed Apr 22, 2009 9:04 pm
by requinix
asinh isn't available on Windows until PHP 5.3.

Code: Select all

if (!function_exists("asinh")) {
    function asinh($x) {
        return log($x + sqrt(1 + pow($x, 2)));
    }
}