From: olivier at oxeva dot fr Operating system: linux PHP version: 5.3SVN-2009-10-16 (snap) PHP Bug Type: IMAP related Bug description: changing IMAP_CLOSETIMEOUT through imap_timeout() is not implemented
Description: ------------ It seems changing IMAP_CLOSETIMEOUT through imap_timeout() function is not implemented. Also, the returned value seems arbitrary (when using imap_timeout with one argument). If this usage is not implemented, documentation should be updated. Reproduce code: --------------- <?php var_dump(imap_timeout(IMAP_CLOSETIMEOUT)); var_dump(imap_timeout(IMAP_WRITETIMEOUT, 10)); var_dump(imap_timeout(IMAP_CLOSETIMEOUT)); Expected result: ---------------- int(%d) bool(true) int(10) Actual result: -------------- int(%d) bool(true) //as you can see, function tells that update was successfull int(0) // ... but value has not been updated -- Edit bug report at http://bugs.php.net/?id=49901&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49901&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49901&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49901&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49901&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49901&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49901&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49901&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49901&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49901&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49901&r=support Expected behavior: http://bugs.php.net/fix.php?id=49901&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49901&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49901&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49901&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49901&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49901&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49901&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49901&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49901&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49901&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49901&r=mysqlcfg
