ID: 33161 Updated by: [EMAIL PROTECTED] Reported By: admin at ff dot st -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Irrevelant PHP Version: Irrelevant New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2005-05-27 09:52:06] admin at ff dot st 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 this bug report at http://bugs.php.net/?id=33161&edit=1