ID: 25665 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Assigned -Bug Type: Variables related +Bug Type: *General Issues -Operating System: Linux RH 9 +Operating System: * -PHP Version: 4CVS-2003-09-25 (stable) +PHP Version: 4CVS, 5CVS -Assigned To: +Assigned To: helly New Comment:
It's the ap_php_cvt() which ends up in endless loop since it can't handle infinite numbers at all. In PHP 4.2.3 the output of var_dump(log(0)); is float(-INF).. Marcus..you broke this, fix it. Previous Comments: ------------------------------------------------------------------------ [2003-09-25 23:21:04] [EMAIL PROTECTED] Description: ------------ Summary and reproducing code say all... I tested it on a 4.3.0 and got NAN -INF float(0.E+79) float(-0.E+79) which isn't correct on the var_dump behaviour either, but at least I hadn't had a hanging program. Reproduce code: --------------- <?php print_r(acos(1.01)); print_r(log(0)); var_dump(acos(1.01)); var_dump(log(0)); ?> Expected result: ---------------- Some output saying NaN and INF. Actual result: -------------- Nothing. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25665&edit=1