ID: 43125 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Arrays related Operating System: all PHP Version: 6CVS-2007-10-29 (CVS) 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. Previous Comments: ------------------------------------------------------------------------ [2007-10-29 10:11:57] [EMAIL PROTECTED] Description: ------------ In the array functions min and max implemented in ext/standard/array.c there are 4 error messages which run together "At" and "least". For example one message is as follows: "Atleast one value should be passed" The problem occurs four times in array.c. I thought twice about raising a bug for something as trivial as thus but when I saw the recent work to sort out the extra periods "." in error messages I realised that it would be appropriate to raise this. Once this change has been made the tests I committed for min and max can be altered to require the space. I'm happy to do this. The tests are currently written to pass with or without the space. Reproduce code: --------------- <?php min(); ?> Expected result: ---------------- Warning: min(): At least one value should be passed in %s on line %d Actual result: -------------- Warning: min(): Atleast one value should be passed %s on line %d ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43125&edit=1