#33161 [NEW]: socket_create_pair : example problem

From: Date: Fri, 27 May 2005 07:52:07 +0000
Subject: #33161 [NEW]: socket_create_pair : example problem
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969368342@lists.php.net to get a copy of this message
From: admin at ff dot st Operating system: Irrevelant PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: socket_create_pair : example problem Description: ------------ On the socket_create_pair page (English & French page, probably also on other languages), the example 1 seems wrong: http://fr2.php.net/manual/en/function.socket-create-pair.php This part: $uniqid = uniqid(''); if (file_exists("/tmp/$uniqid.sock")) { die('Temporary socket already exists.'); } Should probably not be there: $uniqid is not used, and the socket_pair is not file-based. -- Edit bug report at http://bugs.php.net/?id=33161&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33161&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33161&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33161&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33161&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33161&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33161&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33161&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33161&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33161&r=support Expected behavior: http://bugs.php.net/fix.php?id=33161&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33161&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33161&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33161&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33161&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33161&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33161&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33161&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33161&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33161&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33161&r=mysqlcfg

« previous php.doc (#969368342) next »