ID: 50604 Updated by: [email protected] Reported By: marco dot sampellegrini at dtraining dot it -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Windows xp pro sp3 PHP Version: 5.2.12 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php >From http://uk2.php.net/round: Changelog Version Description 5.3.0 The mode parameter was introduced. Previous Comments: ------------------------------------------------------------------------ [2009-12-29 11:23:44] marco dot sampellegrini at dtraining dot it Description: ------------ Hi, I get the same on 5.2.9 I'm using xampplite. Thanks. Reproduce code: --------------- --- >From manual page: function.round#Examples --- echo round(9.5, 0, PHP_ROUND_HALF_UP); Expected result: ---------------- 10 Actual result: -------------- Warning: Wrong parameter count for round() in .. on line ... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50604&edit=1
