<?xml version="1.0" encoding="UTF-8" ?><rdf:RDF 
  xmlns="http://purl.org/rss/1.0/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xml:lang="ja">
  <channel rdf:about="http://w.atwiki.jp/compatible/">
    <title>プログラミングの互換性のあるリファレンス</title>
    <link>http://w.atwiki.jp/compatible/</link>
    <atom:link href="https://w.atwiki.jp/compatible/rss10.xml" rel="self" type="application/rss+xml" />
    <atom:link rel="hub" href="https://pubsubhubbub.appspot.com" />
    <description>プログラミングの互換性のあるリファレンス</description>

    <dc:language>ja</dc:language>
    <dc:date>2011-02-13T12:05:14+09:00</dc:date>
    <utime>1297566314</utime>

    <items>
      <rdf:Seq>
                <rdf:li rdf:resource="https://w.atwiki.jp/compatible/pages/30.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/compatible/pages/29.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/compatible/pages/28.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/compatible/pages/27.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/compatible/pages/26.html" />
              </rdf:Seq>
    </items>
	
		
    
  </channel>
    <item rdf:about="https://w.atwiki.jp/compatible/pages/30.html">
    <title>データ送信（GET・POST）</title>
    <link>https://w.atwiki.jp/compatible/pages/30.html</link>
    <description>
      <![CDATA[<!--@@@@@--><h3 id="id_27ab71dc">PHP</h3>
<div class="plugin_highlight"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$url</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://localhost/search.php'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span>
	<span style="color: #0000ff;">'q1'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'text1'</span><span style="color: #339933;">,</span>
	<span style="color: #0000ff;">'q2'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'text2'</span><span style="color: #339933;">,</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$options</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'http'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span>
	<span style="color: #0000ff;">'method'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'POST'</span><span style="color: #339933;">,</span>
	<span style="color: #0000ff;">'content'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/http_build_query"><span style="color: #990000;">http_build_query</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$contents</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/file_get_contents"><span style="color: #990000;">file_get_contents</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$url</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">,</span> <a href="http://www.php.net/stream_context_create"><span style="color: #990000;">stream_context_create</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$options</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;</pre></div>]]>    </description>
    <dc:date>2011-02-13T12:05:14+09:00</dc:date>
    <utime>1297566314</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/compatible/pages/29.html">
    <title>配列の要素数</title>
    <link>https://w.atwiki.jp/compatible/pages/29.html</link>
    <description>
      <![CDATA[<!--@@@@@--><h3 id="id_51c10b76">Java</h3>
<div class="plugin_highlight"><pre class="java" style="font-family:monospace;"><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+system"><span style="color: #003399;">System</span></a>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>myArray.<span style="color: #006633;">length</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;</pre></div>
<br />
<h3 id="id_bf88aadf">JavaScript</h3>
<div class="plugin_highlight"><pre class="javascript" style="font-family:monospace;">document.<span style="color: #660066;">write</span><span style="color: #009900;">&#40;</span>myArray.<span style="color: #660066;">length</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;</pre></div>
<br />
<h3 id="id_0a9a2673">Python</h3>
<div class="plugin_highlight"><pre class="python" style="font-family:monospace;"><span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #008000;">len</span><span style="color: black;">&#40;</span><span style="color: #008000;">list</span><span style="color: black;">&#41;</span>
&nbsp;</pre></div>
<br />
<h3 id="id_85f23c45">ActiveBasic</h3>
<div class="plugin_highlight"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">Print</span> Len<span style="color: #009900;">&#40;</span>myArray<span style="color: #009900;">&#41;</span>
&nbsp;</pre></div>]]>    </description>
    <dc:date>2010-05-09T09:24:30+09:00</dc:date>
    <utime>1273364670</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/compatible/pages/28.html">
    <title>多倍長演算</title>
    <link>https://w.atwiki.jp/compatible/pages/28.html</link>
    <description>
      <![CDATA[<!--@@@@@--><h3 id="id_51c10b76">Java</h3>
<div class="plugin_highlight"><pre class="java" style="font-family:monospace;"><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+biginteger"><span style="color: #003399;">BigInteger</span></a> a <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+biginteger"><span style="color: #003399;">BigInteger</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;1234567890&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+biginteger"><span style="color: #003399;">BigInteger</span></a> b <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+biginteger"><span style="color: #003399;">BigInteger</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;9876543210&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+system"><span style="color: #003399;">System</span></a>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;a + b = &quot;</span> <span style="color: #339933;">+</span> a.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span>b<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+system"><span style="color: #003399;">System</span></a>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;a - b = &quot;</span> <span style="color: #339933;">+</span> a.<span style="color: #006633;">subtract</span><span style="color: #009900;">&#40;</span>b<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+system"><span style="color: #003399;">System</span></a>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;a * b = &quot;</span> <span style="color: #339933;">+</span> a.<span style="color: #006633;">multiply</span><span style="color: #009900;">&#40;</span>b<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+system"><span style="color: #003399;">System</span></a>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;a / b = &quot;</span> <span style="color: #339933;">+</span> a.<span style="color: #006633;">divide</span><span style="color: #009900;">&#40;</span>b<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;</pre></div>]]>    </description>
    <dc:date>2010-05-09T04:57:02+09:00</dc:date>
    <utime>1273348622</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/compatible/pages/27.html">
    <title>データ受信（GET・POST）</title>
    <link>https://w.atwiki.jp/compatible/pages/27.html</link>
    <description>
      <![CDATA[<!--@@@@@--><h3 id="id_27ab71dc">PHP</h3>
<div class="plugin_highlight"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$q</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'q'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;</pre></div>
<div class="plugin_highlight"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$q</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'q'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;</pre></div>
<h3 id="id_efc8f3ec">JSP</h3>
<div class="plugin_highlight"><pre class="java" style="font-family:monospace;"><span style="color: #339933;">&lt;%=</span> request.<span style="color: #006633;">getParameter</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;q&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">%&gt;</span>
&nbsp;</pre></div>]]>    </description>
    <dc:date>2010-05-06T03:21:51+09:00</dc:date>
    <utime>1273083711</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/compatible/pages/26.html">
    <title>Foreach文</title>
    <link>https://w.atwiki.jp/compatible/pages/26.html</link>
    <description>
      <![CDATA[<!--@@@@@--><h3 id="id_27ab71dc">PHP</h3>
<div class="plugin_highlight"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$arr</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Value: <span style="color: #006699; font-weight: bold;">$value</span>&lt;br /&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;</pre></div>
<div class="plugin_highlight"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$arr</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$key</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Key: <span style="color: #006699; font-weight: bold;">$key</span>; Value: <span style="color: #006699; font-weight: bold;">$value</span>&lt;br /&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;</pre></div>
<br />
<h3 id="id_51c10b76">Java</h3>
<div class="plugin_highlight"><pre class="java" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">void</span> printListItem<span style="color: #009900;">&#40;</span>List<span style="color: #339933;">&lt;</span>String<span style="color: #339933;">&gt;</span> list<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+string"><span style="color: #003399;">String</span></a> item <span style="color: #339933;">:</span> list<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+system"><span style="color: #003399;">System</span></a>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>item<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;</pre></div>]]>    </description>
    <dc:date>2010-05-05T13:53:34+09:00</dc:date>
    <utime>1273035214</utime>
  </item>
  </rdf:RDF>
