ID: 42561 Updated by: [EMAIL PROTECTED] Reported By: phpbugs dot 20 dot zsh at spamgourmet dot com -Status: Open +Status: Closed Bug Type: Feature/Change Request Operating System: Irrelevant PHP Version: 5.2.4 New Comment:
This seems to be fixed in 5.3 Previous Comments: ------------------------------------------------------------------------ [2007-09-05 12:15:11] phpbugs dot 20 dot zsh at spamgourmet dot com Description: ------------ cosh() does not properly check the type of the passed parameter. Reproduce code: --------------- <?php var_dump(cosh(array())); ?> Expected result: ---------------- Warning: cosh() expects parameter 1 to be long, array given in %s on line %d NULL Actual result: -------------- float(1) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42561&edit=1