php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #27294 imap_fetchheader() syntax
Submitted: 2004-02-17 14:50 UTC Modified: 2004-02-17 16:49 UTC
From: ihave at no dot mail Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2004-02-17 14:50 UTC] ihave at no dot mail
Description:
------------
When I call this function without third parameter (int options) there is no any error message appears (error_reporting(E_ALL)). Is it optional? If so, this third parameter must be enclosed with square brackets. If not, there must be warning (Wrong parameter count for imap_fetchheader() in ...). Am I wrong?


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-17 16:49 UTC] nlopess@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.

options is optional. I've corrected the documentation.
 [2020-02-07 06:12 UTC] phpdocbot@php.net
Automatic comment on behalf of nlopess
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=26b2c1f27d0b1d0b053fd92047398bf2c20e3af1
Log: fix #27294 options is optional
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Nov 19 22:00:02 2025 UTC