<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>php関数とあるWEBクリエイターのblog</title>
		<link>http://www.kazumanishihata.com/technology/php-function/</link>
		<description>WEBクリエイター西畑一馬のライフログ。
真剣なブログはこっち(to-R)</description>
		<language>ja</language>
		<copyright>Copyright 2008</copyright>
		<lastBuildDate>Tue, 05 Jun 2007 12:31:11 +0900</lastBuildDate>
		<docs>http://www.rssboard.org/rss-specification</docs>
		
		<item>
			<title>mb_ereg_replace</title>
			<description><![CDATA[<p>全角スペースを半角スペースに返還する処理で『str_replace』や『preg_replace』を使うと一部の文字列で文字化けが起こる。(このときの文字コードはEUC)</p>]]><![CDATA[<p>どうしようかなと考えてたら、mb_ereg_replaceを使ったら大丈夫でした。</p>

<pre>$search_word = mb_ereg_replace("　"," ",$search_word);</pre>

<p>mb関数は普段あんま使わないけど必要ですね。</p>]]></description>
			<link>http://www.kazumanishihata.com/technology/php-function/52.html</link>
			<guid>http://www.kazumanishihata.com/technology/php-function/52.html</guid>
			<pubDate>Tue, 05 Jun 2007 12:31:11 +0900</pubDate>
		</item>
		
		<item>
			<title>preg_replace_callback</title>
			<description><![CDATA[<p>正規表現検索を行い、コールバック関数を使用して置換を行う</p>]]></description>
			<link>http://www.kazumanishihata.com/technology/php-function/40.html</link>
			<guid>http://www.kazumanishihata.com/technology/php-function/40.html</guid>
			<pubDate>Mon, 16 Apr 2007 10:47:11 +0900</pubDate>
		</item>
		
		<item>
			<title>出力バッファの制御</title>
			<description><![CDATA[<p>ob_start(); //出力バッファを有効にする</p>

<p>$length = ob_get_length(); //出力バッファのサイズを取得</p>

<p>$contents = ob_get_contents();//出力バッファを取得</p>

<p>ob_end_flush(); //出力バッファの内容を出力してバッファを無効にする</p>

<p>ob_end_clean(); //出力バッファの内容を削除</p>]]></description>
			<link>http://www.kazumanishihata.com/technology/php-function/39.html</link>
			<guid>http://www.kazumanishihata.com/technology/php-function/39.html</guid>
			<pubDate>Mon, 19 Feb 2007 17:33:46 +0900</pubDate>
		</item>
		
		<item>
			<title>マルチバイトの文字を丸める</title>
			<description><![CDATA[<p>mb_substr ( string str, int start [, int length [, string encoding]] )</p>

<p>で日本語の特定の位置の内容を取得できる</p>

<p>mb_strimwidth ( string str, int start, int width [, string trimmarker [, string encoding]] )</p>

<p>で指定した長さで丸める(zzzzzzzzzzz..みたいな感じ)事ができる</p>]]></description>
			<link>http://www.kazumanishihata.com/technology/php-function/30.html</link>
			<guid>http://www.kazumanishihata.com/technology/php-function/30.html</guid>
			<pubDate>Tue, 20 Jun 2006 10:42:10 +0900</pubDate>
		</item>
		
	</channel>
</rss>