imap_search UNKEYWORD description is wrong
Open
Nobody has claimed this yet.
bug
Extension: imap
- Dominant language
- XML
- Stars
- 596
- Forks
- 890
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 55
Description
Description
The following code:
$SearchQuery ='TO "bob@yahoo.com" UNKEYWORD "rosebud" SUBJECT "Citizen Kane"';
$Result=imap_search($Connection,$SearchQuery);
<?php
Resulted in this output:
A mail id for a mail which has the string "rosebud" in the body.
But I expected this output instead:
No mail ID should be returned in $Result which has the string "rosebud" (anywhere) in the message.
PHP Version
PHP 7.4
Operating System
No response
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.
Research direction
Start at the PHP documentation entry for imap_search and compare the UNKEYWORD description with the reported query and result. Verify the intended IMAP search semantics, then update the description so it accurately explains whether matching messages are returned; confirm the example and wording are consistent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100