#41671 [NEW]: socket_select() and invalid arguments
| From: | darksport at interzet dot ru | Date: | Tue, 12 Jun 2007 12:40:58 +0000 |
| Subject: | #41671 [NEW]: socket_select() and invalid arguments | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-113697@lists.php.net to get a copy of this message | ||
From: darksport at interzet dot ru
Operating system: gentoo linux
PHP version: 4.4.7
PHP Bug Type: Sockets related
Bug description: socket_select() and invalid arguments
Description:
------------
I've wrote an ftp class which provides some major functions from ftp
extension. I couldn't use ftp functions in my scripts because it was
important for me to handle files larger than 2gb and i needed to catch the
protocol debug information on errors.
I have a problem with sendCommand() function, because socket_select()
function returns error: "Warning: socket_select() no resource arrays were
passed to select". When i comment out socket_select() from my function -
everything works as expected.
Reproduce code:
---------------
You can find my class here: http://interzet.ru/ftp.class.php
--
Edit bug report at http://bugs.php.net/?id=41671&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41671&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41671&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41671&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=41671&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=41671&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=41671&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=41671&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=41671&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=41671&r=support
Expected behavior: http://bugs.php.net/fix.php?id=41671&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=41671&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=41671&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=41671&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41671&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=41671&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=41671&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=41671&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=41671&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=41671&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=41671&r=mysqlcfg