<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>simple_html_dom &#8211; トモデジ  tomodigi.com</title>
	<atom:link href="https://tomodigi.com/tag/simple_html_dom/feed/" rel="self" type="application/rss+xml" />
	<link>https://tomodigi.com</link>
	<description>デジタルもアナログも</description>
	<lastBuildDate>Sun, 25 Sep 2011 06:04:29 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>simple_html_domのメモリリーク (PHP)</title>
		<link>https://tomodigi.com/web/simple_html_dom%e3%81%ae%e3%83%a1%e3%83%a2%e3%83%aa%e3%83%aa%e3%83%bc%e3%82%af/</link>
					<comments>https://tomodigi.com/web/simple_html_dom%e3%81%ae%e3%83%a1%e3%83%a2%e3%83%aa%e3%83%aa%e3%83%bc%e3%82%af/#respond</comments>
		
		<dc:creator><![CDATA[Tomo]]></dc:creator>
		<pubDate>Fri, 01 Jul 2011 16:53:18 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[simple_html_dom]]></category>
		<category><![CDATA[バグ]]></category>
		<category><![CDATA[メモリリーク]]></category>
		<guid isPermaLink="false">http://www.tomodigi.com/?p=47</guid>

					<description><![CDATA[htmlのパースに便利なsimple_html_domはメモリリークのバグがある模様です。 適宜開放することが望ましいと思います。このサイトからの引用を下記に掲載します。 //対策版 $dom = new simple_ &#8230; <a href="https://tomodigi.com/web/simple_html_dom%e3%81%ae%e3%83%a1%e3%83%a2%e3%83%aa%e3%83%aa%e3%83%bc%e3%82%af/" class="more-link">続きを読む <span class="screen-reader-text">simple_html_domのメモリリーク (PHP)</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>htmlのパースに便利なsimple_html_domはメモリリークのバグがある模様です。<br />
適宜開放することが望ましいと思います。<a title="遠い目日記" href="http://d.hatena.ne.jp/faibou/" target="_blank">この</a>サイトからの引用を下記に掲載します。</p>
<pre>
//対策版
$dom = new simple_html_dom;
$dom-&gt;load($strBuffer, true);
さまざまなDOM処理・・・
//使い終わったらclear
$dom-&gt;clear();
</pre>
<p>上記のようにインスタンスを作って処理後に明示的に開放することで対応します。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tomodigi.com/web/simple_html_dom%e3%81%ae%e3%83%a1%e3%83%a2%e3%83%aa%e3%83%aa%e3%83%bc%e3%82%af/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
