|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
49 + 48 = ?
Subscribe to this entry?

 [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: Mon Sep 20 23:03:37 2021 UTC