<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[PHP Notice: Undefined property...]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Tue, 27 Jun 2017 14:40:11 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	<textarea name="code" class="php" rows="15" cols="100">
$this-&gt;webSocketServer-&gt;on(&#039;request&#039;, function (swoole_http_request $request, $response) &#123;
    if(property_exists($request,&#039;get&#039;))&#123;
        $getArr = $request-&gt;get;
        if(isset($getArr[&#039;ticket&#039;])&amp;&amp;(&quot;VXheQgMQkPb3u9kwrFBYblI&quot; == $getArr[&#039;ticket&#039;]))&#123;
            if(&quot;NULL&quot; == $getArr[&#039;ips&#039;])&#123;//加入是空的IP列表，说明一个连接也没有，所有的连接都置位空Array。
                webSocketServer::$swoole_client_arr = array();
            &#125;elseif (true === $this-&gt;isIpCheck($getArr[&#039;ips&#039;]))&#123;//一个IP地址的情况
                $this-&gt;createOneClient($getArr[&#039;ips&#039;],7399);//新建一个Client连接句柄
            &#125;else&#123;//多个IP地址的情况
                $ipArr = explode(&quot;&#124;&quot;,$getArr[&#039;ips&#039;]);
                foreach ($ipArr as $ip)&#123;
                    $this-&gt;createOneClient($ip,7399);//新建一个Client连接句柄
                &#125;
            &#125;
            $body = &quot;设置IP值成功！&#92;n&quot;.var_export(webSocketServer::$swoole_client_arr,true);
            $response-&gt;end($body);
            return;
        &#125;
&#125;
$body = &quot;&lt;script language=&#039;JavaScript&#039;&gt;

</textarea><br/><br/>maybe this<br/><br/>$parts = isset($structure-&gt;parts) ? $structure-&gt;parts : false ;<br/><br/>From:http://stackoverflow.com/questions/10143172/notice-undefined-property-how-do-i-avoid-that-message-in-php/10143274
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] PHP Notice: Undefined property...]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>