#49630 [Opn->Csd]: imap_listscan function missing

From: Date: Tue, 22 Sep 2009 18:19:56 +0000
Subject: #49630 [Opn->Csd]: imap_listscan function missing
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-142709@lists.php.net to get a copy of this message
ID: 49630 Updated by: felipe@php.net Reported By: olivier at oxeva dot fr -Status: Open +Status: Closed Bug Type: IMAP related Operating System: all -PHP Version: 5.3SVN-2009-09-22 (SVN) +PHP Version: 5.2, 5.3 and HEAD -Assigned To: +Assigned To: felipe New Comment: 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 http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Fixed in 5.2, 5.3 and HEAD. Previous Comments: ------------------------------------------------------------------------ [2009-09-22 18:18:58] svn@php.net Automatic comment from SVN on behalf of felipe Revision: http://svn.php.net/viewvc/?view=revision&revision=288585 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 17:44:45] olivier at oxeva dot fr Description: ------------ 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: http://fr.php.net/imap_listscan The function exists in sourcecode: http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/imap/php_imap.c?view=markup (line 1862) Reproduce code: --------------- <?php $stream_id = imap_open('localhost', 'me@me.com', 'boum@boum.com') or die("Cannot connect to mailbox $default_mailbox: " . imap_last_error()); imap_listscan($stream_id,$default_mailbox,'INBOX'); imap_close($stream_id); 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49630&edit=1

« previous php.bugs (#142709) next »