note 91608 added to function.fsockopen

From: Date: Fri, 19 Jun 2009 08:42:51 +0000
Subject: note 91608 added to function.fsockopen
Groups: php.notes 
Request: Send a blank email to php-notes+get-157115@lists.php.net to get a copy of this message
Note below reads: $fp = fsockopen($host,$port,$errno,$errstr,$timeout=30); this shall be: $fp = fsockopen($host,$port,$errno,$errstr,30); however $timeout=30 will work I believe this to be not intentional mistake. If it intentional then you simply asking for problems anyway, and will waste hell lot of time debugging in case of problems - as nobody sane expects variable assignment in function argument list, so you may simply overlook this with ease ---- Server IP: 194.24.174.37 Probable Submitter: 83.16.237.74 ---- Manual Page -- http://www.php.net/manual/en/function.fsockopen.php Edit -- https://master.php.net/note/edit/91608 Del: integrated -- https://master.php.net/note/delete/91608/integrated Del: useless -- https://master.php.net/note/delete/91608/useless Del: bad code -- https://master.php.net/note/delete/91608/bad+code Del: spam -- https://master.php.net/note/delete/91608/spam Del: non-english -- https://master.php.net/note/delete/91608/non-english Del: in docs -- https://master.php.net/note/delete/91608/in+docs Del: other reasons-- https://master.php.net/note/delete/91608 Reject -- https://master.php.net/note/reject/91608 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#157115) next »