From: ("markcarver")
Date:  08 Mar 2015 08:32:35 Hong Kong Time

[PEAR-BUG] Bug #18774 [Com]: not compatible in strict mode

NNTP-Posting-Host:  null

Edit report at

 ID:              18774
 Comment by:      markcarver
 Reported By:     mark dot carver at me dot com
 Summary:         not compatible in strict mode
 Status:          Closed
 Type:            Bug
 Package:         Net_SmartIRC
 Package Version: 1.0.2
 PHP Version:     Irrelevant
 Assigned To:     doconnor
 New Comment:

It appears the "report a bug" just redirects to itself, so I'm posting
here since it's related.

I'm constantly getting the following error which ultimately causes the
connection to drop after the memory is exhausted:

Strict warning: Only variables should be passed by reference in
Net_SmartIRC->listenOnce() (line 1659 of

Has to do with the following code:

        // check the socket to see if data is waiting for us
        // this will trigger a warning when a signal is received
        $result = stream_select($r = array($this->_socket), $w = null,
$e = null,
            0, $selecttimeout

Previous Comments:

[2011-09-02 00:07:18] doconnor

-Status: Open +Status: Closed -Assigned To: +Assigned To: doconnor
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. I fixed this in SVN before I realised it wasn't marked as unmaintained. Will organise a QA release sooner or later; but I suppose I had better let the maintainers have a shot! ------------------------------------------------------------------------ [2011-09-01 22:11:56] glen proposed patch: ------------------------------------------------------------------------ [2011-09-01 22:10:34] glen Description: ------------ attaching patch to address this please, make QA release when applied the patch. ------------------------------------------------------------------------ -- Edit this bug report at