|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49630 imap_listscan function missing
Submitted: 2009-09-22 17:44 UTC Modified: 2009-09-22 18:19 UTC
From: olivier at oxeva dot fr Assigned: felipe (profile)
Status: Closed Package: IMAP related
PHP Version: 5.2, 5.3 and HEAD OS: all
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: olivier at oxeva dot fr
New email:
PHP Version: OS:


 [2009-09-22 17:44 UTC] olivier at oxeva dot fr
The PHP function imap_listscan() is missing:

Fatal error: Call to undefined function imap_listscan() in /***/test.php on line 3

The function exists in documentation:

The function exists in sourcecode: (line 1862)

Reproduce code:

$stream_id = imap_open('localhost', '', '') or 
	die("Cannot connect to mailbox $default_mailbox: " . imap_last_error());



Expected result:
Function is at least found :)

Actual result:
Fatal error: Call to undefined function imap_listscan() in /***/imap_listscan_basic.php on line 3


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-09-22 18:18 UTC]
Automatic comment from SVN on behalf of felipe
Log: - Fixed bug #49630 (imap_listscan function missing)
# Missing PHP_FE(), though nowdays it is used through of two aliases. (imap_scan() and imap_scanmailbox())
 [2009-09-22 18:19 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

Fixed in 5.2, 5.3 and HEAD.
 [2009-10-09 17:38 UTC]
Automatic comment from SVN on behalf of pajoye
Log: - Merge:  Fixed bug #49630 (imap_listscan function missing)
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Sep 21 00:03:37 2021 UTC