php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #29677 imap_search and imap_open documentation is incomplete: missing charset option
Submitted: 2004-08-14 14:43 UTC Modified: 2004-08-16 10:27 UTC
From: jotta at mailbox dot hu Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: -
Private report: No CVE-ID: None
 [2004-08-14 14:43 UTC] jotta at mailbox dot hu
Description:
------------
I was looking for a solution to specify a charset option for imap_search(). After a day long research, I've found, that this is supported in imap_search() and imap_open() for more than a year (patch was posted here: http://bugs.php.net/bug.php?id=22505 ), but it's still not documented.

The documentation should read:

array imap_sort ( resource stream, int criteria, int reverse [, int options [, string search_criteria [, string charset ]]])

and

array imap_search ( resource imap_stream, string criteria, int options, string charset)

The documentation might help users by telling which charsets are supported by the IMAP library:
http://www.washington.edu/imap/IMAP-FAQs/index.html#1.12

It's tested and working under Linux and PHP 4.3.7 with an IMAP library version 2004 (that's imap-2004.tar.Z)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-16 10:27 UTC] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 18 20:01:27 2024 UTC