> The ext/imap extension isn't going to disappear, it is not going be 
> unbundled as we can not guarantee the underlaying library is
> maintained. Not only is it no longer maintained, the original
> purveyors have removed any mention of it from their website.
> 
> For most people, there will be little change here. On Debian for 
> example, "php-<packagename>" is used for both bundled and PECL'ed 
> extensions.

OK then :)

> Using Curl seems like a bad alternative, as it would likely have to
> open a connection for each action that you do.

No, curl is clever and keeping the connection open as long as you don't
use curl_close.

This is clearly visible when enabling verbose mode:

…
< A004 OK Fetch completed (0.001 + 0.000 secs).
* Connection #0 to host localhost left intact
* Found bundle for host localhost: 0x55d0b5c60f50 [serially]
* Re-using existing connection! (#0) with host localhost
* Connected to localhost (127.0.0.1) port 143 (#0)
> A005 FETCH 1:* FULL
…

In my experience, using curl is much faster than using ext/imap :)

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to