ID:               43070
 Updated by:       [EMAIL PROTECTED]
 Reported By:      manirus at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Sockets related
 Operating System: suse 10.1
 PHP Version:      5.2.4
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php




Previous Comments:
------------------------------------------------------------------------

[2007-10-22 18:27:52] manirus at gmail dot com

Description:
------------
In strict error reporting mode, this following sample code produces
warnings:

Strict Standards: Only variables should be passed by reference...
PHP Strict Standards:  Only variables should be passed by reference...

As you can imagine calling select a few thousand times can generate
some unwanted results :)

Reproduce code:
---------------
<?php
  $sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
  socket_select(array($sock),$w=NULL,$e=NULL,0);
?>

Expected result:
----------------
No warnings emitted.

Actual result:
--------------
Strict Standards: Only variables should be passed by reference...
PHP Strict Standards:  Only variables should be passed by reference...


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43070&edit=1

Reply via email to