From: ihave at no dot mail Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: imap_fetchheader() syntax
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? -- Edit bug report at http://bugs.php.net/?id=27294&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27294&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27294&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27294&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27294&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27294&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27294&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27294&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27294&r=support Expected behavior: http://bugs.php.net/fix.php?id=27294&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27294&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27294&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27294&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27294&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27294&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27294&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27294&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27294&r=float
