note 91608 deleted from function.fsockopen by danbrown
| From: | danbrown@php.net | Date: | Fri, 19 Jun 2009 12:15:12 +0000 |
| Subject: | note 91608 deleted from function.fsockopen by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-157124@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
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