ID:               49630
 Updated by:       fel...@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] s...@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', 'm...@me.com', 'b...@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

Reply via email to