<?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>システム開発とシステムコンサルティングのミリオンウェーブズ &#187; PHP</title>
	<atom:link href="http://www.millionwaves.com/tag/php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.millionwaves.com</link>
	<description>システムコンサルティング、システム開発、Web制作、トラブルサポート</description>
	<lastBuildDate>Mon, 26 Jul 2010 15:05:00 +0000</lastBuildDate>
	
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHPで文字列を整数に変換する。</title>
		<link>http://www.millionwaves.com/development/php/basic-php/63</link>
		<comments>http://www.millionwaves.com/development/php/basic-php/63#comments</comments>
		<pubDate>Sat, 29 Dec 2007 01:18:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHPの基本]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.millionwaves.com/php/basic/63</guid>
		<description><![CDATA[PHPで文字列を整数に変換するにはintvalを使います。

$str=&#8221;10&#8243;;
var_dump(intval($str));

または、キャストします。

$str=&#8221;10&#8 [...]]]></description>
			<content:encoded><![CDATA[PHPで文字列を整数に変換するにはintvalを使います。<br />
<br />
$str=&#8221;10&#8243;;<br />
var_dump(intval($str));<br />
<br />
または、キャストします。<br />
<br />
$str=&#8221;10&#8243;;<br />
var_dump((int)$str);<br />
<br />
この結果は、<br />
<br />
int(10)<br />
<br />
<br />
です。<h3 class="related_post_title mtb15">関連するお話</h3><ul class="related_post"><li><a href="http://www.millionwaves.com/development/php/basic-php/62" title="PHPの定数の定義" class="mw_related_posts">PHPの定数の定義</a><div style="margin-bottom:15px;" class="clearfix">　PHPで「COMPANY」というの定数を"Millionwaves"と定義する場合、define(COMPANY,"Millionwaves");です。define(COMPANY,"Millionwaves",TRUE);と第３引数をTRUEに設定した場合、companyと小文字でも可能なように、大文字と小文字の区別をしなくなります…</div></li><li><a href="http://www.millionwaves.com/development/php/basic-php/61" title="PHPの定義済みの定数" class="mw_related_posts">PHPの定義済みの定数</a><div style="margin-bottom:15px;" class="clearfix">　__FILE__…実行しているファイルのフルパスとファイル名。__LINE__…実行しているファイルの現在の行番号。…</div></li><li><a href="http://www.millionwaves.com/development/php/basic-php/37" title="PHPでは変数の前に「$」を付ける。" class="mw_related_posts">PHPでは変数の前に「$」を付ける。</a><div style="margin-bottom:15px;" class="clearfix">　　PHPの基本です。　変数にはアルファベット、数字、"_"（アンダースコア）が使用できますが、変数名を数字から始める事はできません。　変数型には整数型、倍精度型、文字列型、オブジェクト型、配列型、真偽型が使用…</div></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.millionwaves.com/development/php/basic-php/63/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHPの定数の定義</title>
		<link>http://www.millionwaves.com/development/php/basic-php/62</link>
		<comments>http://www.millionwaves.com/development/php/basic-php/62#comments</comments>
		<pubDate>Sat, 29 Dec 2007 01:09:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHPの基本]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.millionwaves.com/php/basic/62</guid>
		<description><![CDATA[PHPで「COMPANY」というの定数を&#8221;Millionwaves&#8221;と定義する場合、

define(COMPANY,&#8221;Millionwaves&#8221;);

です。

defi [...]]]></description>
			<content:encoded><![CDATA[PHPで「COMPANY」というの定数を&#8221;Millionwaves&#8221;と定義する場合、<br />
<br />
define(COMPANY,&#8221;Millionwaves&#8221;);<br />
<br />
です。<br />
<br />
define(COMPANY,&#8221;Millionwaves&#8221;,TRUE);<br />
<br />
と第３引数をTRUEに設定した場合、companyと小文字でも可能なように、<br />
大文字と小文字の区別をしなくなります。<h3 class="related_post_title mtb15">関連するお話</h3><ul class="related_post"><li><a href="http://www.millionwaves.com/development/php/basic-php/63" title="PHPで文字列を整数に変換する。" class="mw_related_posts">PHPで文字列を整数に変換する。</a><div style="margin-bottom:15px;" class="clearfix">　PHPで文字列を整数に変換するにはintvalを使います。$str="10";var_dump(intval($str));または、キャストします。$str="10";var_dump((int)$str);この結果は、です。…</div></li><li><a href="http://www.millionwaves.com/development/php/basic-php/61" title="PHPの定義済みの定数" class="mw_related_posts">PHPの定義済みの定数</a><div style="margin-bottom:15px;" class="clearfix">　__FILE__…実行しているファイルのフルパスとファイル名。__LINE__…実行しているファイルの現在の行番号。…</div></li><li><a href="http://www.millionwaves.com/development/php/basic-php/37" title="PHPでは変数の前に「$」を付ける。" class="mw_related_posts">PHPでは変数の前に「$」を付ける。</a><div style="margin-bottom:15px;" class="clearfix">　　PHPの基本です。　変数にはアルファベット、数字、"_"（アンダースコア）が使用できますが、変数名を数字から始める事はできません。　変数型には整数型、倍精度型、文字列型、オブジェクト型、配列型、真偽型が使用…</div></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.millionwaves.com/development/php/basic-php/62/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHPの定義済みの定数</title>
		<link>http://www.millionwaves.com/development/php/basic-php/61</link>
		<comments>http://www.millionwaves.com/development/php/basic-php/61#comments</comments>
		<pubDate>Sat, 29 Dec 2007 01:04:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHPの基本]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.millionwaves.com/php/basic/61</guid>
		<description><![CDATA[__FILE__…実行しているファイルのフルパスとファイル名。
__LINE__…実行しているファイルの現在の行番号。

関連するお話PHPで文字列を整数に変換する。　PHPで文字列を整数に変換するにはintvalを使い [...]]]></description>
			<content:encoded><![CDATA[__FILE__…実行しているファイルのフルパスとファイル名。<br />
__LINE__…実行しているファイルの現在の行番号。<br />
<br />
<h3 class="related_post_title mtb15">関連するお話</h3><ul class="related_post"><li><a href="http://www.millionwaves.com/development/php/basic-php/63" title="PHPで文字列を整数に変換する。" class="mw_related_posts">PHPで文字列を整数に変換する。</a><div style="margin-bottom:15px;" class="clearfix">　PHPで文字列を整数に変換するにはintvalを使います。$str="10";var_dump(intval($str));または、キャストします。$str="10";var_dump((int)$str);この結果は、です。…</div></li><li><a href="http://www.millionwaves.com/development/php/basic-php/62" title="PHPの定数の定義" class="mw_related_posts">PHPの定数の定義</a><div style="margin-bottom:15px;" class="clearfix">　PHPで「COMPANY」というの定数を"Millionwaves"と定義する場合、define(COMPANY,"Millionwaves");です。define(COMPANY,"Millionwaves",TRUE);と第３引数をTRUEに設定した場合、companyと小文字でも可能なように、大文字と小文字の区別をしなくなります…</div></li><li><a href="http://www.millionwaves.com/development/php/basic-php/37" title="PHPでは変数の前に「$」を付ける。" class="mw_related_posts">PHPでは変数の前に「$」を付ける。</a><div style="margin-bottom:15px;" class="clearfix">　　PHPの基本です。　変数にはアルファベット、数字、"_"（アンダースコア）が使用できますが、変数名を数字から始める事はできません。　変数型には整数型、倍精度型、文字列型、オブジェクト型、配列型、真偽型が使用…</div></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.millionwaves.com/development/php/basic-php/61/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHPでは変数の前に「$」を付ける。</title>
		<link>http://www.millionwaves.com/development/php/basic-php/37</link>
		<comments>http://www.millionwaves.com/development/php/basic-php/37#comments</comments>
		<pubDate>Fri, 17 Sep 2004 07:14:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHPの基本]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.millionwaves.com/archives/37</guid>
		<description><![CDATA[　PHPの基本です。

　変数にはアルファベット、数字、&#8220;_&#8221;（アンダースコア）が使用できますが、変数名を数字から始める事はできません。

　変数型には整数型、倍精度型、文字列型、オブジェクト型、 [...]]]></description>
			<content:encoded><![CDATA[　PHPの基本です。<br />
<br />
　変数には<strong>アルファベット</strong>、<strong>数字</strong>、<strong>&#8220;_&#8221;（アンダースコア）</strong>が使用できますが、<strong>変数名を数字から始める事はできません</strong>。<br />
<br />
　変数型には整数型、倍精度型、文字列型、オブジェクト型、配列型、真偽型が使用できます。<h3 class="related_post_title mtb15">関連するお話</h3><ul class="related_post"><li><a href="http://www.millionwaves.com/development/php/basic-php/63" title="PHPで文字列を整数に変換する。" class="mw_related_posts">PHPで文字列を整数に変換する。</a><div style="margin-bottom:15px;" class="clearfix">　PHPで文字列を整数に変換するにはintvalを使います。$str="10";var_dump(intval($str));または、キャストします。$str="10";var_dump((int)$str);この結果は、です。…</div></li><li><a href="http://www.millionwaves.com/development/php/basic-php/62" title="PHPの定数の定義" class="mw_related_posts">PHPの定数の定義</a><div style="margin-bottom:15px;" class="clearfix">　PHPで「COMPANY」というの定数を"Millionwaves"と定義する場合、define(COMPANY,"Millionwaves");です。define(COMPANY,"Millionwaves",TRUE);と第３引数をTRUEに設定した場合、companyと小文字でも可能なように、大文字と小文字の区別をしなくなります…</div></li><li><a href="http://www.millionwaves.com/development/php/basic-php/61" title="PHPの定義済みの定数" class="mw_related_posts">PHPの定義済みの定数</a><div style="margin-bottom:15px;" class="clearfix">　__FILE__…実行しているファイルのフルパスとファイル名。__LINE__…実行しているファイルの現在の行番号。…</div></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.millionwaves.com/development/php/basic-php/37/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
