Opened 10 months ago
Closed 9 months ago
#60401 closed defect (bug) (fixed)
Use $length in rand_long_str() documentation
Reported by: | harsh175 | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 6.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch |
Focuses: | docs | Cc: |
Description
When I review this file tests/phpunit/includes/utils.php
then I find a parameter description variable changes $len to $length.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Thanks for the report and patch!
[50265] added that documentation. The variable name was rather confusing because the
rand_str()
function uses$len
andrand_long_str()
uses$length
.