Bug #78158 [NEW]: imap_open does not respect OP_DEBUG or /debug

From: Date: Thu, 13 Jun 2019 14:38:02 +0000
Subject: Bug #78158 [NEW]: imap_open does not respect OP_DEBUG or /debug
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221290@lists.php.net to get a copy of this message
From: marco Operating system: OS X 10.14 PHP version: 7.3.6 Package: IMAP related Bug Type: Bug Bug description:imap_open does not respect OP_DEBUG or /debug Description: ------------ When calling imap_open with either OP_DEBUG as flag or by specifying /debug in the mailbox string, there is no debug output. This is especially bad when trying to troubleshoot situations like Exchange servers accessed over SSL as the connection cannot be monitored by Wireshark or other monitors without significant effort. Test script: --------------- <?php $handle=imap_open('{imap.example.net:993/imap/ssl/novalidate-cert/debug}INBOX','user','pass'); Expected result: ---------------- Expecting on stdout (or in a callback) the communication to/from the IMAP server. Actual result: -------------- Only the error message (e.g. "AUTHENTICATE failed") is visible via imap_error. -- Edit bug report at https://bugs.php.net/bug.php?id=78158&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=78158&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=78158&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=78158&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=78158&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78158&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78158&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78158&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78158&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78158&r=support Expected behavior: https://bugs.php.net/fix.php?id=78158&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78158&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78158&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78158&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=78158&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=78158&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78158&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78158&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78158&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78158&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78158&r=mysqlcfg

« previous php.bugs (#221290) next »