ID: 28508 Updated by: [EMAIL PROTECTED] Reported By: techtonik at tut dot by -Status: Open +Status: Closed Bug Type: Math related Operating System: Windows 2000 PHP Version: 4.3.6 New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. The underlying C function is not available in win32. Technically (fixed in CVS) the function shouldn't have been available in this case, but it was, since it was not supported it ended up returning NULL. Previous Comments: ------------------------------------------------------------------------ [2004-05-24 18:27:41] techtonik at tut dot by Description: ------------ hypot() support seems to be broken on windows. Can anybody confirm? Reproduce code: --------------- <?php $x = hypot(3, 4); var_dump($x); ?> Expected result: ---------------- 5 Actual result: -------------- NULL ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28508&edit=1
