From: profic at kursknet dot ru Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: stream_socket_recvfrom() docs don't mention about it's buffer bypassing
Description: ------------ Calls to stream_socket_recvfrom() on socket-based streams, after calls to buffer-based stream funcions (like fread(), steam_get_line()) may lead to unexpected (to user) results as it is bypass stream buffer. Thus is seems to be a good idea to have warning/note in documentation of stream_socket_recvfrom() about this. Elsewise it can be runtime notice in case of use stream_socket_recvfrom() on stream with non-empty buffer. -- Edit bug report at http://bugs.php.net/?id=35449&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35449&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35449&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35449&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=35449&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35449&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35449&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35449&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35449&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35449&r=support Expected behavior: http://bugs.php.net/fix.php?id=35449&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35449&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35449&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35449&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35449&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35449&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35449&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35449&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35449&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35449&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35449&r=mysqlcfg
