<?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; 比較演算子</title>
	<atom:link href="https://www.s-oj.com/category/faty/operators-comparison/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.s-oj.com</link>
	<description>楽天、ヤフー、amazon等 多モール展開の最強ツール</description>
	<lastBuildDate>Tue, 03 Mar 2026 11:25:12 +0000</lastBuildDate>
	<language>ja</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8.14</generator>
	<item>
		<title>比較演算子</title>
		<link>https://www.s-oj.com/faty/%e6%af%94%e8%bc%83%e6%bc%94%e7%ae%97%e5%ad%90/</link>
		<comments>https://www.s-oj.com/faty/%e6%af%94%e8%bc%83%e6%bc%94%e7%ae%97%e5%ad%90/#comments</comments>
		<pubDate>Thu, 03 Jul 2014 04:34:07 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[比較演算子]]></category>
		<category><![CDATA[言語リファレンス]]></category>

		<guid isPermaLink="false">https://www.s-oj.com/?p=3889</guid>
		<description><![CDATA[比較演算子 比較演算子は、その名前が示すように、二つの値を比較します。 比較演算子一覧 比較演算子の一覧は以下 [&#8230;]]]></description>
				<content:encoded><![CDATA[<!-- _CONTENTS_ST_ --><div class="hatena">
<h3 id="hs_8f501f653093a328aa3319c602b13938_header_0">比較演算子</h3>
<p>比較演算子は、その名前が示すように、二つの値を比較します。</p>


<h3 id="hs_8f501f653093a328aa3319c602b13938_header_1">比較演算子一覧</h3>
<p>比較演算子の一覧は以下のとおりです。</p>


<table>
<tr>
<th>例 </th>
<th>名前 </th>
<th>結果</th>
</tr>
<tr>
<td>$a == $b </td>
<td>等しい </td>
<td>$a が $b に等しい時に TRUE</td>
</tr>
<tr>
<td>$a != $b </td>
<td>等しくない </td>
<td>$a が $b に等しくない場合に TRUE</td>
</tr>
<tr>
<td>$a < $b </td>
<td>より少ない </td>
<td>$a が $b より少ない時に TRUE</td>
</tr>
<tr>
<td>$a > $b </td>
<td>より多い </td>
<td>$a が $b より多い時に TRUE</td>
</tr>
<tr>
<td>$a <= $b </td>
<td>より少ないか等しい </td>
<td>$a が $b より少ないか等しい時に TRUE</td>
</tr>
<tr>
<td>$a >= $b </td>
<td>より多いか等しい </td>
<td>$a が $b より多いか等しい時に TRUE</td>
</tr>
<tr>
<td>$a %% $b </td>
<td>割り切れる </td>
<td>$a と $b が割り切れる場合は TRUE<br />（$aと$bは強制的に整数にキャストされる）</td>
</tr>
<tr>
<td>$a @@ $b </td>
<td>文字列が存在する </td>
<td>$aの中に$bという文字列が存在する場合はTRUE</td>
</tr>
<tr>
<td>$a !@ $b </td>
<td>文字列が存在しない </td>
<td>$aの中に$bという文字列が存在しない場合はTRUE</td>
</tr>
</table>
</div><!-- hatena --><!-- _CONTENTS_EN_ -->]]></content:encoded>
			<wfw:commentRss>https://www.s-oj.com/faty/%e6%af%94%e8%bc%83%e6%bc%94%e7%ae%97%e5%ad%90/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
