-
Notifications
You must be signed in to change notification settings - Fork 732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Array functions #3008
Comments
Because every single one of those functions are part of a different section of the manual. They might use or return arrays, but they are not predominantly about doing operations on arrays. |
Thanks for your response. I get that these functions are listed in other manual sections, but their purpose is to operate on arrays. See, for example, the documentation for the next two functions makes explicit they work on arrays.
It might be my lack of experience with PHP, but one would expect to find these functions in Array Functions' Table of Contents. The Introduction in the Arrays' chapter sets this expectation.
The purpose of this report is to improve the usability of the documentation, so I think it is worth to reconsider it and discuss it with a larger group of maintenance members. Thanks. |
Their purpose is not to operate on arrays, their purpose is to work on strings, or for This is in stark contrast with functions such as |
From manual page: https://php.net/ref.array
Hi. Is there a good reason to not include these functions:
on the Array Functions' Table of Contents ¶.
It is difficult to find these functions and often it requires a web search and reading through several StackOverflow posts.
Thank you.
The text was updated successfully, but these errors were encountered: