ID: 33500 Updated by: paj...@php.net Reported By: ed2019 at columbia dot edu -Status: No Feedback +Status: Assigned Bug Type: Feature/Change Request Operating System: * PHP Version: 5.2.9 Assigned To: pajoye
Previous Comments: ------------------------------------------------------------------------ [2009-11-04 01:00:01] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2009-11-02 16:22:40] nick at mailtrust dot com It looks like you may have forgotten to add the following to your patch: Index: php_imap.c =================================================================== --- php_imap.c (revision 3434) +++ php_imap.c (working copy) @@ -105,6 +105,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_imap_open, 0, 0, 3) ZEND_ARG_INFO(0, mailbox) ZEND_ARG_INFO(0, user) ZEND_ARG_INFO(0, password) ZEND_ARG_INFO(0, options) ZEND_ARG_INFO(0, n_retries) + ZEND_ARG_INFO(0, params) ZEND_END_ARG_INFO() This should allow for a max of 6 arguments instead of just 5. ------------------------------------------------------------------------ [2009-10-27 11:24:31] paj...@php.net It sounds like the patch was not applied then. It clearly takes 3 or 6 parameters: + if (zend_parse_parameters(argc TSRMLS_CC, "sss|lla", &mailbox, &mailbox_len, &user, &user_len, + &passwd, &passwd_len, &flags, &retries, ¶ms) == FAILURE) { Can you verify that the patch was actually applied? ------------------------------------------------------------------------ [2009-10-27 11:19:12] b dot parnell at abertay dot ac dot uk I have tried the patch and keep getting the error: Warning: Wrong parameter count for imap_open() I am using Ubuntu 9.04 and am compiling against the php 5.3.0 source with the associated patch applied and with the ./configure --with-imap --with-kerberos --with-imap-ssl initial command, make clean;make all;make install is the next commands I execute. I have also tried the source 5.3.1RC2 and this gives the error: Warning: imap_open() expects at most 5 parameters, 6 given If someone has managed to get this to work please provide a copy of the binaries until the release is rolled out to apt. Am I missing something here? Best Regards, Bill ------------------------------------------------------------------------ [2009-10-05 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/33500 -- Edit this bug report at http://bugs.php.net/?id=33500&edit=1