sqlsrv_fetch_array(): array but can also return null and false
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- php
- Domain
- documentation
Research direction
Start with the affected sqlsrv_fetch_array() documentation page and locate its function definition and return-value description. Update the definition to include array, false, and null, then verify that the rendered documentation matches the stated behavior.
Written by the indexing model from the issue text.
Description
Affected page
https://www.php.net/manual/en/function.sqlsrv-fetch-array.php
Issue description
The function sqlsrv_fetch_array() is only defined with the return type array. Looking to the the return value description of this page it states:
Returns an array on success, null if there are no more rows to return, and false if an error occurs.
Steps to reproduce
N/A
Suggested fix
Expand the return type of the function definition to sqlsrv_fetch_array(): array|false|null.
- Dominant language
- XML
- Stars
- 2
- Forks
- 6
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 5
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from php/doc-extensions
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
php/doc-extensions#23 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
php/doc-extensions#22 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
php/doc-extensions#13 · 11 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
php/doc-extensions#27 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
php/doc-extensions#21 · 1 comment ·
All issues in php/doc-extensions
Similar issues
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Ecosystem: ClawMetry — the Qwen Code reader is now free and open source (follow-up to #9294 / #9338) Opencategory/integration priority/P3 scope/documentation status/ready-for-human type/feature-request
Difficulty 1/5 Under an hour Newbie friendliness 84/100