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

From: Date: Sun, 08 Mar 2015 00:32:35 +0000
Subject: Bug #18774 [Com]: not compatible in strict mode
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-11257@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=18774&edit=1 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 /usr/share/php/Net/SmartIRC.php). 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 <div id="changeset"> <span class="removed">-Status: Open</span> <span class="added">+Status: Closed</span> <span class="removed">-Assigned To:</span> <span class="added">+Assigned To: doconnor</span> </div>This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net 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: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-Net_SmartIRC/strict.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 http://pear.php.net/bugs/bug.php?id=18774&edit=1

« previous php.pear.bugs (#11257) next »