Maison >développement back-end >tutoriel php > $out = ""然后再$out .= 与直接 $out=啥的 有什么区别 上面有例子
$out = ""然后再$out .= 与直接 $out=啥的 有什么区别 下面有例子
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->$fp = @fsockopen($whoisserver, $port, $errno, $errstr, $timeout) or die("Socket Error " . $errno . " - " . $errstr); fputs($fp, $domain . "\r\n"); $out = ""; while (!feof($fp)){$out .= fgets($fp);} fclose($fp);
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->$out = ""; while (!feof($fp)){$out .= fgets($fp);}
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> while (!feof($fp)){$out= fgets($fp);}